FD.io VPP  v21.10.1-2-g0a485f517
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 217 of file svmtool.c.

Function Documentation

◆ format_all_svm_regions()

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:

◆ 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 220 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 230 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 209 of file svmtool.c.

+ Here is the caller graph for this function:

◆ show()

void show ( char *  chroot_path,
int  verbose 
)

Definition at line 104 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 241 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 123 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: