Home
last modified time | relevance | path

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

/Linux-v5.15/net/sched/
Dcls_api.c3251 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3255 if (take_rtnl) in tc_setup_cb_call()
3262 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3264 take_rtnl = true; in tc_setup_cb_call()
3271 if (take_rtnl) in tc_setup_cb_call()
3287 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3291 if (take_rtnl) in tc_setup_cb_add()
3298 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3300 take_rtnl = true; in tc_setup_cb_add()
3321 if (take_rtnl) in tc_setup_cb_add()
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c4915 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
4951 if (take_rtnl) in mlx5e_attach_netdev()
4954 if (take_rtnl) in mlx5e_attach_netdev()