base/sched/liblxrt/touchall.c File Reference

#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:

Include dependency graph

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 123 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 70 of file touchall.c.

References dump_malloc_stats(), GROW_HEAP, GROW_STACK, and touch_all().

Here is the call graph for this function:

int touch_all void   ) 
 

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:

void touch_area void *  begin,
size_t  len,
int  writeable
 

Definition at line 32 of file touchall.c.

Referenced by touch_all().


Generated on Thu Nov 20 11:56:51 2008 for RTAI API by doxygen 1.3.8