Home
last modified time | relevance | path

Searched refs:ht_lock (Results 1 – 5 of 5) sorted by relevance

/linux/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()
/linux/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()
1367 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_cm_timer_tick()
1372 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_cm_timer_tick()
2136 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_add_hte_node()
2138 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_add_hte_node()
2427 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
2430 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
2440 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
3278 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.c1829 spin_lock_irqsave(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()
1833 spin_unlock_irqrestore(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()
1842 spin_unlock_irqrestore(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()