Home
last modified time | relevance | path

Searched refs:sl_tab (Results 1 – 3 of 3) sorted by relevance

/dpdk/app/test/
H A Dtest_pflock.c33 static rte_pflock_t sl_tab[RTE_MAX_LCORE]; variable
43 rte_pflock_write_lock(&sl_tab[rte_lcore_id()]); in test_pflock_per_core()
45 rte_pflock_write_unlock(&sl_tab[rte_lcore_id()]); in test_pflock_per_core()
167 rte_pflock_init(&sl_tab[i]); in test_pflock()
172 rte_pflock_write_lock(&sl_tab[i]); in test_pflock()
179 rte_pflock_write_unlock(&sl_tab[i]); in test_pflock()
H A Dtest_spinlock.c47 static rte_spinlock_t sl_tab[RTE_MAX_LCORE]; variable
60 rte_spinlock_lock(&sl_tab[rte_lcore_id()]); in test_spinlock_per_core()
62 rte_spinlock_unlock(&sl_tab[rte_lcore_id()]); in test_spinlock_per_core()
212 rte_spinlock_init(&sl_tab[i]); in test_spinlock()
217 rte_spinlock_lock(&sl_tab[i]); in test_spinlock()
229 rte_spinlock_unlock(&sl_tab[i]); in test_spinlock()
H A Dtest_rwlock.c37 static rte_rwlock_t sl_tab[RTE_MAX_LCORE]; variable
74 rte_rwlock_write_lock(&sl_tab[rte_lcore_id()]); in test_rwlock_per_core()
76 rte_rwlock_write_unlock(&sl_tab[rte_lcore_id()]); in test_rwlock_per_core()
185 rte_rwlock_init(&sl_tab[i]); in rwlock_test1()
190 rte_rwlock_write_lock(&sl_tab[i]); in rwlock_test1()
197 rte_rwlock_write_unlock(&sl_tab[i]); in rwlock_test1()