109#define RTE_SEQLOCK_INITIALIZER \
111 .count = RTE_SEQCOUNT_INITIALIZER, \
112 .lock = RTE_SPINLOCK_INITIALIZER \
145static inline uint32_t
200 __rte_exclusive_lock_function(&seqlock->lock)
222 __rte_unlock_function(&seqlock->lock)
static void rte_seqcount_init(rte_seqcount_t *seqcount)
static void rte_seqcount_write_end(rte_seqcount_t *seqcount)
static uint32_t rte_seqcount_read_begin(const rte_seqcount_t *seqcount)
static bool rte_seqcount_read_retry(const rte_seqcount_t *seqcount, uint32_t begin_sn)
static void rte_seqcount_write_begin(rte_seqcount_t *seqcount)
static void rte_seqlock_write_lock(rte_seqlock_t *seqlock)
static void rte_seqlock_write_unlock(rte_seqlock_t *seqlock)
static void rte_seqlock_init(rte_seqlock_t *seqlock)
static bool rte_seqlock_read_retry(const rte_seqlock_t *seqlock, uint32_t begin_sn)
static uint32_t rte_seqlock_read_begin(const rte_seqlock_t *seqlock)
static void rte_spinlock_unlock(rte_spinlock_t *sl)
static void rte_spinlock_lock(rte_spinlock_t *sl)
static void rte_spinlock_init(rte_spinlock_t *sl)