Lines Matching refs:nfs_page

43 struct nfs_page {  struct
57 struct nfs_page *wb_this_page; /* list of reqs for this page */ argument
58 struct nfs_page *wb_head; /* head pointer for req list */ argument
65 void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *); argument
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 int nfs_wait_on_request(struct nfs_page *);
156 extern void nfs_unlock_request(struct nfs_page *req);
157 extern void nfs_unlock_and_release_request(struct nfs_page *);
158 extern struct nfs_page *nfs_page_group_lock_head(struct nfs_page *req);
159 extern int nfs_page_group_lock_subrequests(struct nfs_page *head);
160 extern void nfs_join_page_group(struct nfs_page *head,
163 extern int nfs_page_group_lock(struct nfs_page *);
164 extern void nfs_page_group_unlock(struct nfs_page *);
165 extern bool nfs_page_group_sync_on_bit(struct nfs_page *, unsigned int);
166 extern int nfs_page_set_headlock(struct nfs_page *req);
167 extern void nfs_page_clear_headlock(struct nfs_page *req);
176 static inline struct folio *nfs_page_to_folio(const struct nfs_page *req) in nfs_page_to_folio()
192 static inline struct page *nfs_page_to_page(const struct nfs_page *req, in nfs_page_to_page()
206 static inline struct inode *nfs_page_to_inode(const struct nfs_page *req) in nfs_page_to_inode()
221 static inline size_t nfs_page_max_length(const struct nfs_page *req) in nfs_page_max_length()
234 nfs_lock_request(struct nfs_page *req) in nfs_lock_request()
245 nfs_list_add_request(struct nfs_page *req, struct list_head *head) in nfs_list_add_request()
256 nfs_list_move_request(struct nfs_page *req, struct list_head *head) in nfs_list_move_request()
266 nfs_list_remove_request(struct nfs_page *req) in nfs_list_remove_request()
273 static inline struct nfs_page *
276 return list_entry(head, struct nfs_page, wb_list); in nfs_list_entry()
279 static inline loff_t req_offset(const struct nfs_page *req) in req_offset()
285 nfs_req_openctx(struct nfs_page *req) in nfs_req_openctx()