Lines Matching refs:inode
20 void ceph_fscache_register_inode_cookie(struct inode *inode);
23 void ceph_fscache_use_cookie(struct inode *inode, bool will_modify);
24 void ceph_fscache_unuse_cookie(struct inode *inode, bool update);
26 void ceph_fscache_update(struct inode *inode);
27 void ceph_fscache_invalidate(struct inode *inode, bool dio_write);
34 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) in ceph_fscache_resize() argument
36 struct ceph_inode_info *ci = ceph_inode(inode); in ceph_fscache_resize()
40 ceph_fscache_use_cookie(inode, true); in ceph_fscache_resize()
42 ceph_fscache_unuse_cookie(inode, true); in ceph_fscache_resize()
46 static inline int ceph_fscache_unpin_writeback(struct inode *inode, in ceph_fscache_unpin_writeback() argument
49 return netfs_unpin_writeback(inode, wbc); in ceph_fscache_unpin_writeback()
54 static inline bool ceph_is_cache_enabled(struct inode *inode) in ceph_is_cache_enabled() argument
56 return fscache_cookie_enabled(ceph_fscache_cookie(ceph_inode(inode))); in ceph_is_cache_enabled()
70 static inline void ceph_fscache_register_inode_cookie(struct inode *inode) in ceph_fscache_register_inode_cookie() argument
78 static inline void ceph_fscache_use_cookie(struct inode *inode, bool will_modify) in ceph_fscache_use_cookie() argument
82 static inline void ceph_fscache_unuse_cookie(struct inode *inode, bool update) in ceph_fscache_unuse_cookie() argument
86 static inline void ceph_fscache_update(struct inode *inode) in ceph_fscache_update() argument
90 static inline void ceph_fscache_invalidate(struct inode *inode, bool dio_write) in ceph_fscache_invalidate() argument
99 static inline void ceph_fscache_resize(struct inode *inode, loff_t to) in ceph_fscache_resize() argument
103 static inline int ceph_fscache_unpin_writeback(struct inode *inode, in ceph_fscache_unpin_writeback() argument
111 static inline bool ceph_is_cache_enabled(struct inode *inode) in ceph_is_cache_enabled() argument