FD.io VPP  v19.04.1-1-ge4a0f9f
Vector Packet Processing
refcount.h File Reference
+ Include dependency graph for refcount.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Function Documentation

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u64 vlib_refcount_get ( vlib_refcount_t r,
u32  index 
)

Definition at line 31 of file refcount.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void vlib_refcount_init ( vlib_refcount_t r)

Definition at line 80 of file refcount.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void vlib_refcount_lock ( volatile u32 counter_lock)

Definition at line 53 of file refcount.h.

+ Here is the caller graph for this function:

static_always_inline void vlib_refcount_unlock ( volatile u32 counter_lock)

Definition at line 60 of file refcount.h.

+ Here is the caller graph for this function: