FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
lock.h File Reference
+ Include dependency graph for lock.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  clib_spinlock_t
 

Functions

static void clib_spinlock_init (clib_spinlock_t *p)
 
static void clib_spinlock_free (clib_spinlock_t *p)
 
static_always_inline void clib_spinlock_lock (clib_spinlock_t *p)
 
static_always_inline void clib_spinlock_lock_if_init (clib_spinlock_t *p)
 
static_always_inline void clib_spinlock_unlock (clib_spinlock_t *p)
 
static_always_inline void clib_spinlock_unlock_if_init (clib_spinlock_t *p)
 

Function Documentation

static void clib_spinlock_free ( clib_spinlock_t p)
inlinestatic

Definition at line 40 of file lock.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void clib_spinlock_init ( clib_spinlock_t p)
inlinestatic

Definition at line 33 of file lock.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void clib_spinlock_lock ( clib_spinlock_t p)

Definition at line 50 of file lock.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void clib_spinlock_lock_if_init ( clib_spinlock_t p)

Definition at line 65 of file lock.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static_always_inline void clib_spinlock_unlock ( clib_spinlock_t p)

Definition at line 72 of file lock.h.

+ Here is the caller graph for this function:

static_always_inline void clib_spinlock_unlock_if_init ( clib_spinlock_t p)

Definition at line 85 of file lock.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: