Searched refs:take_rtnl (Results 1 – 2 of 2) sorted by relevance
3251 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local3255 if (take_rtnl) in tc_setup_cb_call()3262 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()3264 take_rtnl = true; in tc_setup_cb_call()3271 if (take_rtnl) in tc_setup_cb_call()3287 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local3291 if (take_rtnl) in tc_setup_cb_add()3298 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()3300 take_rtnl = true; in tc_setup_cb_add()3321 if (take_rtnl) in tc_setup_cb_add()[all …]
4915 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local4951 if (take_rtnl) in mlx5e_attach_netdev()4954 if (take_rtnl) in mlx5e_attach_netdev()