Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
super.h File Reference
#include <linux/ceph/ceph_debug.h>
#include <asm/unaligned.h>
#include <linux/backing-dev.h>
#include <linux/completion.h>
#include <linux/exportfs.h>
#include <linux/fs.h>
#include <linux/mempool.h>
#include <linux/pagemap.h>
#include <linux/wait.h>
#include <linux/writeback.h>
#include <linux/slab.h>
#include <linux/ceph/libceph.h>

Go to the source code of this file.

Data Structures

struct  ceph_mount_options
 
struct  ceph_fs_client
 
struct  ceph_cap
 
struct  ceph_cap_snap
 
struct  ceph_inode_frag
 
struct  ceph_inode_xattr
 
struct  ceph_dentry_info
 
struct  ceph_inode_xattrs_info
 
struct  ceph_inode_info
 
struct  ceph_file_info
 
struct  ceph_snap_realm
 

Macros

#define CEPH_SUPER_MAGIC   0x00c36400
 
#define CEPH_BLOCK_SHIFT   20 /* 1 MB */
 
#define CEPH_BLOCK   (1 << CEPH_BLOCK_SHIFT)
 
#define CEPH_MOUNT_OPT_DIRSTAT   (1<<4) /* `cat dirname` for stats */
 
#define CEPH_MOUNT_OPT_RBYTES   (1<<5) /* dir st_bytes = rbytes */
 
#define CEPH_MOUNT_OPT_NOASYNCREADDIR   (1<<7) /* no dcache readdir */
 
#define CEPH_MOUNT_OPT_INO32   (1<<8) /* 32 bit inos */
 
#define CEPH_MOUNT_OPT_DCACHE   (1<<9) /* use dcache for readdir etc */
 
#define CEPH_MOUNT_OPT_DEFAULT   (CEPH_MOUNT_OPT_RBYTES)
 
#define ceph_set_mount_opt(fsc, opt)   (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;
 
#define ceph_test_mount_opt(fsc, opt)   (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
 
#define CEPH_RSIZE_DEFAULT   0 /* max read size */
 
#define CEPH_RASIZE_DEFAULT   (8192*1024) /* readahead */
 
#define CEPH_MAX_READDIR_DEFAULT   1024
 
#define CEPH_MAX_READDIR_BYTES_DEFAULT   (512*1024)
 
#define CEPH_SNAPDIRNAME_DEFAULT   ".snap"
 
#define CHECK_CAPS_NODELAY   1 /* do not delay any further */
 
#define CHECK_CAPS_AUTHONLY   2 /* only check auth cap */
 
#define CHECK_CAPS_FLUSH   4 /* flush any dirty caps */
 
#define CEPH_MAX_DIRFRAG_REP   4
 
#define CEPH_D_COMPLETE   1 /* if set, d_u.d_subdirs is complete directory */
 
#define ceph_vinop(i)   ceph_inode(i)->i_vino.ino, ceph_inode(i)->i_vino.snap
 
#define CEPH_I_NODELAY   4 /* do not delay cap release */
 
#define CEPH_I_FLUSH   8 /* do not delay flush of dirty metadata */
 
#define CEPH_I_NOFLUSH   16 /* do not flush dirty caps */
 
#define CEPH_F_SYNC   1
 
#define CEPH_F_ATEND   2
 

Functions

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)
 
void ceph_dir_set_complete (struct inode *inode)
 
void ceph_dir_clear_complete (struct inode *inode)
 
bool ceph_dir_test_complete (struct inode *inode)
 
int __ceph_caps_issued (struct ceph_inode_info *ci, int *implemented)
 
int __ceph_caps_issued_mask (struct ceph_inode_info *ci, int mask, int t)
 
int __ceph_caps_issued_other (struct ceph_inode_info *ci, struct ceph_cap *cap)
 
int __ceph_mark_dirty_caps (struct ceph_inode_info *ci, int mask)
 
int ceph_caps_revoking (struct ceph_inode_info *ci, int mask)
 
int __ceph_caps_used (struct ceph_inode_info *ci)
 
int __ceph_caps_file_wanted (struct ceph_inode_info *ci)
 
int __ceph_caps_mds_wanted (struct ceph_inode_info *ci)
 
void ceph_caps_init (struct ceph_mds_client *mdsc)
 
void ceph_caps_finalize (struct ceph_mds_client *mdsc)
 
void ceph_adjust_min_caps (struct ceph_mds_client *mdsc, int delta)
 
int ceph_reserve_caps (struct ceph_mds_client *mdsc, struct ceph_cap_reservation *ctx, int need)
 
int ceph_unreserve_caps (struct ceph_mds_client *mdsc, struct ceph_cap_reservation *ctx)
 
void ceph_reservation_status (struct ceph_fs_client *client, int *total, int *avail, int *used, int *reserved, int *min)
 
struct ceph_snap_realmceph_lookup_snap_realm (struct ceph_mds_client *mdsc, u64 ino)
 
void ceph_get_snap_realm (struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm)
 
void ceph_put_snap_realm (struct ceph_mds_client *mdsc, struct ceph_snap_realm *realm)
 
int ceph_update_snap_trace (struct ceph_mds_client *m, void *p, void *e, bool deletion)
 
void ceph_handle_snap (struct ceph_mds_client *mdsc, struct ceph_mds_session *session, struct ceph_msg *msg)
 
void ceph_queue_cap_snap (struct ceph_inode_info *ci)
 
int __ceph_finish_cap_snap (struct ceph_inode_info *ci, struct ceph_cap_snap *capsnap)
 
void ceph_cleanup_empty_realms (struct ceph_mds_client *mdsc)
 
struct inodeceph_alloc_inode (struct super_block *sb)
 
void ceph_destroy_inode (struct inode *inode)
 
struct inodeceph_get_inode (struct super_block *sb, struct ceph_vino vino)
 
struct inodeceph_get_snapdir (struct inode *parent)
 
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_holds_cap (struct inode *inode, int mask)
 
int ceph_inode_set_size (struct inode *inode, loff_t size)
 
void __ceph_do_pending_vmtruncate (struct inode *inode)
 
void ceph_queue_vmtruncate (struct inode *inode)
 
void ceph_queue_invalidate (struct inode *inode)
 
void ceph_queue_writeback (struct inode *inode)
 
int ceph_do_getattr (struct inode *inode, int mask)
 
int ceph_permission (struct inode *inode, int mask)
 
int ceph_setattr (struct dentry *dentry, struct iattr *attr)
 
int ceph_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
 
int ceph_setxattr (struct dentry *, const char *, const void *, size_t, int)
 
ssize_t ceph_getxattr (struct dentry *, const char *, void *, size_t)
 
ssize_t ceph_listxattr (struct dentry *, char *, size_t)
 
int ceph_removexattr (struct dentry *, const char *)
 
void __ceph_build_xattrs_blob (struct ceph_inode_info *ci)
 
void __ceph_destroy_xattrs (struct ceph_inode_info *ci)
 
void __init ceph_xattr_init (void)
 
void ceph_xattr_exit (void)
 
const charceph_cap_string (int c)
 
void ceph_handle_caps (struct ceph_mds_session *session, struct ceph_msg *msg)
 
int ceph_add_cap (struct inode *inode, struct ceph_mds_session *session, u64 cap_id, int fmode, unsigned issued, unsigned wanted, unsigned cap, unsigned seq, u64 realmino, int flags, struct ceph_cap_reservation *caps_reservation)
 
void __ceph_remove_cap (struct ceph_cap *cap)
 
void ceph_put_cap (struct ceph_mds_client *mdsc, struct ceph_cap *cap)
 
void ceph_queue_caps_release (struct inode *inode)
 
int ceph_write_inode (struct inode *inode, struct writeback_control *wbc)
 
int ceph_fsync (struct file *file, loff_t start, loff_t end, int datasync)
 
