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.c3617 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3621 if (take_rtnl) in tc_setup_cb_call()
3628 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3630 take_rtnl = true; in tc_setup_cb_call()
3637 if (take_rtnl) in tc_setup_cb_call()
3653 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3657 if (take_rtnl) in tc_setup_cb_add()
3664 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3666 take_rtnl = true; in tc_setup_cb_add()
3687 if (take_rtnl) in tc_setup_cb_add()
3705 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_replace() local
3757 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.c840 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_build_rep_params() local
867 if (take_rtnl) in mlx5e_build_rep_params()
871 if (take_rtnl) in mlx5e_build_rep_params()
H A Den_main.c5916 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_nic_init() local
5953 if (take_rtnl) in mlx5e_nic_init()
5960 if (take_rtnl) in mlx5e_nic_init()