Home
last modified time | relevance | path

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

/openbmc/linux/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()
[all …]
/openbmc/linux/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()
5787 const bool take_rtnl = priv->netdev->reg_state == NETREG_REGISTERED; in mlx5e_attach_netdev() local
5833 if (take_rtnl) in mlx5e_attach_netdev()
5836 if (take_rtnl) in mlx5e_attach_netdev()