void ceph_kick_flushing_caps (struct ceph_mds_client *mdsc, struct ceph_mds_session *session)
 
struct ceph_capceph_get_cap_for_mds (struct ceph_inode_info *ci, int mds)
 
int ceph_get_cap_mds (struct inode *inode)
 
void ceph_get_cap_refs (struct ceph_inode_info *ci, int caps)
 
void ceph_put_cap_refs (struct ceph_inode_info *ci, int had)
 
void ceph_put_wrbuffer_cap_refs (struct ceph_inode_info *ci, int nr, struct ceph_snap_context *snapc)
 
void __ceph_flush_snaps (struct ceph_inode_info *ci, struct ceph_mds_session **psession, int again)
 
void ceph_check_caps (struct ceph_inode_info *ci, int flags, struct ceph_mds_session *session)
 
void ceph_check_delayed_caps (struct ceph_mds_client *mdsc)
 
void ceph_flush_dirty_caps (struct ceph_mds_client *mdsc)
 
int ceph_encode_inode_release (void **p, struct inode *inode, int mds, int drop, int unless, int force)
 
int ceph_encode_dentry_release (void **p, struct dentry *dn, int mds, int drop, int unless)
 
int ceph_get_caps (struct ceph_inode_info *ci, int need, int want, int *got, loff_t endoff)
 
void ceph_put_fmode (struct ceph_inode_info *ci, int mode)
 
int ceph_mmap (struct file *file, struct vm_area_struct *vma)
 
int ceph_copy_to_page_vector (struct page **pages, const char *data, loff_t off, size_t len)
 
int ceph_copy_from_page_vector (struct page **pages, char *data, loff_t off, size_t len)
 
struct page ** ceph_alloc_page_vector (int num_pages, gfp_t flags)
 
int ceph_open (struct inode *inode, struct file *file)
 
int ceph_atomic_open (struct inode *dir, struct dentry *dentry, struct file *file, unsigned flags, umode_t mode, int *opened)
 
int ceph_release (struct inode *inode, struct file *filp)
 
int ceph_handle_notrace_create (struct inode *dir, struct dentry *dentry)
 
int ceph_handle_snapdir (struct ceph_mds_request *req, struct dentry *dentry, int err)
 
struct dentryceph_finish_lookup (struct ceph_mds_request *req, struct dentry *dentry, int err)
 
void ceph_dentry_lru_add (struct dentry *dn)
 
void ceph_dentry_lru_touch (struct dentry *dn)
 
void ceph_dentry_lru_del (struct dentry *dn)
 
void ceph_invalidate_dentry_lease (struct dentry *dentry)
 
unsigned ceph_dentry_hash (struct inode *dir, struct dentry *dn)
 
struct inodeceph_get_dentry_parent_inode (struct dentry *dentry)
 
int ceph_init_dentry (struct dentry *dentry)
 
long ceph_ioctl (struct file *file, unsigned int cmd, unsigned long arg)
 
int ceph_lock (struct file *file, int cmd, struct file_lock *fl)
 
int ceph_flock (struct file *file, int cmd, struct file_lock *fl)
 
void ceph_count_locks (struct inode *inode, int *p_num, int *f_num)
 
int ceph_encode_locks (struct inode *i, struct ceph_pagelist *p, int p_locks, int f_locks)
 
int lock_to_ceph_filelock (struct file_lock *fl, struct ceph_filelock *c)
 
int ceph_fs_debugfs_init (struct ceph_fs_client *client)
 
void ceph_fs_debugfs_cleanup (struct ceph_fs_client *client)
 

Variables

struct inode_operations ceph_file_iops
 
struct address_space_operations ceph_aops
 
struct file_operations ceph_file_fops
 
struct file_operations ceph_dir_fops
 
struct inode_operations ceph_dir_iops
 
struct dentry_operations
ceph_dentry_ops
ceph_snap_dentry_ops 
ceph_snapdir_dentry_ops
 
struct export_operations ceph_export_ops
 

Macro Definition Documentation

