Searched refs:sl_tab (Results 1 – 3 of 3) sorted by relevance
33 static rte_pflock_t sl_tab[RTE_MAX_LCORE]; variable43 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()
47 static rte_spinlock_t sl_tab[RTE_MAX_LCORE]; variable60 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()
37 static rte_rwlock_t sl_tab[RTE_MAX_LCORE]; variable74 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()