Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_ct.c80 spinlock_t ht_lock; /* protects ft entries */ member
974 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
976 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_entry_del()
1056 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1060 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1067 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1073 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_shared_counter_get()
1158 spin_lock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_replace()
1162 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_replace()
1165 spin_unlock_bh(&ct_priv->ht_lock); in mlx5_tc_ct_block_flow_offload_replace()
[all …]
/openbmc/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()
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()