#define CEPH_BLOCK   (1 << CEPH_BLOCK_SHIFT)

Definition at line 25 of file super.h.

#define CEPH_BLOCK_SHIFT   20 /* 1 MB */

Definition at line 24 of file super.h.

#define CEPH_D_COMPLETE   1 /* if set, d_u.d_subdirs is complete directory */

Definition at line 228 of file super.h.

#define CEPH_F_ATEND   2

Definition at line 572 of file super.h.

#define CEPH_F_SYNC   1

Definition at line 571 of file super.h.

#define CEPH_I_FLUSH   8 /* do not delay flush of dirty metadata */

Definition at line 436 of file super.h.

#define CEPH_I_NODELAY   4 /* do not delay cap release */

Definition at line 435 of file super.h.

#define CEPH_I_NOFLUSH   16 /* do not flush dirty caps */

Definition at line 437 of file super.h.

#define CEPH_MAX_DIRFRAG_REP   4

Definition at line 171 of file super.h.

#define CEPH_MAX_READDIR_BYTES_DEFAULT   (512*1024)

Definition at line 43 of file super.h.

#define CEPH_MAX_READDIR_DEFAULT   1024

Definition at line 42 of file super.h.

#define CEPH_MOUNT_OPT_DCACHE   (1<<9) /* use dcache for readdir etc */

Definition at line 31 of file super.h.

#define CEPH_MOUNT_OPT_DEFAULT   (CEPH_MOUNT_OPT_RBYTES)

Definition at line 33 of file super.h.

#define CEPH_MOUNT_OPT_DIRSTAT   (1<<4) /* `cat dirname` for stats */

Definition at line 27 of file super.h.

#define CEPH_MOUNT_OPT_INO32   (1<<8) /* 32 bit inos */

Definition at line 30 of file super.h.

#define CEPH_MOUNT_OPT_NOASYNCREADDIR   (1<<7) /* no dcache readdir */

Definition at line 29 of file super.h.

#define CEPH_MOUNT_OPT_RBYTES   (1<<5) /* dir st_bytes = rbytes */

Definition at line 28 of file super.h.

#define CEPH_RASIZE_DEFAULT   (8192*1024) /* readahead */

Definition at line 41 of file super.h.

#define CEPH_RSIZE_DEFAULT   0 /* max read size */

Definition at line 40 of file super.h.

#define ceph_set_mount_opt (   fsc,
  opt 
)    (fsc)->mount_options->flags |= CEPH_MOUNT_OPT_##opt;

Definition at line 35 of file super.h.

#define CEPH_SNAPDIRNAME_DEFAULT   ".snap"

Definition at line 44 of file super.h.

#define CEPH_SUPER_MAGIC   0x00c36400

Definition at line 20 of file super.h.

#define ceph_test_mount_opt (   fsc,
  opt 
)    (!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))

Definition at line 37 of file super.h.

#define ceph_vinop (   i)    ceph_inode(i)->i_vino.ino, ceph_inode(i)->i_vino.snap

Definition at line 405 of file super.h.

#define CHECK_CAPS_AUTHONLY   2 /* only check auth cap */

Definition at line 123 of file super.h.

#define CHECK_CAPS_FLUSH   4 /* flush any dirty caps */

Definition at line 124 of file super.h.

#define CHECK_CAPS_NODELAY   1 /* do not delay any further */

Definition at line 122 of file super.h.

Function Documentation

void __ceph_build_xattrs_blob ( struct ceph_inode_info ci)

Definition at line 521 of file xattr.c.

int __ceph_caps_file_wanted ( struct ceph_inode_info ci)

Definition at line 830 of file caps.c.

int __ceph_caps_issued ( struct ceph_inode_info ci,
int implemented 
)

Definition at line 664 of file caps.c.

int __ceph_caps_issued_mask ( struct ceph_inode_info ci,
int  mask,
int  t 
)

Definition at line 730 of file caps.c.

int __ceph_caps_issued_other ( struct ceph_inode_info ci,
struct ceph_cap cap 
)

