Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
vmstat.h File Reference
#include <linux/types.h>
#include <linux/percpu.h>
#include <linux/mm.h>
#include <linux/mmzone.h>
#include <linux/vm_event_item.h>
#include <linux/atomic.h>

Go to the source code of this file.

Macros

#define __count_zone_vm_events(item, zone, delta)
 
#define node_page_state(node, item)   global_page_state(item)
 
#define zone_statistics(_zl, _z, gfp)   do { } while (0)
 
#define add_zone_page_state(__z, __i, __d)   mod_zone_page_state(__z, __i, __d)
 
#define sub_zone_page_state(__z, __i, __d)   mod_zone_page_state(__z, __i, -(__d))
 
#define inc_zone_page_state   __inc_zone_page_state
 
#define dec_zone_page_state   __dec_zone_page_state
 
#define mod_zone_page_state   __mod_zone_page_state
 
#define set_pgdat_percpu_threshold(pgdat, callback)   { }
 

Functions

unsigned long global_reclaimable_pages (void)
 
unsigned long zone_reclaimable_pages (struct zone *zone)
 
void inc_zone_state (struct zone *, enum zone_stat_item)
 

Variables

int sysctl_stat_interval
 
atomic_long_t vm_stat [NR_VM_ZONE_STAT_ITEMS]
 
const char *const vmstat_text []
 

Macro Definition Documentation

#define __count_zone_vm_events (   item,
  zone,
  delta 
)
Value:
__count_vm_events(item##_NORMAL - ZONE_NORMAL + \

Definition at line 83 of file vmstat.h.

#define add_zone_page_state (   __z,
  __i,
  __d 
)    mod_zone_page_state(__z, __i, __d)

Definition at line 179 of file vmstat.h.

#define dec_zone_page_state   __dec_zone_page_state

Definition at line 248 of file vmstat.h.

#define inc_zone_page_state   __inc_zone_page_state

Definition at line 247 of file vmstat.h.

#define mod_zone_page_state   __mod_zone_page_state

Definition at line 249 of file vmstat.h.

#define node_page_state (   node,
  item 
)    global_page_state(item)

Definition at line 174 of file vmstat.h.

#define set_pgdat_percpu_threshold (   pgdat,
  callback 
)    { }

Definition at line 251 of file vmstat.h.

#define sub_zone_page_state (   __z,
  __i,
  __d 
)    mod_zone_page_state(__z, __i, -(__d))

Definition at line 180 of file vmstat.h.

#define zone_statistics (   _zl,
  _z,
  gfp 
)    do { } while (0)

Definition at line 175 of file vmstat.h.

Function Documentation

unsigned long global_reclaimable_pages ( void  )

Definition at line 3040 of file vmscan.c.

void inc_zone_state ( struct zone ,
enum  zone_stat_item 
)
unsigned long zone_reclaimable_pages ( struct zone zone)

Definition at line 3054 of file vmscan.c.

Variable Documentation

int sysctl_stat_interval
const char* const vmstat_text[]