Searched refs:sl_tab (Results 1 – 2 of 2) sorted by relevance
48 static rte_spinlock_t sl_tab[RTE_MAX_LCORE]; variable61 rte_spinlock_lock(&sl_tab[rte_lcore_id()]); in test_spinlock_per_core()63 rte_spinlock_unlock(&sl_tab[rte_lcore_id()]); in test_spinlock_per_core()213 rte_spinlock_init(&sl_tab[i]); in test_spinlock()218 rte_spinlock_lock(&sl_tab[i]); in test_spinlock()230 rte_spinlock_unlock(&sl_tab[i]); in test_spinlock()
38 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()186 rte_rwlock_init(&sl_tab[i]); in rwlock_test1()191 rte_rwlock_write_lock(&sl_tab[i]); in rwlock_test1()198 rte_rwlock_write_unlock(&sl_tab[i]); in rwlock_test1()