Definition at line 688 of file caps.c.

int __ceph_caps_mds_wanted ( struct ceph_inode_info ci)

Definition at line 843 of file caps.c.

int __ceph_caps_used ( struct ceph_inode_info ci)

Definition at line 811 of file caps.c.

void __ceph_destroy_xattrs ( struct ceph_inode_info ci)

Definition at line 382 of file xattr.c.

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.

int __ceph_finish_cap_snap ( struct ceph_inode_info ci,
struct ceph_cap_snap capsnap 
)

Definition at line 544 of file snap.c.

void __ceph_flush_snaps ( struct ceph_inode_info ci,
struct ceph_mds_session **  psession,
int  again 
)

Definition at line 1204 of file caps.c.

int __ceph_mark_dirty_caps ( struct ceph_inode_info ci,
int  mask 
)

Definition at line 1336 of file caps.c.

void __ceph_remove_cap ( struct ceph_cap cap)

Definition at line 872 of file caps.c.

int ceph_add_cap ( struct inode inode,
struct ceph_mds_session session,
u64  cap_id,
int  fmode,
unsigned  issued,
unsigned  wanted,
unsigned  cap,
unsigned  seq,
u64  realmino,
int  flags,
struct ceph_cap_reservation caps_reservation 
)

Definition at line 512 of file caps.c.

void ceph_adjust_min_caps ( struct ceph_mds_client mdsc,
int  delta 
)

Definition at line 142 of file caps.c.

struct inode* ceph_alloc_inode ( struct super_block sb)
read

Definition at line 289 of file inode.c.

struct page** ceph_alloc_page_vector ( int  num_pages,
gfp_t  flags 
)
read

Definition at line 73 of file pagevec.c.

int ceph_atomic_open ( struct inode dir,
struct dentry dentry,
struct file file,
unsigned  flags,
umode_t  mode,
int opened 
)

Definition at line 211 of file file.c.

const char* ceph_cap_string ( int  c)

Definition at line 70 of file caps.c.

void ceph_caps_finalize ( struct ceph_mds_client mdsc)

Definition at line 123 of file caps.c.

void ceph_caps_init ( struct ceph_mds_client mdsc)

Definition at line 117 of file caps.c.

int ceph_caps_revoking ( struct ceph_inode_info ci,
int  mask 
)

Definition at line 789 of file caps.c.

void ceph_check_caps ( struct ceph_inode_info ci,
int  flags,
struct ceph_mds_session session 
)

Definition at line 1450 of file caps.c.

void ceph_check_delayed_caps ( struct ceph_mds_client mdsc)

Definition at line 2907 of file caps.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_cleanup_empty_realms ( struct ceph_mds_client mdsc)

Definition at line 237 of file snap.c.

int ceph_copy_from_page_vector ( struct page **  pages,
char data,
loff_t  off,
size_t  len 
)

Definition at line 145 of file pagevec.c.

int ceph_copy_to_page_vector ( struct page **  pages,
const char data,
loff_t  off,
size_t  len 
)

Definition at line 121 of file pagevec.c.

void ceph_count_locks ( struct inode inode,
int fcntl_count,
int flock_count 
)

Must be called with BKL already held. Fills in the passed counter variables, so you can prepare pagelist metadata before calling ceph_encode_locks.

Definition at line 176 of file locks.c.

unsigned ceph_dentry_hash ( struct inode dir,
struct dentry dn 
)

Definition at line 1293 of file dir.c.

void ceph_dentry_lru_add ( struct dentry dn)

Definition at line 1248 of file dir.c.

void ceph_dentry_lru_del ( struct dentry dn)

Definition at line 1275 of file dir.c.

void ceph_dentry_lru_touch ( struct dentry dn)

Definition at line 1262 of file dir.c.

void ceph_destroy_inode ( struct inode inode)

Definition at line 390 of file inode.c.

void ceph_dir_clear_complete ( struct inode inode)

Definition at line 1082 of file dir.c.

void ceph_dir_set_complete ( struct inode inode)

