Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
pageblock-flags.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Macros

#define pageblock_order   (MAX_ORDER-1)
 
#define pageblock_nr_pages   (1UL << pageblock_order)
 
#define get_pageblock_flags(page)   get_pageblock_flags_group(page, 0, PB_migrate_end)
 
#define set_pageblock_flags(page, flags)
 

Enumerations

enum  pageblock_bits { PB_migrate, PB_migrate_end = PB_migrate + 3 - 1, NR_PAGEBLOCK_BITS }
 

Functions

unsigned long get_pageblock_flags_group (struct page *page, int start_bitidx, int end_bitidx)
 
void set_pageblock_flags_group (struct page *page, unsigned long flags, int start_bitidx, int end_bitidx)
 

Macro Definition Documentation

#define get_pageblock_flags (   page)    get_pageblock_flags_group(page, 0, PB_migrate_end)

Definition at line 83 of file pageblock-flags.h.

#define pageblock_nr_pages   (1UL << pageblock_order)

Definition at line 60 of file pageblock-flags.h.

#define pageblock_order   (MAX_ORDER-1)

Definition at line 56 of file pageblock-flags.h.

#define set_pageblock_flags (   page,
  flags 
)
Value:

Definition at line 85 of file pageblock-flags.h.

Enumeration Type Documentation

Enumerator:
PB_migrate 
PB_migrate_end 
NR_PAGEBLOCK_BITS 

Definition at line 29 of file pageblock-flags.h.

Function Documentation

unsigned long get_pageblock_flags_group ( struct page page,
int  start_bitidx,
int  end_bitidx 
)

Definition at line 5521 of file page_alloc.c.

void set_pageblock_flags_group ( struct page page,
unsigned long  flags,
int  start_bitidx,
int  end_bitidx 
)

Definition at line 5549 of file page_alloc.c.