Home
last modified time | relevance | path

Searched refs:take_rtnl (Results 1 – 3 of 3) sorted by relevance

/linux/net/sched/
H A Dcls_api.c3661 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call()
3665 if (take_rtnl) in tc_setup_cb_call()
3672 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) {
3674 take_rtnl = true;
3681 if (take_rtnl) in tc_setup_cb_add()
3697 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add()
3701 if (take_rtnl) in tc_setup_cb_add()
3708 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3710 take_rtnl = true; in tc_setup_cb_add()
3731 if (take_rtnl) in tc_setup_cb_replace()
3648 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_call() local
3684 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_add() local
3736 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_replace() local
3788 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_destroy() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c848 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_build_rep_params() local
875 if (take_rtnl) in mlx5e_build_rep_params()
879 if (take_rtnl) in mlx5e_build_rep_params()
H A Den_main.c6030 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_nic_init() local
6067 if (take_rtnl) in mlx5e_nic_init()
6073 if (take_rtnl) in mlx5e_nic_init()