FD.io VPP  v18.11-rc0-18-g2a3fb1a
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 void * svm_map_region_nolock (svm_map_region_args_t *a)
 
static u64 rnd_pagesize (u64 size)
 
static void region_lock (svm_region_t *rp, int tag)
 
static void region_unlock (svm_region_t *rp)
 
static void * svm_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 218 of file svmtool.c.

Function Documentation

u8* format_all_svm_regions ( u8 s,
va_list *  args 
)

Definition at line 52 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 453 of file svmtool.c.

+ Here is the call graph for this function:

static void region_lock ( svm_region_t rp,
int  tag 
)
inlinestatic

Definition at line 221 of file svmtool.c.

+ Here is the caller graph for this function:

static void region_unlock ( svm_region_t rp)
inlinestatic

Definition at line 231 of file svmtool.c.

+ Here is the caller graph for this function:

void repair ( char *  chroot_path,
int  crash_root_region 
)

Definition at line 357 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static u64 rnd_pagesize ( u64  size)
static

Definition at line 210 of file svmtool.c.

+ Here is the caller graph for this function:

void show ( char *  chroot_path,
int  verbose 
)

Definition at line 105 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 309 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 242 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 124 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 274 of file svmtool.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: