FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | vlib_refcount_per_cpu_t |
struct | vlib_refcount_t |
Functions | |
static_always_inline void | vlib_refcount_lock (volatile u32 *counter_lock) |
static_always_inline void | vlib_refcount_unlock (volatile u32 *counter_lock) |
static_always_inline void | vlib_refcount_add (vlib_refcount_t *r, u32 thread_index, u32 counter_index, i32 v) |
u64 | vlib_refcount_get (vlib_refcount_t *r, u32 index) |
static_always_inline void | vlib_refcount_init (vlib_refcount_t *r) |
static_always_inline void vlib_refcount_add | ( | vlib_refcount_t * | r, |
u32 | thread_index, | ||
u32 | counter_index, | ||
i32 | v | ||
) |
u64 vlib_refcount_get | ( | vlib_refcount_t * | r, |
u32 | index | ||
) |
static_always_inline void vlib_refcount_init | ( | vlib_refcount_t * | r | ) |
Definition at line 80 of file refcount.h.
static_always_inline void vlib_refcount_lock | ( | volatile u32 * | counter_lock | ) |
static_always_inline void vlib_refcount_unlock | ( | volatile u32 * | counter_lock | ) |