Home
last modified time | relevance | path

Searched full:ht_lock (Results 1 – 6 of 6) 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/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c82 spinlock_t ht_lock; /* protects ft entries */ member
984 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
986 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
1066 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1070 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1077 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1083 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1174 /* If failed to update the entry, then look it up again under ht_lock in mlx5_tc_ct_block_flow_offload_update()
1177 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_update()
1181 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_update()
[all …]
/linux/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()
/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