34 #ifndef _RTE_RWLOCK_H_
35 #define _RTE_RWLOCK_H_
69 #define RTE_RWLOCK_INITIALIZER { 0 }
95 while (success == 0) {
103 (uint32_t)x, (uint32_t)(x + 1));
131 while (success == 0) {
static void rte_atomic32_inc(rte_atomic32_t *v)
static int rte_atomic32_cmpset(volatile uint32_t *dst, uint32_t exp, uint32_t src)
static void rte_rwlock_write_lock_tm(rte_rwlock_t *rwl)
static void rte_atomic32_dec(rte_atomic32_t *v)
static void rte_rwlock_read_lock(rte_rwlock_t *rwl)
static void rte_rwlock_read_lock_tm(rte_rwlock_t *rwl)
static void rte_rwlock_read_unlock(rte_rwlock_t *rwl)
static void rte_pause(void)
static void rte_rwlock_write_unlock(rte_rwlock_t *rwl)
static void rte_rwlock_read_unlock_tm(rte_rwlock_t *rwl)
static void rte_rwlock_write_lock(rte_rwlock_t *rwl)
static void rte_rwlock_init(rte_rwlock_t *rwl)
static void rte_rwlock_write_unlock_tm(rte_rwlock_t *rwl)