FD.io VPP  v16.06
Vector Packet Processing
svmtool.c File Reference
+ Include dependency graph for svmtool.c:

Go to the source code of this file.

Macros

#define MUTEX_DEBUG
 

Functions

u8format_all_svm_regions (u8 *s, va_list *args)
 
void show (char *chroot_path, int verbose)
 
static voidsvm_map_region_nolock (svm_map_region_args_t *a)
 
static unsigned int rnd_pagesize (unsigned int size)
 
always_inline void region_lock (svm_region_t *rp, int tag)
 
always_inline void region_unlock (svm_region_t *rp)
 
static voidsvm_existing_region_map_nolock (void *root_arg, svm_map_region_args_t *a)
 
static void trace (char *chroot_path, char *name, int enable_disable)
 
static void subregion_repair (char *chroot_path)
 
void repair (char *chroot_path, int crash_root_region)
 
int main (int argc, char **argv)
 

Macro Definition Documentation

#define MUTEX_DEBUG

Definition at line 202 of file svmtool.c.

Function Documentation

u8* format_all_svm_regions ( u8 s,
va_list *  args 
)

Definition at line 51 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int main ( int  argc,
char **  argv 
)

Definition at line 418 of file svmtool.c.

+ Here is the call graph for this function:

always_inline void region_lock ( svm_region_t rp,
int  tag 
)

Definition at line 204 of file svmtool.c.

+ Here is the caller graph for this function:

always_inline void region_unlock ( svm_region_t rp)

Definition at line 213 of file svmtool.c.

+ Here is the caller graph for this function:

void repair ( char *  chroot_path,
int  crash_root_region 
)

Definition at line 331 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static unsigned int rnd_pagesize ( unsigned int  size)
static

Definition at line 194 of file svmtool.c.

+ Here is the caller graph for this function:

void show ( char *  chroot_path,
int  verbose 
)

Definition at line 99 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void subregion_repair ( char *  chroot_path)
static

Definition at line 287 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* svm_existing_region_map_nolock ( void root_arg,
svm_map_region_args_t a 
)
static

Definition at line 223 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void* svm_map_region_nolock ( svm_map_region_args_t a)
static

Definition at line 117 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void trace ( char *  chroot_path,
char *  name,
int  enable_disable 
)
static

Definition at line 253 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: