24 #ifdef CONFIG_9P_FSCACHE
41 extern int __v9fs_cache_register(
void);
42 extern void __v9fs_cache_unregister(
void);
56 static inline int v9fs_fscache_release_page(
struct page *
page,
62 static inline void v9fs_fscache_invalidate_page(
struct page *
page)
67 static inline int v9fs_readpage_from_fscache(
struct inode *
inode,
73 static inline int v9fs_readpages_from_fscache(
struct inode *
inode,
82 static inline void v9fs_readpage_to_fscache(
struct inode *
inode,
89 static inline void v9fs_uncache_page(
struct inode *inode,
struct page *page)
92 fscache_uncache_page(v9inode->fscache, page);
96 static inline void v9fs_fscache_wait_on_page_write(
struct inode *inode,
104 static inline int v9fs_fscache_release_page(
struct page *page,
109 static inline void v9fs_fscache_invalidate_page(
struct page *page) {}
111 static inline int v9fs_readpage_from_fscache(
struct inode *inode,
117 static inline int v9fs_readpages_from_fscache(
struct inode *inode,
125 static inline void v9fs_readpage_to_fscache(
struct inode *inode,
129 static inline void v9fs_uncache_page(
struct inode *inode,
struct page *page)
132 static inline void v9fs_fscache_wait_on_page_write(
struct inode *inode,