Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
um_malloc.h File Reference
#include <generated/asm-offsets.h>

Go to the source code of this file.

Functions

voiduml_kmalloc (int size, int flags)
 
void kfree (const void *ptr)
 
voidvmalloc (unsigned long size)
 
void vfree (void *ptr)
 

Function Documentation

void kfree ( const void objp)

kfree - free previously allocated memory : pointer returned by kmalloc.

If is NULL, no operation is performed.

Don't free memory not originally allocated by kmalloc() or you will run into trouble.

Definition at line 3952 of file slab.c.

void* uml_kmalloc ( int  size,
int  flags 
)

Definition at line 319 of file mem.c.

void vfree ( void ptr)
void* vmalloc ( unsigned long  size)

vmalloc - allocate virtually contiguous memory : allocation size Allocate enough pages to cover from the page level allocator and map them into contiguous kernel virtual space.

For tight control over page level allocator and protection flags use __vmalloc() instead.

Definition at line 292 of file nommu.c.