FD.io VPP  v17.07.01-10-g3be13f0
Vector Packet Processing
smp.c File Reference
+ Include dependency graph for smp.c:

Go to the source code of this file.

Functions

void clib_smp_free (clib_smp_main_t *m)
 
static uword allocate_per_cpu_mheap (uword cpu)
 
void clib_smp_init (void)
 
void clib_smp_lock_init (clib_smp_lock_t **pl)
 
void clib_smp_lock_free (clib_smp_lock_t **pl)
 
void clib_smp_lock_slow_path (clib_smp_lock_t *l, uword my_cpu, clib_smp_lock_header_t h0, clib_smp_lock_type_t type)
 
void clib_smp_unlock_slow_path (clib_smp_lock_t *l, uword my_cpu, clib_smp_lock_header_t h0, clib_smp_lock_type_t type)
 

Function Documentation

static uword allocate_per_cpu_mheap ( uword  cpu)
static

Definition at line 50 of file smp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void clib_smp_free ( clib_smp_main_t *  m)

Definition at line 43 of file smp.c.

+ Here is the call graph for this function:

void clib_smp_init ( void  )

Definition at line 85 of file smp.c.

+ Here is the call graph for this function:

void clib_smp_lock_free ( clib_smp_lock_t **  pl)

Definition at line 133 of file smp.c.

+ Here is the call graph for this function:

void clib_smp_lock_init ( clib_smp_lock_t **  pl)

Definition at line 101 of file smp.c.

+ Here is the call graph for this function:

void clib_smp_lock_slow_path ( clib_smp_lock_t *  l,
uword  my_cpu,
clib_smp_lock_header_t  h0,
clib_smp_lock_type_t  type 
)

Definition at line 141 of file smp.c.

void clib_smp_unlock_slow_path ( clib_smp_lock_t *  l,
uword  my_cpu,
clib_smp_lock_header_t  h0,
clib_smp_lock_type_t  type 
)

Definition at line 213 of file smp.c.