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

Go to the source code of this file.

Data Structures

struct  metapage
 

Macros

#define META_locked   0
 
#define META_free   1
 
#define META_dirty   2
 
#define META_sync   3
 
#define META_discard   4
 
#define META_forcewrite   5
 
#define META_io   6
 
#define mark_metapage_dirty(mp)   set_bit(META_dirty, &(mp)->flag)
 
#define read_metapage(inode, lblock, size, absolute)   __get_metapage(inode, lblock, size, absolute, false)
 
#define get_metapage(inode, lblock, size, absolute)   __get_metapage(inode, lblock, size, absolute, true)
 
#define invalidate_pxd_metapages(ip, pxd)   __invalidate_metapages((ip), addressPXD(&(pxd)), lengthPXD(&(pxd)))
 
#define invalidate_dxd_metapages(ip, dxd)   __invalidate_metapages((ip), addressDXD(&(dxd)), lengthDXD(&(dxd)))
 
#define invalidate_xad_metapages(ip, xad)   __invalidate_metapages((ip), addressXAD(&(xad)), lengthXAD(&(xad)))
 

Functions

int metapage_init (void)
 
void metapage_exit (void)
 
struct metapage__get_metapage (struct inode *inode, unsigned long lblock, unsigned int size, int absolute, unsigned long new)
 
void release_metapage (struct metapage *)
 
void grab_metapage (struct metapage *)
 
void force_metapage (struct metapage *)
 
void hold_metapage (struct metapage *)
 
void put_metapage (struct metapage *)
 
void __invalidate_metapages (struct inode *, s64, int)
 

Variables

struct address_space_operations jfs_metapage_aops
 

Macro Definition Documentation

#define get_metapage (   inode,
  lblock,
  size,
  absolute 
)    __get_metapage(inode, lblock, size, absolute, true)

Definition at line 70 of file jfs_metapage.h.

#define invalidate_dxd_metapages (   ip,
  dxd 
)    __invalidate_metapages((ip), addressDXD(&(dxd)), lengthDXD(&(dxd)))

Definition at line 150 of file jfs_metapage.h.

#define invalidate_pxd_metapages (   ip,
  pxd 
)    __invalidate_metapages((ip), addressPXD(&(pxd)), lengthPXD(&(pxd)))

Definition at line 148 of file jfs_metapage.h.

#define invalidate_xad_metapages (   ip,
  xad 
)    __invalidate_metapages((ip), addressXAD(&(xad)), lengthXAD(&(xad)))

Definition at line 152 of file jfs_metapage.h.

#define mark_metapage_dirty (   mp)    set_bit(META_dirty, &(mp)->flag)

Definition at line 58 of file jfs_metapage.h.

#define META_dirty   2

Definition at line 52 of file jfs_metapage.h.

#define META_discard   4

Definition at line 54 of file jfs_metapage.h.

#define META_forcewrite   5

Definition at line 55 of file jfs_metapage.h.

#define META_free   1

Definition at line 51 of file jfs_metapage.h.

#define META_io   6

Definition at line 56 of file jfs_metapage.h.

#define META_locked   0

Definition at line 50 of file jfs_metapage.h.

#define META_sync   3

Definition at line 53 of file jfs_metapage.h.

#define read_metapage (   inode,
  lblock,
  size,
  absolute 
)    __get_metapage(inode, lblock, size, absolute, false)

Definition at line 67 of file jfs_metapage.h.

Function Documentation

struct metapage* __get_metapage ( struct inode inode,
unsigned long  lblock,
unsigned int  size,
int  absolute,
unsigned long  new 
)
read

Definition at line 591 of file jfs_metapage.c.

void __invalidate_metapages ( struct inode ,
s64  ,
int   
)

Definition at line 776 of file jfs_metapage.c.

void force_metapage ( struct metapage )

Definition at line 709 of file jfs_metapage.c.

void grab_metapage ( struct metapage )

Definition at line 699 of file jfs_metapage.c.

void hold_metapage ( struct metapage )

Definition at line 723 of file jfs_metapage.c.

void metapage_exit ( void  )

Definition at line 234 of file jfs_metapage.c.

int metapage_init ( void  )

Definition at line 213 of file jfs_metapage.c.

void put_metapage ( struct metapage )

Definition at line 728 of file jfs_metapage.c.

void release_metapage ( struct metapage )

Definition at line 742 of file jfs_metapage.c.

Variable Documentation

struct address_space_operations jfs_metapage_aops

Definition at line 583 of file jfs_metapage.c.