Definition at line 1070 of file dir.c.

bool ceph_dir_test_complete ( struct inode inode)

Definition at line 1093 of file dir.c.

int ceph_do_getattr ( struct inode inode,
int  mask 
)

Definition at line 1738 of file inode.c.

int ceph_encode_dentry_release ( void **  p,
struct dentry dn,
int  mds,
int  drop,
int  unless 
)

Definition at line 3054 of file caps.c.

int ceph_encode_inode_release ( void **  p,
struct inode inode,
int  mds,
int  drop,
int  unless,
int  force 
)

Definition at line 2986 of file caps.c.

int ceph_encode_locks ( struct inode inode,
struct ceph_pagelist pagelist,
int  num_fcntl_locks,
int  num_flock_locks 
)

Encode the flock and fcntl locks for the given inode into the pagelist. Format is: #fcntl locks, sequential fcntl locks, flock locks, sequential flock locks. Must be called with lock_flocks() already held. If we encounter more of a specific lock type than expected, we return the value 1.

Definition at line 201 of file locks.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 dentry* ceph_finish_lookup ( struct ceph_mds_request req,
struct dentry dentry,
int  err 
)
read

Definition at line 541 of file dir.c.

int ceph_flock ( struct file file,
int  cmd,
struct file_lock fl 
)

Definition at line 130 of file locks.c.

void ceph_flush_dirty_caps ( struct ceph_mds_client mdsc)

Definition at line 2934 of file caps.c.

void ceph_fs_debugfs_cleanup ( struct ceph_fs_client client)

Definition at line 270 of file debugfs.c.

int ceph_fs_debugfs_init ( struct ceph_fs_client client)

Definition at line 265 of file debugfs.c.

int ceph_fsync ( struct file file,
loff_t  start,
loff_t  end,
int  datasync 
)

Definition at line 1811 of file caps.c.

struct ceph_cap* ceph_get_cap_for_mds ( struct ceph_inode_info ci,
int  mds 
)
read

Definition at line 331 of file caps.c.

int ceph_get_cap_mds ( struct inode inode)

Definition at line 362 of file caps.c.

void ceph_get_cap_refs ( struct ceph_inode_info ci,
int  caps 
)

Definition at line 2140 of file caps.c.

int ceph_get_caps ( struct ceph_inode_info ci,
int  need,
int  want,
int got,
loff_t  endoff 
)

Definition at line 2115 of file caps.c.

struct inode* ceph_get_dentry_parent_inode ( struct dentry dentry)
read

Definition at line 73 of file dir.c.

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

Definition at line 45 of file inode.c.

void ceph_get_snap_realm ( struct ceph_mds_client mdsc,
struct ceph_snap_realm realm 
)

Definition at line 62 of file snap.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.

ssize_t ceph_getxattr ( struct dentry ,
const char ,
void ,
size_t   
)

Definition at line 563 of file xattr.c.

void ceph_handle_caps ( struct ceph_mds_session session,
struct ceph_msg msg 
)

Definition at line 2758 of file caps.c.

int ceph_handle_notrace_create ( struct inode dir,
struct dentry dentry 
)

Definition at line 640 of file dir.c.

void ceph_handle_snap ( struct ceph_mds_client mdsc,
struct ceph_mds_session session,
struct ceph_msg msg 
)

Definition at line 771 of file snap.c.

int ceph_handle_snapdir ( struct ceph_mds_request req,
struct dentry dentry,
int  err 
)

Definition at line 509 of file dir.c.

int ceph_init_dentry ( struct dentry dentry)

Definition at line 36 of file dir.c.

int ceph_inode_holds_cap ( struct inode inode,
int  mask 
)
int ceph_inode_set_size ( struct inode inode,
loff_t  size 
)

Definition at line 1315 of file inode.c.

void ceph_invalidate_dentry_lease ( struct dentry dentry)

Definition at line 926 of file dir.c.

