Home
last modified time | relevance | path

Searched refs:take_rtnl (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/net/sched/
H A Dcls_api.c3276 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3280 if (take_rtnl) in tc_setup_cb_call()
3287 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3289 take_rtnl = true; in tc_setup_cb_call()
3296 if (take_rtnl) in tc_setup_cb_call()
3312 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3316 if (take_rtnl) in tc_setup_cb_add()
3323 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3325 take_rtnl = true; in tc_setup_cb_add()
3346 if (take_rtnl) in tc_setup_cb_add()
3364 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_replace() local
3416 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_destroy() local
[all...]
/kernel/linux/linux-6.6/net/sched/
H A Dcls_api.c3502 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_call() local
3506 if (take_rtnl) in tc_setup_cb_call()
3513 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_call()
3515 take_rtnl = true; in tc_setup_cb_call()
3522 if (take_rtnl) in tc_setup_cb_call()
3538 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; in tc_setup_cb_add() local
3542 if (take_rtnl) in tc_setup_cb_add()
3549 if (!rtnl_held && !take_rtnl && block->lockeddevcnt) { in tc_setup_cb_add()
3551 take_rtnl = true; in tc_setup_cb_add()
3572 if (take_rtnl) in tc_setup_cb_add()
3590 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_replace() local
3642 bool take_rtnl = READ_ONCE(block->lockeddevcnt) && !rtnl_held; tc_setup_cb_destroy() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.c776 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_build_rep_params() local
805 if (take_rtnl) in mlx5e_build_rep_params()
809 if (take_rtnl) in mlx5e_build_rep_params()
H A Den_main.c5290 const bool take_rtnl = netdev->reg_state == NETREG_REGISTERED; in mlx5e_nic_init() local
5323 if (take_rtnl) in mlx5e_nic_init()
5329 if (take_rtnl) in mlx5e_nic_init()
5784 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
5830 if (take_rtnl) in mlx5e_attach_netdev()
5833 if (take_rtnl) in mlx5e_attach_netdev()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A 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()

Completed in 35 milliseconds