Home
last modified time | relevance | path

Searched refs:lck (Results 1 – 10 of 10) sorted by relevance

/f-stack/dpdk/app/test/
H A Dtest_ring_st_peek_stress.c14 static rte_spinlock_t lck = RTE_SPINLOCK_INITIALIZER; in _st_ring_dequeue_bulk() local
16 rte_spinlock_lock(&lck); in _st_ring_dequeue_bulk()
22 rte_spinlock_unlock(&lck); in _st_ring_dequeue_bulk()
32 static rte_spinlock_t lck = RTE_SPINLOCK_INITIALIZER; in _st_ring_enqueue_bulk() local
34 rte_spinlock_lock(&lck); in _st_ring_enqueue_bulk()
40 rte_spinlock_unlock(&lck); in _st_ring_enqueue_bulk()
H A Dtest_ring_st_peek_stress_zc.c16 static rte_spinlock_t lck = RTE_SPINLOCK_INITIALIZER; in _st_ring_dequeue_bulk() local
18 rte_spinlock_lock(&lck); in _st_ring_dequeue_bulk()
27 rte_spinlock_unlock(&lck); in _st_ring_dequeue_bulk()
38 static rte_spinlock_t lck = RTE_SPINLOCK_INITIALIZER; in _st_ring_enqueue_bulk() local
40 rte_spinlock_lock(&lck); in _st_ring_enqueue_bulk()
49 rte_spinlock_unlock(&lck); in _st_ring_enqueue_bulk()
/f-stack/dpdk/lib/librte_eal/x86/include/
H A Drte_power_intrinsics.h80 const uint8_t data_sz, rte_spinlock_t *lck) in rte_power_monitor_sync() argument
102 rte_spinlock_unlock(lck); in rte_power_monitor_sync()
110 rte_spinlock_lock(lck); in rte_power_monitor_sync()
/f-stack/dpdk/lib/librte_eal/arm/include/
H A Drte_power_intrinsics.h37 const uint8_t data_sz, rte_spinlock_t *lck) in rte_power_monitor_sync() argument
43 RTE_SET_USED(lck); in rte_power_monitor_sync()
/f-stack/dpdk/lib/librte_eal/ppc/include/
H A Drte_power_intrinsics.h37 const uint8_t data_sz, rte_spinlock_t *lck) in rte_power_monitor_sync() argument
43 RTE_SET_USED(lck); in rte_power_monitor_sync()
/f-stack/dpdk/drivers/net/szedata2/
H A Drte_eth_szedata2.c691 const struct szedata_lock *lck; in eth_szedata2_tx() local
707 lck = szedata_tx_lock_data(sze_q->sze, in eth_szedata2_tx()
710 if (lck == NULL) in eth_szedata2_tx()
713 dst = lck->start; in eth_szedata2_tx()
714 lock_size = lck->len; in eth_szedata2_tx()
715 lock_size2 = lck->next ? lck->next->len : 0; in eth_szedata2_tx()
778 szedata_tx_unlock_data(sze_q->sze, lck, in eth_szedata2_tx()
817 if (lck->next) in eth_szedata2_tx()
818 dst = lck->next->start; in eth_szedata2_tx()
854 if (lck->next) in eth_szedata2_tx()
[all …]
/f-stack/dpdk/lib/librte_eal/include/generic/
H A Drte_power_intrinsics.h103 rte_spinlock_t *lck);
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_jit_x86.c669 const uint8_t lck = 0xF0; /* lock prefix */ in emit_st_xadd() local
675 emit_bytes(st, &lck, sizeof(lck)); in emit_st_xadd()
/f-stack/freebsd/kern/
H A Dkern_event.c90 #define KQ_GLOBAL_LOCK(lck, haslck) do { \ argument
92 mtx_lock(lck); \
95 #define KQ_GLOBAL_UNLOCK(lck, haslck) do { \ argument
97 mtx_unlock(lck); \
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-l2c-defs.h4073 …uint64_t lck : 1; /**< SW attempted to LOCK DOWN the last available set … member
4113 uint64_t lck : 1;