#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/swap.h>
#include <linux/bitops.h>
#include <linux/page-flags.h>
#include <linux/list.h>
#include <linux/highmem.h>
#include <linux/pagevec.h>
#include <linux/gfp.h>
#include "nilfs.h"
#include "page.h"
#include "mdt.h"
Go to the source code of this file.
|
| struct buffer_head * | nilfs_grab_buffer (struct inode *inode, struct address_space *mapping, unsigned long blkoff, unsigned long b_state) |
| |
| void | nilfs_forget_buffer (struct buffer_head *bh) |
| |
| void | nilfs_copy_buffer (struct buffer_head *dbh, struct buffer_head *sbh) |
| |
| int | nilfs_page_buffers_clean (struct page *page) |
| |
| void | nilfs_page_bug (struct page *page) |
| |
| int | nilfs_copy_dirty_pages (struct address_space *dmap, struct address_space *smap) |
| |
| void | nilfs_copy_back_pages (struct address_space *dmap, struct address_space *smap) |
| |
| void | nilfs_clear_dirty_pages (struct address_space *mapping) |
| |
| unsigned | nilfs_page_count_clean_buffers (struct page *page, unsigned from, unsigned to) |
| |
| void | nilfs_mapping_init (struct address_space *mapping, struct inode *inode, struct backing_dev_info *bdi) |
| |
| int | __nilfs_clear_page_dirty (struct page *page) |
| |
| unsigned long | nilfs_find_uncommitted_extent (struct inode *inode, sector_t start_blk, sector_t *blkoff) |
| |
| #define NILFS_BUFFER_INHERENT_BITS |
Value:
Definition at line 38 of file page.c.
nilfs_copy_back_pages – copy back pages to original cache from shadow cache : destination page cache : source page cache
No pages must no be added to the cache during this process. This must be ensured by the caller.
Definition at line 311 of file page.c.
nilfs_copy_buffer – copy buffer data and flags : destination buffer : source buffer
Definition at line 115 of file page.c.
nilfs_find_uncommitted_extent - find extent of uncommitted data : inode : start block offset (in) : start offset of the found extent (out)
This function searches an extent of buffers marked "delayed" which starts from a block offset equal to or larger than . If such an extent was found, this will store the start offset in and return its length in blocks. Otherwise, zero is returned.
Definition at line 481 of file page.c.
| void nilfs_forget_buffer |
( |
struct buffer_head * |
bh | ) |
|
nilfs_forget_buffer - discard dirty state : owner inode of the buffer : buffer head of the buffer to be discarded
Definition at line 89 of file page.c.
| unsigned nilfs_page_count_clean_buffers |
( |
struct page * |
page, |
|
|
unsigned |
from, |
|
|
unsigned |
to |
|
) |
| |