Lines Matching full:operstate
1086 unsigned int old = READ_ONCE(dev->operstate); in netif_set_operstate()
1091 } while (!try_cmpxchg(&dev->operstate, &old, newstate)); in netif_set_operstate()
1099 unsigned char operstate = READ_ONCE(dev->operstate); in set_operstate() local
1103 if ((operstate == IF_OPER_DORMANT || in set_operstate()
1104 operstate == IF_OPER_TESTING || in set_operstate()
1105 operstate == IF_OPER_UNKNOWN) && in set_operstate()
1107 operstate = IF_OPER_UP; in set_operstate()
1112 operstate = IF_OPER_TESTING; in set_operstate()
1117 operstate = IF_OPER_DORMANT; in set_operstate()
1121 netif_set_operstate(dev, operstate); in set_operstate()
2151 netif_running(dev) ? READ_ONCE(dev->operstate) : in rtnl_fill_ifinfo()
5402 u8 operstate = netif_running(dev) ? dev->operstate : IF_OPER_DOWN; in ndo_dflt_bridge_getlink() local
5421 nla_put_u8(skb, IFLA_OPERSTATE, operstate) || in ndo_dflt_bridge_getlink()