long ceph_ioctl ( struct file file,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 263 of file ioctl.c.

void ceph_kick_flushing_caps ( struct ceph_mds_client mdsc,
struct ceph_mds_session session 
)

Definition at line 1910 of file caps.c.

ssize_t ceph_listxattr ( struct dentry ,
char ,
size_t   
)

Definition at line 628 of file xattr.c.

int ceph_lock ( struct file file,
int  cmd,
struct file_lock fl 
)

Attempt to set an fcntl lock. For now, this just goes away to the server. Later it may be more awesome.

Definition at line 83 of file locks.c.

struct ceph_snap_realm* ceph_lookup_snap_realm ( struct ceph_mds_client mdsc,
u64  ino 
)
read

Definition at line 137 of file snap.c.

int ceph_mmap ( struct file file,
struct vm_area_struct vma 
)

Definition at line 1230 of file addr.c.

int ceph_open ( struct inode inode,
struct file file 
)

Definition at line 115 of file file.c.

int ceph_permission ( struct inode inode,
int  mask 
)

Definition at line 1772 of file inode.c.

void ceph_put_cap ( struct ceph_mds_client mdsc,
struct ceph_cap cap 
)

Definition at line 266 of file caps.c.

void ceph_put_cap_refs ( struct ceph_inode_info ci,
int  had 
)

Definition at line 2156 of file caps.c.

void ceph_put_fmode ( struct ceph_inode_info ci,
int  mode 
)

Definition at line 2961 of file caps.c.

void ceph_put_snap_realm ( struct ceph_mds_client mdsc,
struct ceph_snap_realm realm 
)

Definition at line 196 of file snap.c.

void ceph_put_wrbuffer_cap_refs ( struct ceph_inode_info ci,
int  nr,
struct ceph_snap_context snapc 
)

Definition at line 2217 of file caps.c.

void ceph_queue_cap_snap ( struct ceph_inode_info ci)

Definition at line 439 of file snap.c.

void ceph_queue_caps_release ( struct inode inode)

Definition at line 1034 of file caps.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_release ( struct inode inode,
struct file filp 
)

Definition at line 275 of file file.c.

int ceph_removexattr ( struct dentry ,
const char  
)

Definition at line 875 of file xattr.c.

void ceph_reservation_status ( struct ceph_fs_client client,
int total,
int avail,
int used,
int reserved,
int min 
)

Definition at line 291 of file caps.c.

int ceph_reserve_caps ( struct ceph_mds_client mdsc,
struct ceph_cap_reservation ctx,
int  need 
)

Definition at line 150 of file caps.c.

int ceph_setattr ( struct dentry dentry,
struct iattr attr 
)

Definition at line 1531 of file inode.c.

int ceph_setxattr ( struct dentry ,
const char ,
const void ,
size_t  ,
int   
)

Definition at line 759 of file xattr.c.

int ceph_unreserve_caps ( struct ceph_mds_client mdsc,
struct ceph_cap_reservation ctx 
)

Definition at line 209 of file caps.c.

int ceph_update_snap_trace ( struct ceph_mds_client m,
void p,
void e,
bool  deletion 
)

Definition at line 622 of file snap.c.

int ceph_write_inode ( struct inode inode,
struct writeback_control wbc 
)

Definition at line 1852 of file caps.c.

void ceph_xattr_exit ( void  )

Definition at line 180 of file xattr.c.

void __init ceph_xattr_init ( void  )

Definition at line 174 of file xattr.c.

int lock_to_ceph_filelock ( struct file_lock fl,
struct ceph_filelock c 
)

Definition at line 258 of file locks.c.

Variable Documentation

Definition at line 800 of file super.h.

struct file_operations ceph_dir_fops

Definition at line 30 of file dir.c.

struct inode_operations ceph_dir_iops

Definition at line 29 of file dir.c.

struct export_operations ceph_export_ops

Definition at line 271 of file export.c.

struct file_operations ceph_file_fops

Definition at line 864 of file file.c.

struct inode_operations ceph_file_iops

Definition at line 89 of file inode.c.

Definition at line 1344 of file dir.c.