Home
last modified time | relevance | path

Searched refs:sl (Results 1 – 25 of 33) sorted by relevance

12

/dpdk/lib/eal/include/generic/
H A Drte_spinlock.h46 rte_spinlock_init(rte_spinlock_t *sl) in rte_spinlock_init() argument
48 sl->locked = 0; in rte_spinlock_init()
58 rte_spinlock_lock(rte_spinlock_t *sl);
62 rte_spinlock_lock(rte_spinlock_t *sl) in rte_spinlock_lock() argument
82 rte_spinlock_unlock (rte_spinlock_t *sl);
86 rte_spinlock_unlock (rte_spinlock_t *sl) in rte_spinlock_unlock() argument
102 rte_spinlock_trylock (rte_spinlock_t *sl);
106 rte_spinlock_trylock (rte_spinlock_t *sl) in rte_spinlock_trylock() argument
204 rte_spinlock_init(&slr->sl); in rte_spinlock_recursive_init()
220 rte_spinlock_lock(&slr->sl); in rte_spinlock_recursive_lock()
[all …]
/dpdk/lib/eal/x86/include/
H A Drte_spinlock.h25 rte_spinlock_lock(rte_spinlock_t *sl) in rte_spinlock_lock() argument
45 rte_spinlock_unlock (rte_spinlock_t *sl) in rte_spinlock_unlock() argument
56 rte_spinlock_trylock (rte_spinlock_t *sl) in rte_spinlock_trylock() argument
123 rte_spinlock_lock_tm(rte_spinlock_t *sl) in rte_spinlock_lock_tm() argument
125 if (likely(rte_try_tm(&sl->locked))) in rte_spinlock_lock_tm()
128 rte_spinlock_lock(sl); /* fall-back */ in rte_spinlock_lock_tm()
134 if (likely(rte_try_tm(&sl->locked))) in rte_spinlock_trylock_tm()
137 return rte_spinlock_trylock(sl); in rte_spinlock_trylock_tm()
143 if (unlikely(sl->locked)) in rte_spinlock_unlock_tm()
144 rte_spinlock_unlock(sl); in rte_spinlock_unlock_tm()
[all …]
/dpdk/lib/eal/ppc/include/
H A Drte_spinlock.h22 rte_spinlock_lock(rte_spinlock_t *sl) in rte_spinlock_lock() argument
25 while (sl->locked) in rte_spinlock_lock()
30 rte_spinlock_unlock(rte_spinlock_t *sl) in rte_spinlock_unlock() argument
32 __sync_lock_release(&sl->locked); in rte_spinlock_unlock()
36 rte_spinlock_trylock(rte_spinlock_t *sl) in rte_spinlock_trylock() argument
49 rte_spinlock_lock_tm(rte_spinlock_t *sl) in rte_spinlock_lock_tm() argument
51 rte_spinlock_lock(sl); /* fall-back */ in rte_spinlock_lock_tm()
55 rte_spinlock_trylock_tm(rte_spinlock_t *sl) in rte_spinlock_trylock_tm() argument
57 return rte_spinlock_trylock(sl); in rte_spinlock_trylock_tm()
61 rte_spinlock_unlock_tm(rte_spinlock_t *sl) in rte_spinlock_unlock_tm() argument
[all …]
/dpdk/app/test/
H A Dtest_pflock.c32 static rte_pflock_t sl; variable
39 rte_pflock_write_lock(&sl); in test_pflock_per_core()
41 rte_pflock_write_unlock(&sl); in test_pflock_per_core()
47 rte_pflock_read_lock(&sl); in test_pflock_per_core()
51 rte_pflock_read_unlock(&sl); in test_pflock_per_core()
165 rte_pflock_init(&sl); in test_pflock()
169 rte_pflock_write_lock(&sl); in test_pflock()
176 rte_pflock_write_unlock(&sl); in test_pflock()
183 rte_pflock_write_lock(&sl); in test_pflock()
186 rte_pflock_write_unlock(&sl); in test_pflock()
H A Dtest_spinlock.c46 static rte_spinlock_t sl, sl_try; variable
56 rte_spinlock_lock(&sl); in test_spinlock_per_core()
58 rte_spinlock_unlock(&sl); in test_spinlock_per_core()
183 rte_spinlock_lock(&sl); in test_spinlock_try()
185 rte_spinlock_unlock(&sl); in test_spinlock_try()
208 rte_spinlock_init(&sl); in test_spinlock()
214 rte_spinlock_lock(&sl); in test_spinlock()
226 rte_spinlock_unlock(&sl); in test_spinlock()
273 if (rte_spinlock_is_locked(&sl)) { in test_spinlock()
277 rte_spinlock_lock(&sl); in test_spinlock()
[all …]
H A Dtest_rwlock.c36 static rte_rwlock_t sl; variable
70 rte_rwlock_write_lock(&sl); in test_rwlock_per_core()
72 rte_rwlock_write_unlock(&sl); in test_rwlock_per_core()
78 rte_rwlock_read_lock(&sl); in test_rwlock_per_core()
82 rte_rwlock_read_unlock(&sl); in test_rwlock_per_core()
183 rte_rwlock_init(&sl); in rwlock_test1()
187 rte_rwlock_write_lock(&sl); in rwlock_test1()
194 rte_rwlock_write_unlock(&sl); in rwlock_test1()
201 rte_rwlock_write_lock(&sl); in rwlock_test1()
204 rte_rwlock_write_unlock(&sl); in rwlock_test1()
/dpdk/lib/eal/arm/include/
H A Drte_spinlock.h25 rte_spinlock_lock_tm(rte_spinlock_t *sl) in rte_spinlock_lock_tm() argument
27 rte_spinlock_lock(sl); /* fall-back */ in rte_spinlock_lock_tm()
31 rte_spinlock_trylock_tm(rte_spinlock_t *sl) in rte_spinlock_trylock_tm() argument
33 return rte_spinlock_trylock(sl); in rte_spinlock_trylock_tm()
37 rte_spinlock_unlock_tm(rte_spinlock_t *sl) in rte_spinlock_unlock_tm() argument
39 rte_spinlock_unlock(sl); in rte_spinlock_unlock_tm()
/dpdk/lib/mempool/
H A Drte_mempool_ops.c18 .sl = RTE_SPINLOCK_INITIALIZER,
29 rte_spinlock_lock(&rte_mempool_ops_table.sl); in rte_mempool_register_ops()
33 rte_spinlock_unlock(&rte_mempool_ops_table.sl); in rte_mempool_register_ops()
41 rte_spinlock_unlock(&rte_mempool_ops_table.sl); in rte_mempool_register_ops()
48 rte_spinlock_unlock(&rte_mempool_ops_table.sl); in rte_mempool_register_ops()
68 rte_spinlock_unlock(&rte_mempool_ops_table.sl); in rte_mempool_register_ops()
H A Drte_mempool.h686 rte_spinlock_t sl; /**< Spinlock for add/delete. */ member
/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_vlan_os.c47 rte_spinlock_lock(&vmwa->sl); in mlx5_vlan_vmwa_release()
54 rte_spinlock_unlock(&vmwa->sl); in mlx5_vlan_vmwa_release()
77 rte_spinlock_lock(&vmwa->sl); in mlx5_vlan_vmwa_acquire()
88 rte_spinlock_unlock(&vmwa->sl); in mlx5_vlan_vmwa_acquire()
137 rte_spinlock_init(&vmwa->sl); in mlx5_vlan_vmwa_init()
/dpdk/drivers/bus/fslmc/qbman/include/
H A Dfsl_qbman_base.h151 uint32_t sl:1; member
193 uint32_t sl:1; member
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_meter.c694 rte_spinlock_lock(&mtr_policy->sl); in __mlx5_flow_meter_policy_delete()
696 rte_spinlock_unlock(&mtr_policy->sl); in __mlx5_flow_meter_policy_delete()
726 rte_spinlock_unlock(&mtr_policy->sl); in __mlx5_flow_meter_policy_delete()
886 rte_spinlock_init(&mtr_policy->sl); in mlx5_flow_meter_policy_add()
1303 rte_spinlock_init(&fm->sl); in mlx5_flow_meter_create()
1898 rte_spinlock_lock(&fm->sl); in mlx5_flow_meter_attach()
1907 rte_spinlock_unlock(&fm->sl); in mlx5_flow_meter_attach()
1909 rte_spinlock_lock(&fm->sl); in mlx5_flow_meter_attach()
1943 rte_spinlock_unlock(&fm->sl); in mlx5_flow_meter_attach()
1961 rte_spinlock_lock(&fm->sl); in mlx5_flow_meter_detach()
[all …]
H A Dmlx5_utils.c870 rte_spinlock_init(&tbl->sl); in mlx5_l3t_create()
977 rte_spinlock_lock(&tbl->sl); in mlx5_l3t_get_entry()
979 rte_spinlock_unlock(&tbl->sl); in mlx5_l3t_get_entry()
996 rte_spinlock_lock(&tbl->sl); in mlx5_l3t_clear_entry()
1061 rte_spinlock_unlock(&tbl->sl); in mlx5_l3t_clear_entry()
1184 rte_spinlock_lock(&tbl->sl); in mlx5_l3t_set_entry()
1186 rte_spinlock_unlock(&tbl->sl); in mlx5_l3t_set_entry()
H A Dmlx5_utils.h166 rte_spinlock_t sl; /* The table lock. */ member
H A Dmlx5.h490 rte_spinlock_t sl; /* The pool lock. */ member
784 rte_spinlock_t sl; member
824 rte_spinlock_t sl; /**< Meter action spinlock. */ member
/dpdk/drivers/net/liquidio/
H A Dlio_rxtx.h374 uint64_t sl : 8; member
409 uint64_t sl : 8;
547 pki_ih3->sl = 32; /* sl will be sizeof(pki_ih3) + irh + ossp0 + ossp1*/ in lio_prepare_pci_cmd()
/dpdk/drivers/common/mlx5/linux/
H A Dmlx5_nl.h29 rte_spinlock_t sl; member
/dpdk/drivers/net/octeontx_ep/
H A Dotx_ep_vf.h120 uint64_t sl:8; member
/dpdk/drivers/common/qat/qat_adf/
H A Dicp_qat_fw_comp.h178 } sl; member
H A Dicp_qat_fw_la.h216 } sl; member
/dpdk/drivers/raw/dpaa2_qdma/
H A Ddpaa2_qdma.h257 uint32_t sl:1; member
H A Ddpaa2_qdma.c58 fd->simple_pci.sl = 1; in qdma_populate_fd_pci()
93 fd->simple_ddr.sl = 1; in qdma_populate_fd_ddr()
255 src_sge->ctrl.sl = QDMA_SG_SL_LONG; in qdma_populate_sg_entry()
272 dst_sge->ctrl.sl = QDMA_SG_SL_LONG; in qdma_populate_sg_entry()
/dpdk/drivers/vdpa/mlx5/
H A Dmlx5_vdpa.h49 rte_spinlock_t sl; member
H A Dmlx5_vdpa_event.c103 rte_spinlock_init(&cq->sl); in mlx5_vdpa_cq_create()
/dpdk/drivers/bus/fslmc/portal/
H A Ddpaa2_hw_pvt.h236 uint32_t sl:1; /* Short Length */ member

12