Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dcls_api.c3648 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call()
3652 if (take_rtnl) in tc_setup_cb_call()
3659 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3661 take_rtnl = true; in tc_setup_cb_call()
3668 if (take_rtnl) in tc_setup_cb_call()
3684 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add()
3688 if (take_rtnl) in tc_setup_cb_add()
3695 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3697 take_rtnl = true; in tc_setup_cb_add()
3718 if (take_rtnl) in tc_setup_cb_add()
3647 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_call() local
3683 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_add() local
3735 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_replace() local
3787 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_main.c6031 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_nic_init() local
6068 if (take_rtnl) in mlx5e_nic_init()
6074 if (take_rtnl) in mlx5e_nic_init()