Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/sched/
Dcls_api.c3274 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3278 if (take_rtnl) in tc_setup_cb_call()
3285 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3287 take_rtnl = true; in tc_setup_cb_call()
3294 if (take_rtnl) in tc_setup_cb_call()
3310 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3314 if (take_rtnl) in tc_setup_cb_add()
3321 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3323 take_rtnl = true; in tc_setup_cb_add()
3344 if (take_rtnl) in tc_setup_cb_add()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c5473 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
5499 if (take_rtnl) in mlx5e_attach_netdev()
5502 if (take_rtnl) in mlx5e_attach_netdev()