Lines Matching refs:inode
56 * Definition of the auxiliary data attached to NFS inode storage objects
60 * auxiliary data attached to the data storage object backing an inode. This
61 * permits coherency to be managed when a new inode binds to an already extant
92 extern void nfs_fscache_init_inode(struct inode *);
93 extern void nfs_fscache_clear_inode(struct inode *);
94 extern void nfs_fscache_open_file(struct inode *, struct file *);
96 extern void __nfs_fscache_invalidate_page(struct page *, struct inode *);
100 struct inode *, struct page *);
102 struct inode *, struct address_space *,
104 extern void __nfs_readpage_to_fscache(struct inode *, struct page *, int);
121 struct inode *inode)
124 __nfs_fscache_invalidate_page(page, inode);
128 * Retrieve a page from an inode data storage object.
131 struct inode *inode,
134 if (NFS_I(inode)->fscache)
135 return __nfs_readpage_from_fscache(ctx, inode, page);
140 * Retrieve a set of pages from an inode data storage object.
143 struct inode *inode,
148 if (NFS_I(inode)->fscache)
149 return __nfs_readpages_from_fscache(ctx, inode, mapping, pages,
155 * Store a page newly fetched from the server in an inode data storage object
158 static inline void nfs_readpage_to_fscache(struct inode *inode,
163 __nfs_readpage_to_fscache(inode, page, sync);
167 * Invalidate the contents of fscache for this inode. This will not sleep.
169 static inline void nfs_fscache_invalidate(struct inode *inode)
171 fscache_invalidate(NFS_I(inode)->fscache);
177 static inline void nfs_fscache_wait_on_invalidate(struct inode *inode)
179 fscache_wait_on_invalidate(NFS_I(inode)->fscache);
201 static inline void nfs_fscache_init_inode(struct inode *inode) {}
202 static inline void nfs_fscache_clear_inode(struct inode *inode) {}
203 static inline void nfs_fscache_open_file(struct inode *inode,
211 struct inode *inode) {}
216 struct inode *inode,
222 struct inode *inode,
229 static inline void nfs_readpage_to_fscache(struct inode *inode,
233 static inline void nfs_fscache_invalidate(struct inode *inode) {}
234 static inline void nfs_fscache_wait_on_invalidate(struct inode *inode) {}