base/sched/liblxrt/touchall.c File Reference

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 Documentation

#define GROW_HEAP   (64*1024)

Definition at line 29 of file touchall.c.

Referenced by lock_all().

#define GROW_STACK   (64*1024)

Definition at line 28 of file touchall.c.

Referenced by lock_all().

#define STR_SIZE   16

Definition at line 30 of file touchall.c.

Referenced by touch_all().

#define TOUCH_BUFSIZE   256

Definition at line 27 of file touchall.c.

Referenced by touch_all().


Function Documentation

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 
)

Definition at line 32 of file touchall.c.

Referenced by touch_all().


Generated on Tue Feb 2 17:48:06 2010 for RTAI API by  doxygen 1.4.7