Searched refs:take_rtnl (Results 1 – 2 of 2) sorted by relevance
3274 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local3278 if (take_rtnl) in tc_setup_cb_call()3285 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()3287 take_rtnl = true; in tc_setup_cb_call()3294 if (take_rtnl) in tc_setup_cb_call()3310 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local3314 if (take_rtnl) in tc_setup_cb_add()3321 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()3323 take_rtnl = true; in tc_setup_cb_add()3344 if (take_rtnl) in tc_setup_cb_add()[all …]
5473 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local5499 if (take_rtnl) in mlx5e_attach_netdev()5502 if (take_rtnl) in mlx5e_attach_netdev()