#include <stdio.h>#include <stdlib.h>#include <asm/page.h>#include <sys/user.h>#include <sys/mman.h>#include <malloc.h>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) | 
      
  | 
  
| 
 Definition at line 29 of file touchall.c. Referenced by lock_all().  | 
  
      
  | 
  
| 
 Definition at line 28 of file touchall.c. Referenced by lock_all().  | 
  
      
  | 
  
| 
 Definition at line 30 of file touchall.c. Referenced by touch_all().  | 
  
      
  | 
  
| 
 Definition at line 27 of file touchall.c. Referenced by touch_all().  | 
  
      
  | 
  
| 
 Definition at line 123 of file touchall.c. References rtai_print_to_screen(). Referenced by lock_all(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||
| 
 Definition at line 70 of file touchall.c. References dump_malloc_stats(), GROW_HEAP, GROW_STACK, and touch_all(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  
| 
 Definition at line 47 of file touchall.c. References flags, STR_SIZE, touch_area(), and TOUCH_BUFSIZE. Referenced by lock_all(). Here is the call graph for this function: ![]()  | 
  
      
  | 
  ||||||||||||||||
| 
 Definition at line 32 of file touchall.c. Referenced by touch_all().  | 
  
 1.3.8