#ifndef _H_JFS_METAPAGE
#define _H_JFS_METAPAGE
#include <linux/pagemap.h>
struct metapage { … };
#define META_locked …
#define META_dirty …
#define META_sync …
#define META_discard …
#define META_forcewrite …
#define META_io …
#define mark_metapage_dirty(mp) …
extern int metapage_init(void);
extern void metapage_exit(void);
extern struct metapage *__get_metapage(struct inode *inode,
unsigned long lblock, unsigned int size,
int absolute, unsigned long new);
#define read_metapage(inode, lblock, size, absolute) …
#define get_metapage(inode, lblock, size, absolute) …
extern void release_metapage(struct metapage *);
extern void grab_metapage(struct metapage *);
extern void force_metapage(struct metapage *);
extern void hold_metapage(struct metapage *);
extern void put_metapage(struct metapage *);
static inline void write_metapage(struct metapage *mp)
{ … }
static inline void flush_metapage(struct metapage *mp)
{ … }
static inline void discard_metapage(struct metapage *mp)
{ … }
static inline void metapage_nohomeok(struct metapage *mp)
{ … }
static inline void metapage_wait_for_io(struct metapage *mp)
{ … }
static inline void _metapage_homeok(struct metapage *mp)
{ … }
static inline void metapage_homeok(struct metapage *mp)
{ … }
extern const struct address_space_operations jfs_metapage_aops;
extern void __invalidate_metapages(struct inode *, s64, int);
#define invalidate_pxd_metapages(ip, pxd) …
#define invalidate_dxd_metapages(ip, dxd) …
#define invalidate_xad_metapages(ip, xad) …
#endif