Linux Kernel
3.7.1
|
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#include <linux/pagemap.h>
#include <asm/byteorder.h>
#include <linux/swap.h>
#include <linux/pipe_fs_i.h>
#include <linux/mpage.h>
#include <linux/quotaops.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "alloc.h"
#include "aops.h"
#include "dlmglue.h"
#include "extent_map.h"
#include "file.h"
#include "inode.h"
#include "journal.h"
#include "suballoc.h"
#include "super.h"
#include "symlink.h"
#include "refcounttree.h"
#include "ocfs2_trace.h"
#include "buffer_head_io.h"
Go to the source code of this file.
Data Structures | |
struct | ocfs2_write_cluster_desc |
struct | ocfs2_write_ctxt |
Macros | |
#define | OCFS2_MAX_CTXT_PAGES (OCFS2_MAX_CLUSTERSIZE / PAGE_CACHE_SIZE) |
#define | OCFS2_MAX_CLUSTERS_PER_PAGE (PAGE_CACHE_SIZE / OCFS2_MIN_CLUSTERSIZE) |
Functions | |
int | ocfs2_get_block (struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create) |
int | ocfs2_read_inline_data (struct inode *inode, struct page *page, struct buffer_head *di_bh) |
int | walk_page_buffers (handle_t *handle, struct buffer_head *head, unsigned from, unsigned to, int *partial, int(*fn)(handle_t *handle, struct buffer_head *bh)) |
int | ocfs2_map_page_blocks (struct page *page, u64 *p_blkno, struct inode *inode, unsigned int from, unsigned int to, int new) |
void | ocfs2_unlock_and_free_pages (struct page **pages, int num_pages) |
int | ocfs2_size_fits_inline_data (struct buffer_head *di_bh, u64 new_size) |
int | ocfs2_write_begin_nolock (struct file *filp, struct address_space *mapping, loff_t pos, unsigned len, unsigned flags, struct page **pagep, void **fsdata, struct buffer_head *di_bh, struct page *mmap_page) |
int | ocfs2_write_end_nolock (struct address_space *mapping, loff_t pos, unsigned len, unsigned copied, struct page *page, void *fsdata) |
Variables | |
struct address_space_operations | ocfs2_aops |
#define OCFS2_MAX_CLUSTERS_PER_PAGE (PAGE_CACHE_SIZE / OCFS2_MIN_CLUSTERSIZE) |
#define OCFS2_MAX_CTXT_PAGES (OCFS2_MAX_CLUSTERSIZE / PAGE_CACHE_SIZE) |
struct address_space_operations ocfs2_aops |