Home
last modified time | relevance | path

Searched refs:take_rtnl (Results 1 – 2 of 2) 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()
3712 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_replace() local
3764 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_destroy() local
[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()