Searched refs:flgs (Results 1 – 5 of 5) sorted by relevance
576 int i, flgs; in vlan_device_event() local603 flgs = vlandev->flags; in vlan_device_event()604 if (!(flgs & IFF_UP)) in vlan_device_event()607 dev_change_flags(vlandev, flgs & ~IFF_UP); in vlan_device_event()618 flgs = vlandev->flags; in vlan_device_event()619 if (flgs & IFF_UP) in vlan_device_event()622 dev_change_flags(vlandev, flgs | IFF_UP); in vlan_device_event()
715 int flgs = VLAN_DEV_INFO(dev)->real_dev->flags; in vlan_dev_set_mac_address() local721 flgs |= IFF_PROMISC; in vlan_dev_set_mac_address()724 dev_change_flags(VLAN_DEV_INFO(dev)->real_dev, flgs); in vlan_dev_set_mac_address()
365 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail); in hdlcdrv_transmitter() local366 if (flgs < 2) in hdlcdrv_transmitter()367 flgs = 2; in hdlcdrv_transmitter()369 s->hdlctx.numflags = flgs; in hdlcdrv_transmitter()
1995 static int eni_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flgs) in eni_change_qos() argument2007 if ((flgs & ATM_MF_DEC_RSV) && rate && rate < tx->reserved) rsv = 1; in eni_change_qos()2008 if ((flgs & ATM_MF_INC_RSV) && (!rate || rate > tx->reserved)) rsv = 1; in eni_change_qos()2009 if ((flgs & ATM_MF_DEC_SHP) && rate && rate < tx->shaping) shp = 1; in eni_change_qos()2010 if ((flgs & ATM_MF_INC_SHP) && (!rate || rate > tx->shaping)) shp = 1; in eni_change_qos()2014 if (shp && !(flgs & ATM_MF_IMMED)) return 0; in eni_change_qos()
2696 static int hrz_change_qos (struct atm_vcc * atm_vcc, struct atm_qos *qos, int flgs) {