FD.io VPP  v20.05.1-6-gf53edbc3b
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

◆ MUTEX_DEBUG

#define MUTEX_DEBUG

Definition at line 218 of file svmtool.c.

Function Documentation

◆ format_all_svm_regions()

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:

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 453 of file svmtool.c.

+ Here is the call graph for this function:

◆ region_lock()

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:

◆ region_unlock()

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:

◆ repair()

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:

◆ rnd_pagesize()

static u64 rnd_pagesize ( u64  size)
static

Definition at line 210 of file svmtool.c.

+ Here is the caller graph for this function:

◆ show()

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:

◆ subregion_repair()

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:

◆ svm_existing_region_map_nolock()

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:

◆ svm_map_region_nolock()

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:

◆ trace()

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: