Lines Matching defs:nfs_page

3  * linux/include/linux/nfs_page.h
43 struct nfs_page {
57 struct nfs_page *wb_this_page; /* list of reqs for this page */
58 struct nfs_page *wb_head; /* head pointer for req list */
65 void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *);
66 size_t (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *,
67 struct nfs_page *);
70 struct nfs_page *);
127 extern struct nfs_page *nfs_page_create_from_page(struct nfs_open_context *ctx,
132 extern struct nfs_page *nfs_page_create_from_folio(struct nfs_open_context *ctx,
136 extern void nfs_release_request(struct nfs_page *);
147 struct nfs_page *);
153 struct nfs_page *prev,
154 struct nfs_page *req);
155 extern void nfs_unlock_request(struct nfs_page *req);
156 extern void nfs_unlock_and_release_request(struct nfs_page *);
157 extern void nfs_join_page_group(struct nfs_page *head,
160 extern int nfs_page_group_lock(struct nfs_page *);
161 extern void nfs_page_group_unlock(struct nfs_page *);
162 extern bool nfs_page_group_sync_on_bit(struct nfs_page *, unsigned int);
163 extern bool nfs_page_group_sync_on_bit_locked(struct nfs_page *, unsigned int);
164 extern int nfs_page_set_headlock(struct nfs_page *req);
165 extern void nfs_page_clear_headlock(struct nfs_page *req);
170 * @req: pointer to a struct nfs_page
174 static inline struct folio *nfs_page_to_folio(const struct nfs_page *req)
183 * @req: pointer to a struct nfs_page
190 static inline struct page *nfs_page_to_page(const struct nfs_page *req,
202 * @req: pointer to a struct nfs_page
204 static inline struct inode *nfs_page_to_inode(const struct nfs_page *req)
215 * @req: pointer to a struct nfs_page
219 static inline size_t nfs_page_max_length(const struct nfs_page *req)
232 nfs_lock_request(struct nfs_page *req)
243 nfs_list_add_request(struct nfs_page *req, struct list_head *head)
254 nfs_list_move_request(struct nfs_page *req, struct list_head *head)
264 nfs_list_remove_request(struct nfs_page *req)
271 static inline struct nfs_page *
274 return list_entry(head, struct nfs_page, wb_list);
277 static inline loff_t req_offset(const struct nfs_page *req)
283 nfs_req_openctx(struct nfs_page *req)