Searched refs:take_rtnl (Results 1 – 2 of 2) sorted by relevance
3280 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local3284 if (take_rtnl) in tc_setup_cb_call()3291 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()3293 take_rtnl = true; in tc_setup_cb_call()3300 if (take_rtnl) in tc_setup_cb_call()3316 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local3320 if (take_rtnl) in tc_setup_cb_add()3327 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()3329 take_rtnl = true; in tc_setup_cb_add()3350 if (take_rtnl) in tc_setup_cb_add()[all …]
5688 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local5734 if (take_rtnl) in mlx5e_attach_netdev()5737 if (take_rtnl) in mlx5e_attach_netdev()