Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
inode.c File Reference
#include <linux/ceph/ceph_debug.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/string.h>
#include <linux/uaccess.h>
#include <linux/kernel.h>
#include <linux/namei.h>
#include <linux/writeback.h>
#include <linux/vmalloc.h>
#include "super.h"
#include "mds_client.h"
#include <linux/ceph/decode.h>

Go to the source code of this file.

Functions

struct inodeceph_get_inode (struct super_block *sb, struct ceph_vino vino)
 
struct inodeceph_get_snapdir (struct inode *parent)
 
struct ceph_inode_frag__ceph_find_frag (struct ceph_inode_info *ci, u32 f)
 
u32 ceph_choose_frag (struct ceph_inode_info *ci, u32 v, struct ceph_inode_frag *pfrag, int *found)
 
struct inodeceph_alloc_inode (struct super_block *sb)
 
void ceph_destroy_inode (struct inode *inode)
 
int ceph_fill_file_size (struct inode *inode, int issued, u32 truncate_seq, u64 truncate_size, u64 size)
 
void ceph_fill_file_time (struct inode *inode, int issued, u64 time_warp_seq, struct timespec *ctime, struct timespec *mtime, struct timespec *atime)
 
int ceph_fill_trace (struct super_block *sb, struct ceph_mds_request *req, struct ceph_mds_session *session)
 
int ceph_readdir_prepopulate (struct ceph_mds_request *req, struct ceph_mds_session *session)
 
int ceph_inode_set_size (struct inode *inode, loff_t size)
 
void ceph_queue_writeback (struct inode *inode)
 
void ceph_queue_invalidate (struct inode *inode)
 
void ceph_queue_vmtruncate (struct inode *inode)
 
void __ceph_do_pending_vmtruncate (struct inode *inode)
 
int ceph_setattr (struct dentry *dentry, struct iattr *attr)
 
int ceph_do_getattr (struct inode *inode, int mask)
 
int ceph_permission (struct inode *inode, int mask)
 
int ceph_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
 

Variables

struct inode_operations ceph_file_iops
 

Function Documentation

void __ceph_do_pending_vmtruncate ( struct inode inode)

Definition at line 1465 of file inode.c.

struct ceph_inode_frag* __ceph_find_frag ( struct ceph_inode_info ci,
u32  f 
)
read

Definition at line 155 of file inode.c.

struct inode* ceph_alloc_inode ( struct super_block sb)
read

Definition at line 289 of file inode.c.

u32 ceph_choose_frag ( struct ceph_inode_info ci,
u32  v,
struct ceph_inode_frag pfrag,
int found 
)

Definition at line 178 of file inode.c.

void ceph_destroy_inode ( struct inode inode)

Definition at line 390 of file inode.c.

int ceph_do_getattr ( struct inode inode,
int  mask 
)

Definition at line 1738 of file inode.c.

int ceph_fill_file_size ( struct inode inode,
int  issued,
u32  truncate_seq,
u64  truncate_size,
u64  size 
)

Definition at line 441 of file inode.c.

void ceph_fill_file_time ( struct inode inode,
int  issued,
u64  time_warp_seq,
struct timespec ctime,
struct timespec mtime,
struct timespec atime 
)

Definition at line 483 of file inode.c.

int ceph_fill_trace ( struct super_block sb,
struct ceph_mds_request req,
struct ceph_mds_session session 
)

Definition at line 937 of file inode.c.

struct inode* ceph_get_inode ( struct super_block sb,
struct ceph_vino  vino 
)
read

Definition at line 45 of file inode.c.

struct inode* ceph_get_snapdir ( struct inode parent)
read

Definition at line 67 of file inode.c.

int ceph_getattr ( struct vfsmount mnt,
struct dentry dentry,
struct kstat stat 
)

Definition at line 1790 of file inode.c.

int ceph_inode_set_size ( struct inode inode,
loff_t  size 
)

Definition at line 1315 of file inode.c.

int ceph_permission ( struct inode inode,
int  mask 
)

Definition at line 1772 of file inode.c.

void ceph_queue_invalidate ( struct inode inode)

Definition at line 1364 of file inode.c.

void ceph_queue_vmtruncate ( struct inode inode)

Definition at line 1444 of file inode.c.

void ceph_queue_writeback ( struct inode inode)

Definition at line 1338 of file inode.c.

int ceph_readdir_prepopulate ( struct ceph_mds_request req,
struct ceph_mds_session session 
)

Definition at line 1198 of file inode.c.

int ceph_setattr ( struct dentry dentry,
struct iattr attr 
)

Definition at line 1531 of file inode.c.

Variable Documentation

struct inode_operations ceph_file_iops
Initial value:
= {
.permission = ceph_permission,
.setattr = ceph_setattr,
.getattr = ceph_getattr,
.setxattr = ceph_setxattr,
.getxattr = ceph_getxattr,
.listxattr = ceph_listxattr,
.removexattr = ceph_removexattr,
}

Definition at line 89 of file inode.c.