Home
last modified time | relevance | path

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

/Linux-v5.10/net/sched/
Dcls_api.c3261 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3265 if (take_rtnl) in tc_setup_cb_call()
3272 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3274 take_rtnl = true; in tc_setup_cb_call()
3281 if (take_rtnl) in tc_setup_cb_call()
3297 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3301 if (take_rtnl) in tc_setup_cb_add()
3308 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3310 take_rtnl = true; in tc_setup_cb_add()
3331 if (take_rtnl) in tc_setup_cb_add()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c5363 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
5389 if (take_rtnl) in mlx5e_attach_netdev()
5392 if (take_rtnl) in mlx5e_attach_netdev()