Home
last modified time | relevance | path

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

/linux-6.1.9/net/sched/
Dcls_api.c3280 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3284 if (take_rtnl) in tc_setup_cb_call()
3291 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3293 take_rtnl = true; in tc_setup_cb_call()
3300 if (take_rtnl) in tc_setup_cb_call()
3316 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3320 if (take_rtnl) in tc_setup_cb_add()
3327 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3329 take_rtnl = true; in tc_setup_cb_add()
3350 if (take_rtnl) in tc_setup_cb_add()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c5691 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
5737 if (take_rtnl) in mlx5e_attach_netdev()
5740 if (take_rtnl) in mlx5e_attach_netdev()