Searched refs:take_rtnl (Results 1 – 2 of 2) sorted by relevance
3261 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local3265 if (take_rtnl) in tc_setup_cb_call()3272 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()3274 take_rtnl = true; in tc_setup_cb_call()3281 if (take_rtnl) in tc_setup_cb_call()3297 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local3301 if (take_rtnl) in tc_setup_cb_add()3308 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()3310 take_rtnl = true; in tc_setup_cb_add()3331 if (take_rtnl) in tc_setup_cb_add()[all …]
5363 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local5389 if (take_rtnl) in mlx5e_attach_netdev()5392 if (take_rtnl) in mlx5e_attach_netdev()