Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dcls_api.c3624 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3628 if (take_rtnl) in tc_setup_cb_call()
3635 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3637 take_rtnl = true; in tc_setup_cb_call()
3644 if (take_rtnl) in tc_setup_cb_call()
3660 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3664 if (take_rtnl) in tc_setup_cb_add()
3671 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3673 take_rtnl = true; in tc_setup_cb_add()
3694 if (take_rtnl) in tc_setup_cb_add()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c1493 bool take_rtnl) in mlx5_esw_qos_lag_link_speed_get() argument
1503 if (take_rtnl) in mlx5_esw_qos_lag_link_speed_get()
1508 if (take_rtnl) in mlx5_esw_qos_lag_link_speed_get()
1517 bool take_rtnl, in mlx5_esw_qos_max_link_speed_get() argument
1525 *link_speed_max = mlx5_esw_qos_lag_link_speed_get(mdev, take_rtnl); in mlx5_esw_qos_max_link_speed_get()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c840 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_build_rep_params() local
867 if (take_rtnl) in mlx5e_build_rep_params()
871 if (take_rtnl) in mlx5e_build_rep_params()
H A Den_main.c5875 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_nic_init() local
5912 if (take_rtnl) in mlx5e_nic_init()
5919 if (take_rtnl) in mlx5e_nic_init()