FD.io VPP
v18.07-34-g55fbdb9
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 | ||
) |
Definition at line 68 of file refcount.h.
u64 vlib_refcount_get | ( | vlib_refcount_t * | r, |
u32 | index | ||
) |
Definition at line 31 of file refcount.c.
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 | ) |