Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
uptodate.c File Reference
#include <linux/fs.h>
#include <linux/types.h>
#include <linux/slab.h>
#include <linux/highmem.h>
#include <linux/buffer_head.h>
#include <linux/rbtree.h>
#include <cluster/masklog.h>
#include "ocfs2.h"
#include "inode.h"
#include "uptodate.h"
#include "ocfs2_trace.h"

Go to the source code of this file.

Data Structures

struct  ocfs2_meta_cache_item
 

Functions

u64 ocfs2_metadata_cache_owner (struct ocfs2_caching_info *ci)
 
struct super_blockocfs2_metadata_cache_get_super (struct ocfs2_caching_info *ci)
 
void ocfs2_metadata_cache_io_lock (struct ocfs2_caching_info *ci)
 
void ocfs2_metadata_cache_io_unlock (struct ocfs2_caching_info *ci)
 
void ocfs2_metadata_cache_init (struct ocfs2_caching_info *ci, const struct ocfs2_caching_operations *ops)
 
void ocfs2_metadata_cache_exit (struct ocfs2_caching_info *ci)
 
void ocfs2_metadata_cache_purge (struct ocfs2_caching_info *ci)
 
int ocfs2_buffer_uptodate (struct ocfs2_caching_info *ci, struct buffer_head *bh)
 
int ocfs2_buffer_read_ahead (struct ocfs2_caching_info *ci, struct buffer_head *bh)
 
void ocfs2_set_buffer_uptodate (struct ocfs2_caching_info *ci, struct buffer_head *bh)
 
void ocfs2_set_new_buffer_uptodate (struct ocfs2_caching_info *ci, struct buffer_head *bh)
 
void ocfs2_remove_from_cache (struct ocfs2_caching_info *ci, struct buffer_head *bh)
 
void ocfs2_remove_xattr_clusters_from_cache (struct ocfs2_caching_info *ci, sector_t block, u32 c_len)
 
int __init init_ocfs2_uptodate_cache (void)
 
void exit_ocfs2_uptodate_cache (void)
 

Function Documentation

void exit_ocfs2_uptodate_cache ( void  )

Definition at line 634 of file uptodate.c.

int __init init_ocfs2_uptodate_cache ( void  )

Definition at line 623 of file uptodate.c.

int ocfs2_buffer_read_ahead ( struct ocfs2_caching_info ci,
struct buffer_head *  bh 
)

Definition at line 296 of file uptodate.c.

int ocfs2_buffer_uptodate ( struct ocfs2_caching_info ci,
struct buffer_head *  bh 
)

Definition at line 273 of file uptodate.c.

void ocfs2_metadata_cache_exit ( struct ocfs2_caching_info ci)

Definition at line 136 of file uptodate.c.

struct super_block* ocfs2_metadata_cache_get_super ( struct ocfs2_caching_info ci)
read

Definition at line 79 of file uptodate.c.

void ocfs2_metadata_cache_init ( struct ocfs2_caching_info ci,
const struct ocfs2_caching_operations ops 
)

Definition at line 127 of file uptodate.c.

void ocfs2_metadata_cache_io_lock ( struct ocfs2_caching_info ci)

Definition at line 100 of file uptodate.c.

void ocfs2_metadata_cache_io_unlock ( struct ocfs2_caching_info ci)

Definition at line 107 of file uptodate.c.

u64 ocfs2_metadata_cache_owner ( struct ocfs2_caching_info ci)

Definition at line 72 of file uptodate.c.

void ocfs2_metadata_cache_purge ( struct ocfs2_caching_info ci)

Definition at line 171 of file uptodate.c.

void ocfs2_remove_from_cache ( struct ocfs2_caching_info ci,
struct buffer_head *  bh 
)

Definition at line 603 of file uptodate.c.

void ocfs2_remove_xattr_clusters_from_cache ( struct ocfs2_caching_info ci,
sector_t  block,
u32  c_len 
)

Definition at line 612 of file uptodate.c.

void ocfs2_set_buffer_uptodate ( struct ocfs2_caching_info ci,
struct buffer_head *  bh 
)

Definition at line 483 of file uptodate.c.

void ocfs2_set_new_buffer_uptodate ( struct ocfs2_caching_info ci,
struct buffer_head *  bh 
)

Definition at line 521 of file uptodate.c.