Home
last modified time | relevance | path

Searched refs:ht_lock (Results 1 - 11 of 11) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.c12 spinlock_t ht_lock; /* protects hashtable */ member
47 spin_lock_init(&handle->ht_lock); in mlx5e_tc_act_stats_create()
117 spin_lock(&handle->ht_lock); in mlx5e_tc_act_stats_del_flow()
126 spin_unlock(&handle->ht_lock); in mlx5e_tc_act_stats_del_flow()
H A Dsample.c28 struct mutex ht_lock; /* protect hashtbl */ member
179 mutex_lock(&tc_psample->ht_lock); in sampler_get()
204 mutex_unlock(&tc_psample->ht_lock); in sampler_get()
210 mutex_unlock(&tc_psample->ht_lock); in sampler_get()
217 mutex_lock(&tc_psample->ht_lock); in sampler_put()
223 mutex_unlock(&tc_psample->ht_lock); in sampler_put()
635 mutex_init(&tc_psample->ht_lock); in mlx5e_tc_sample_init()
652 mutex_destroy(&tc_psample->ht_lock); in mlx5e_tc_sample_cleanup()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib_vlan.c46 spinlock_t ht_lock; /* Synchronise with NAPI */ member
59 spin_lock_init(&qpn_htbl->ht_lock); in mlx5i_pkey_qpn_ht_init()
98 spin_lock_bh(&ht->ht_lock); in mlx5i_pkey_add_qpn()
100 spin_unlock_bh(&ht->ht_lock); in mlx5i_pkey_add_qpn()
118 spin_lock_bh(&ht->ht_lock); in mlx5i_pkey_del_qpn()
120 spin_unlock_bh(&ht->ht_lock); in mlx5i_pkey_del_qpn()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
H A Dipoib_vlan.c46 spinlock_t ht_lock; /* Synchronise with NAPI */ member
59 spin_lock_init(&qpn_htbl->ht_lock); in mlx5i_pkey_qpn_ht_init()
98 spin_lock_bh(&ht->ht_lock); in mlx5i_pkey_add_qpn()
100 spin_unlock_bh(&ht->ht_lock); in mlx5i_pkey_add_qpn()
118 spin_lock_bh(&ht->ht_lock); in mlx5i_pkey_del_qpn()
120 spin_unlock_bh(&ht->ht_lock); in mlx5i_pkey_del_qpn()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c59 spinlock_t ht_lock; /* protects ft entries */ member
820 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
822 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
909 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
913 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
920 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
926 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
993 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_add()
996 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_add()
1000 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_add()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c80 spinlock_t ht_lock; /* protects ft entries */ member
973 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
975 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
1055 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1059 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1066 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1072 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1154 /* If failed to update the entry, then look it up again under ht_lock in mlx5_tc_ct_block_flow_offload_replace()
1157 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_replace()
1161 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_replace()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/i40iw/
H A Di40iw_cm.c1108 spin_lock_irqsave(&cm_core->ht_lock, flags); in i40iw_schedule_cm_timer()
1115 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in i40iw_schedule_cm_timer()
1227 spin_lock_irqsave(&cm_core->ht_lock, flags); in i40iw_cm_timer_tick()
1230 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in i40iw_cm_timer_tick()
1324 spin_lock_irqsave(&cm_core->ht_lock, flags); in i40iw_cm_timer_tick()
1329 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in i40iw_cm_timer_tick()
1443 spin_lock_irqsave(&cm_core->ht_lock, flags); in i40iw_find_node()
1451 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in i40iw_find_node()
1455 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in i40iw_find_node()
1516 spin_lock_irqsave(&cm_core->ht_lock, flag in i40iw_add_hte_node()
[all...]
H A Di40iw_cm.h414 spinlock_t ht_lock; /* manage hash table */ member
/kernel/linux/linux-6.6/drivers/infiniband/hw/irdma/
H A Dcm.c1181 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_schedule_cm_timer()
1188 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_schedule_cm_timer()
1366 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_cm_timer_tick()
1371 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_cm_timer_tick()
2134 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_add_hte_node()
2136 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_add_hte_node()
2425 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
2428 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
2438 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
3276 spin_lock_init(&cm_core->ht_lock); in irdma_setup_cm_core()
[all...]
H A Dcm.h358 spinlock_t ht_lock; /* protect CM node (active side) list */ member
H A Dverbs.c1731 spin_lock_irqsave(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()
1735 spin_unlock_irqrestore(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()
1744 spin_unlock_irqrestore(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()

Completed in 21 milliseconds