Include dependency graph for touchall.c:
Go to the source code of this file.
Defines | |
#define | TOUCH_BUFSIZE 256 |
#define | GROW_STACK (64*1024) |
#define | GROW_HEAP (64*1024) |
#define | STR_SIZE 16 |
Functions | |
void | touch_area (void *begin, size_t len, int writeable) |
int | touch_all (void) |
int | lock_all (int stk, int heap) |
void | dump_malloc_stats (void) |
#define GROW_HEAP (64*1024) |
#define GROW_STACK (64*1024) |
#define STR_SIZE 16 |
#define TOUCH_BUFSIZE 256 |
void dump_malloc_stats | ( | void | ) |
Definition at line 124 of file touchall.c.
References rtai_print_to_screen().
Referenced by lock_all().
Here is the call graph for this function:
int lock_all | ( | int | stk, | |
int | heap | |||
) |
Definition at line 71 of file touchall.c.
References dump_malloc_stats(), GROW_HEAP, GROW_STACK, mlockall, and touch_all().
Here is the call graph for this function:
int touch_all | ( | void | ) |
Definition at line 48 of file touchall.c.
References buf, flags, STR_SIZE, touch_area(), and TOUCH_BUFSIZE.
Referenced by lock_all().
Here is the call graph for this function:
void touch_area | ( | void * | begin, | |
size_t | len, | |||
int | writeable | |||
) |