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 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 int nfs_page_set_headlock(struct nfs_page *req);
164 extern void nfs_page_clear_headlock(struct nfs_page *req);
173 static inline struct folio *nfs_page_to_folio(const struct nfs_page *req) in nfs_page_to_folio()
189 static inline struct page *nfs_page_to_page(const struct nfs_page *req, in nfs_page_to_page()
203 static inline struct inode *nfs_page_to_inode(const struct nfs_page *req) in nfs_page_to_inode()
218 static inline size_t nfs_page_max_length(const struct nfs_page *req) in nfs_page_max_length()
231 nfs_lock_request(struct nfs_page *req) in nfs_lock_request()
242 nfs_list_add_request(struct nfs_page *req, struct list_head *head) in nfs_list_add_request()
253 nfs_list_move_request(struct nfs_page *req, struct list_head *head) in nfs_list_move_request()
263 nfs_list_remove_request(struct nfs_page *req) in nfs_list_remove_request()
270 static inline struct nfs_page *
273 return list_entry(head, struct nfs_page, wb_list); in nfs_list_entry()
276 static inline loff_t req_offset(const struct nfs_page *req) in req_offset()
282 nfs_req_openctx(struct nfs_page *req) in nfs_req_openctx()