Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/mm.h>
#include <linux/module.h>
#include <linux/bio.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/buffer_head.h>
#include <linux/mempool.h>
#include <linux/seq_file.h>
#include "jfs_incore.h"
#include "jfs_superblock.h"
#include "jfs_filsys.h"
#include "jfs_metapage.h"
#include "jfs_txnmgr.h"
#include "jfs_debug.h"
Go to the source code of this file.
Macros | |
#define | metapage_locked(mp) test_bit(META_locked, &(mp)->flag) |
#define | trylock_metapage(mp) test_and_set_bit_lock(META_locked, &(mp)->flag) |
#define | METAPOOL_MIN_PAGES 32 |
#define | MPS_PER_PAGE (PAGE_CACHE_SIZE >> L2PSIZE) |
#define | inc_io(page) do {} while(0) |
#define | dec_io(page, handler) handler(page) |
Functions | |
int __init | 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 | grab_metapage (struct metapage *mp) |
void | force_metapage (struct metapage *mp) |
void | hold_metapage (struct metapage *mp) |
void | put_metapage (struct metapage *mp) |
void | release_metapage (struct metapage *mp) |
void | __invalidate_metapages (struct inode *ip, s64 addr, int len) |
Variables | |
struct address_space_operations | jfs_metapage_aops |
#define inc_io | ( | page | ) | do {} while(0) |
Definition at line 181 of file jfs_metapage.c.
#define metapage_locked | ( | mp | ) | test_bit(META_locked, &(mp)->flag) |
Definition at line 44 of file jfs_metapage.c.
#define METAPOOL_MIN_PAGES 32 |
Definition at line 79 of file jfs_metapage.c.
#define MPS_PER_PAGE (PAGE_CACHE_SIZE >> L2PSIZE) |
Definition at line 83 of file jfs_metapage.c.
#define trylock_metapage | ( | mp | ) | test_and_set_bit_lock(META_locked, &(mp)->flag) |
Definition at line 45 of file jfs_metapage.c.
|
read |
Definition at line 591 of file jfs_metapage.c.
Definition at line 776 of file jfs_metapage.c.
Definition at line 709 of file jfs_metapage.c.
Definition at line 699 of file jfs_metapage.c.
Definition at line 723 of file jfs_metapage.c.
Definition at line 234 of file jfs_metapage.c.
Definition at line 213 of file jfs_metapage.c.
Definition at line 728 of file jfs_metapage.c.
Definition at line 742 of file jfs_metapage.c.
struct address_space_operations jfs_metapage_aops |
Definition at line 583 of file jfs_metapage.c.