Home
last modified time | relevance | path

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

/Linux-v6.6/net/sched/
Dcls_api.c3495 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3499 if (take_rtnl) in tc_setup_cb_call()
3506 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3508 take_rtnl = true; in tc_setup_cb_call()
3515 if (take_rtnl) in tc_setup_cb_call()
3531 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3535 if (take_rtnl) in tc_setup_cb_add()
3542 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3544 take_rtnl = true; in tc_setup_cb_add()
3565 if (take_rtnl) in tc_setup_cb_add()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.c772 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_build_rep_params() local
801 if (take_rtnl) in mlx5e_build_rep_params()
805 if (take_rtnl) in mlx5e_build_rep_params()
Den_main.c5269 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_nic_init() local
5302 if (take_rtnl) in mlx5e_nic_init()
5308 if (take_rtnl) in mlx5e_nic_init()
5763 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
5809 if (take_rtnl) in mlx5e_attach_netdev()
5812 if (take_rtnl) in mlx5e_attach_netdev()