FD.io VPP  v16.06
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 47 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 42 of file smp.c.

+ Here is the call graph for this function:

void clib_smp_init ( void  )

Definition at line 82 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 127 of file smp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void clib_smp_lock_init ( clib_smp_lock_t **  pl)

Definition at line 96 of file smp.c.

+ Here is the call graph for this function:

+ Here is the caller 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 134 of file smp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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 207 of file smp.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: