Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
kmem.c File Reference
#include <linux/mm.h>
#include <linux/highmem.h>
#include <linux/slab.h>
#include <linux/swap.h>
#include <linux/blkdev.h>
#include <linux/backing-dev.h>
#include "time.h"
#include "kmem.h"
#include "xfs_message.h"

Go to the source code of this file.

Functions

voidkmem_zalloc_greedy (size_t *size, size_t minsize, size_t maxsize)
 
voidkmem_alloc (size_t size, xfs_km_flags_t flags)
 
voidkmem_zalloc (size_t size, xfs_km_flags_t flags)
 
void kmem_free (const void *ptr)
 
voidkmem_realloc (const void *ptr, size_t newsize, size_t oldsize, xfs_km_flags_t flags)
 
voidkmem_zone_alloc (kmem_zone_t *zone, xfs_km_flags_t flags)
 
voidkmem_zone_zalloc (kmem_zone_t *zone, xfs_km_flags_t flags)
 

Function Documentation

void* kmem_alloc ( size_t  size,
xfs_km_flags_t  flags 
)

Definition at line 49 of file kmem.c.

void kmem_free ( const void ptr)

Definition at line 79 of file kmem.c.

void* kmem_realloc ( const void ptr,
size_t  newsize,
size_t  oldsize,
xfs_km_flags_t  flags 
)

Definition at line 89 of file kmem.c.

void* kmem_zalloc ( size_t  size,
xfs_km_flags_t  flags 
)

Definition at line 68 of file kmem.c.

void* kmem_zalloc_greedy ( size_t size,
size_t  minsize,
size_t  maxsize 
)

Definition at line 34 of file kmem.c.

void* kmem_zone_alloc ( kmem_zone_t zone,
xfs_km_flags_t  flags 
)

Definition at line 105 of file kmem.c.

void* kmem_zone_zalloc ( kmem_zone_t zone,
xfs_km_flags_t  flags 
)

Definition at line 124 of file kmem.c.