Lines Matching refs:inode

15 void ceph_fscache_register_inode_cookie(struct inode *inode)  in ceph_fscache_register_inode_cookie()  argument
17 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_register_inode_cookie()
18 struct ceph_fs_client *fsc = ceph_inode_to_fs_client(inode); in ceph_fscache_register_inode_cookie()
25 if (!S_ISREG(inode->i_mode)) in ceph_fscache_register_inode_cookie()
29 if (!(inode->i_state & I_NEW)) in ceph_fscache_register_inode_cookie()
38 i_size_read(inode)); in ceph_fscache_register_inode_cookie()
40 mapping_set_release_always(inode->i_mapping); in ceph_fscache_register_inode_cookie()
48 void ceph_fscache_use_cookie(struct inode *inode, bool will_modify) in ceph_fscache_use_cookie() argument
50 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_use_cookie()
55 void ceph_fscache_unuse_cookie(struct inode *inode, bool update) in ceph_fscache_unuse_cookie() argument
57 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_unuse_cookie()
60 loff_t i_size = i_size_read(inode); in ceph_fscache_unuse_cookie()
69 void ceph_fscache_update(struct inode *inode) in ceph_fscache_update() argument
71 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_update()
72 loff_t i_size = i_size_read(inode); in ceph_fscache_update()
77 void ceph_fscache_invalidate(struct inode *inode, bool dio_write) in ceph_fscache_invalidate() argument
79 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_invalidate()
82 &ci->i_version, i_size_read(inode), in ceph_fscache_invalidate()