Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations
mballoc.h File Reference
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/namei.h>
#include <linux/quotaops.h>
#include <linux/buffer_head.h>
#include <linux/module.h>
#include <linux/swap.h>
#include <linux/proc_fs.h>
#include <linux/pagemap.h>
#include <linux/seq_file.h>
#include <linux/blkdev.h>
#include <linux/mutex.h>
#include "ext4_jbd2.h"
#include "ext4.h"

Go to the source code of this file.

Data Structures

struct  ext4_free_data
 
struct  ext4_prealloc_space
 
struct  ext4_free_extent
 
struct  ext4_locality_group
 
struct  ext4_allocation_context
 
struct  ext4_buddy
 

Macros

#define AGGRESSIVE_CHECK__
 
#define DOUBLE_CHECK__
 
#define mb_debug(n, fmt, a...)
 
#define EXT4_MB_HISTORY_ALLOC   1 /* allocation */
 
#define EXT4_MB_HISTORY_PREALLOC   2 /* preallocated blocks used */
 
#define MB_DEFAULT_MAX_TO_SCAN   200
 
#define MB_DEFAULT_MIN_TO_SCAN   10
 
#define MB_DEFAULT_STATS   0
 
#define MB_DEFAULT_STREAM_THRESHOLD   16 /* 64K */
 
#define MB_DEFAULT_ORDER2_REQS   2
 
#define MB_DEFAULT_GROUP_PREALLOC   512
 
#define PREALLOC_TB_SIZE   10
 
#define AC_STATUS_CONTINUE   1
 
#define AC_STATUS_FOUND   2
 
#define AC_STATUS_BREAK   3
 

Enumerations

enum  { MB_INODE_PA = 0, MB_GROUP_PA = 1 }
 

Macro Definition Documentation

#define AC_STATUS_BREAK   3

Definition at line 198 of file mballoc.h.

#define AC_STATUS_CONTINUE   1

Definition at line 196 of file mballoc.h.

#define AC_STATUS_FOUND   2

Definition at line 197 of file mballoc.h.

#define AGGRESSIVE_CHECK__

Definition at line 29 of file mballoc.h.

#define DOUBLE_CHECK__

Definition at line 35 of file mballoc.h.

#define EXT4_MB_HISTORY_ALLOC   1 /* allocation */

Definition at line 54 of file mballoc.h.

#define EXT4_MB_HISTORY_PREALLOC   2 /* preallocated blocks used */

Definition at line 55 of file mballoc.h.

#define mb_debug (   n,
  fmt,
  a... 
)

Definition at line 51 of file mballoc.h.

#define MB_DEFAULT_GROUP_PREALLOC   512

Definition at line 90 of file mballoc.h.

#define MB_DEFAULT_MAX_TO_SCAN   200

Definition at line 60 of file mballoc.h.

#define MB_DEFAULT_MIN_TO_SCAN   10

Definition at line 65 of file mballoc.h.

#define MB_DEFAULT_ORDER2_REQS   2

Definition at line 85 of file mballoc.h.

#define MB_DEFAULT_STATS   0

Definition at line 71 of file mballoc.h.

#define MB_DEFAULT_STREAM_THRESHOLD   16 /* 64K */

Definition at line 80 of file mballoc.h.

#define PREALLOC_TB_SIZE   10

Definition at line 152 of file mballoc.h.

Enumeration Type Documentation

anonymous enum
Enumerator:
MB_INODE_PA 
MB_GROUP_PA 

Definition at line 132 of file mballoc.h.