Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
swapops.h File Reference
#include <linux/radix-tree.h>
#include <linux/bug.h>

Go to the source code of this file.

Macros

#define SWP_TYPE_SHIFT(e)
 
#define SWP_OFFSET_MASK(e)   ((1UL << SWP_TYPE_SHIFT(e)) - 1)
 
#define make_migration_entry(page, write)   swp_entry(0, 0)
 
#define migration_entry_to_page(swp)   NULL
 

Macro Definition Documentation

#define make_migration_entry (   page,
  write 
)    swp_entry(0, 0)

Definition at line 142 of file swapops.h.

#define migration_entry_to_page (   swp)    NULL

Definition at line 147 of file swapops.h.

#define SWP_OFFSET_MASK (   e)    ((1UL << SWP_TYPE_SHIFT(e)) - 1)

Definition at line 21 of file swapops.h.

#define SWP_TYPE_SHIFT (   e)
Value:

Definition at line 19 of file swapops.h.