Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
page Struct Reference

#include <mm_types.h>

Data Fields

unsigned long flags
 
struct address_spacemapping
 
struct {
   union {
      pgoff_t   index
 
      void *   freelist
 
      bool   pfmemalloc
 
   } 
 
   union {
      unsigned   counters
 
      struct {
         union {
            atomic_t   _mapcount
 
            struct {
               unsigned   inuse:16
 
               unsigned   objects:15
 
               unsigned   frozen:1
 
            } 
 
            int   units
 
         } 
 
         atomic_t   _count
 
      } 
 
   } 
 
}; 
 
union {
   struct list_head   lru
 
   struct {
      struct page *   next
 
      short int   pages
 
      short int   pobjects
 
   } 
 
   struct list_head   list
 
   struct {
      struct kmem_cache *   slab_cache
 
      struct slab *   slab_page
 
   } 
 
}; 
 
union {
   unsigned long   private
 
   spinlock_t   ptl
 
   struct kmem_cache *   slab
 
   struct page *   first_page
 
}; 
 
unsigned long long dummy
 

Detailed Description

Definition at line 40 of file mm_types.h.

Field Documentation

struct { ... }
union { ... }
union { ... }
atomic_t _count

Definition at line 109 of file mm_types.h.

atomic_t _mapcount

Definition at line 100 of file mm_types.h.

unsigned counters

Definition at line 78 of file mm_types.h.

unsigned long long dummy

Definition at line 24 of file virtio.h.

struct page* first_page

Definition at line 150 of file mm_types.h.

unsigned long flags

Definition at line 42 of file mm_types.h.

void* freelist

Definition at line 55 of file mm_types.h.

unsigned frozen

Definition at line 105 of file mm_types.h.

pgoff_t index

Definition at line 54 of file mm_types.h.

unsigned inuse

Definition at line 103 of file mm_types.h.

Definition at line 130 of file mm_types.h.

Definition at line 116 of file mm_types.h.

Definition at line 44 of file mm_types.h.

struct page* next

Definition at line 120 of file mm_types.h.

unsigned objects

Definition at line 104 of file mm_types.h.

short int pages

Definition at line 125 of file mm_types.h.

bool pfmemalloc

Definition at line 56 of file mm_types.h.

short int pobjects

Definition at line 126 of file mm_types.h.

unsigned long private

Definition at line 139 of file mm_types.h.

Definition at line 147 of file mm_types.h.

Definition at line 149 of file mm_types.h.

struct kmem_cache* slab_cache

Definition at line 132 of file mm_types.h.

struct slab* slab_page

Definition at line 133 of file mm_types.h.

int units

Definition at line 107 of file mm_types.h.


The documentation for this struct was generated from the following files: