Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
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-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c78 spinlock_t ht_lock; /* protects ft entries */ member
918 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
920 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
1000 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1004 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1011 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1017 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1083 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_add()
1086 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_add()
1090 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_add()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
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-6.1.9/drivers/infiniband/hw/irdma/
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()
2086 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_add_hte_node()
2088 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_add_hte_node()
2373 spin_lock_irqsave(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
2376 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
2386 spin_unlock_irqrestore(&cm_core->ht_lock, flags); in irdma_rem_ref_cm_node()
3222 spin_lock_init(&cm_core->ht_lock); in irdma_setup_cm_core()
[all …]
Dcm.h358 spinlock_t ht_lock; /* protect CM node (active side) list */ member
Dverbs.c1654 spin_lock_irqsave(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()
1658 spin_unlock_irqrestore(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()
1667 spin_unlock_irqrestore(&iwdev->cm_core.ht_lock, flags); in irdma_modify_qp()