Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | KM_SLEEP ((__force xfs_km_flags_t)0x0001u) |
#define | KM_NOSLEEP ((__force xfs_km_flags_t)0x0002u) |
#define | KM_NOFS ((__force xfs_km_flags_t)0x0004u) |
#define | KM_MAYFAIL ((__force xfs_km_flags_t)0x0008u) |
#define | KM_ZONE_HWALIGN SLAB_HWCACHE_ALIGN |
#define | KM_ZONE_RECLAIM SLAB_RECLAIM_ACCOUNT |
#define | KM_ZONE_SPREAD SLAB_MEM_SPREAD |
#define | kmem_zone kmem_cache |
#define | kmem_zone_t struct kmem_cache |
Typedefs | |
typedef unsigned __bitwise | xfs_km_flags_t |
Functions | |
void * | kmem_alloc (size_t, xfs_km_flags_t) |
void * | kmem_zalloc (size_t, xfs_km_flags_t) |
void * | kmem_realloc (const void *, size_t, size_t, xfs_km_flags_t) |
void | kmem_free (const void *) |
void * | kmem_zalloc_greedy (size_t *, size_t, size_t) |
void * | kmem_zone_alloc (kmem_zone_t *, xfs_km_flags_t) |
void * | kmem_zone_zalloc (kmem_zone_t *, xfs_km_flags_t) |
#define KM_MAYFAIL ((__force xfs_km_flags_t)0x0008u) |
#define KM_NOFS ((__force xfs_km_flags_t)0x0004u) |
#define KM_NOSLEEP ((__force xfs_km_flags_t)0x0002u) |
#define KM_SLEEP ((__force xfs_km_flags_t)0x0001u) |
#define KM_ZONE_HWALIGN SLAB_HWCACHE_ALIGN |
#define KM_ZONE_RECLAIM SLAB_RECLAIM_ACCOUNT |
#define KM_ZONE_SPREAD SLAB_MEM_SPREAD |
#define kmem_zone kmem_cache |
#define kmem_zone_t struct kmem_cache |
typedef unsigned __bitwise xfs_km_flags_t |
void* kmem_alloc | ( | size_t | , |
xfs_km_flags_t | |||
) |
void* kmem_zalloc | ( | size_t | , |
xfs_km_flags_t | |||
) |
void* kmem_zone_alloc | ( | kmem_zone_t * | , |
xfs_km_flags_t | |||
) |
void* kmem_zone_zalloc | ( | kmem_zone_t * | , |
xfs_km_flags_t | |||
) |