Home
last modified time | relevance | path

Searched refs:nfs_page (Results 1 – 9 of 9) sorted by relevance

/linux-2.6.39/include/linux/
Dnfs_page.h40 struct nfs_page { struct
71 int (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *); argument
76 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
81 extern void nfs_release_request(struct nfs_page *req);
92 struct nfs_page *);
95 extern int nfs_wait_on_request(struct nfs_page *);
96 extern void nfs_unlock_request(struct nfs_page *req);
97 extern int nfs_set_page_tag_locked(struct nfs_page *req);
98 extern void nfs_clear_page_tag_locked(struct nfs_page *req);
105 nfs_lock_request_dontget(struct nfs_page *req) in nfs_lock_request_dontget()
[all …]
Dnfs_xdr.h1068 struct nfs_page;
1079 struct nfs_page *req; /* multi ops per nfs_page */
1101 struct nfs_page *req; /* multi ops per nfs_page */
/linux-2.6.39/fs/nfs/
Dpagelist.c27 static inline struct nfs_page *
30 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_KERNEL); in nfs_page_alloc()
37 nfs_page_free(struct nfs_page *p) in nfs_page_free()
54 struct nfs_page *
59 struct nfs_page *req; in nfs_create_request()
95 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
112 int nfs_set_page_tag_locked(struct nfs_page *req) in nfs_set_page_tag_locked()
124 void nfs_clear_page_tag_locked(struct nfs_page *req) in nfs_clear_page_tag_locked()
145 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
174 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_free_request()
[all …]
Dpnfs.h77 int (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *);
83 struct list_head * (*choose_commit_list) (struct nfs_page *req);
182 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in pnfs_mark_request_commit()
204 pnfs_choose_commit_list(struct nfs_page *req, struct list_head *mds) in pnfs_choose_commit_list()
220 static inline void pnfs_clear_request_commit(struct nfs_page *req) in pnfs_clear_request_commit()
310 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in pnfs_mark_request_commit()
321 pnfs_choose_commit_list(struct nfs_page *req, struct list_head *mds) in pnfs_choose_commit_list()
326 static inline void pnfs_clear_request_commit(struct nfs_page *req) in pnfs_clear_request_commit()
Dwrite.c43 static void nfs_redirty_request(struct nfs_page *req);
114 static struct nfs_page *nfs_page_find_request_locked(struct page *page) in nfs_page_find_request_locked()
116 struct nfs_page *req = NULL; in nfs_page_find_request_locked()
119 req = (struct nfs_page *)page_private(page); in nfs_page_find_request_locked()
126 static struct nfs_page *nfs_page_find_request(struct page *page) in nfs_page_find_request()
129 struct nfs_page *req = NULL; in nfs_page_find_request()
227 static struct nfs_page *nfs_find_and_lock_request(struct page *page, bool nonblock) in nfs_find_and_lock_request()
230 struct nfs_page *req; in nfs_find_and_lock_request()
266 struct nfs_page *req; in nfs_page_async_flush()
377 static int nfs_inode_add_request(struct inode *inode, struct nfs_page *req) in nfs_inode_add_request()
[all …]
Dread.c119 struct nfs_page *new; in nfs_readpage_async()
145 static void nfs_readpage_release(struct nfs_page *req) in nfs_readpage_release()
205 static int nfs_read_rpcsetup(struct nfs_page *req, struct nfs_read_data *data, in nfs_read_rpcsetup()
240 struct nfs_page *req; in nfs_async_read_error()
265 struct nfs_page *req = nfs_list_entry(desc->pg_list.next); in nfs_pagein_multi()
330 struct nfs_page *req; in nfs_pagein_one()
429 struct nfs_page *req = data->req; in nfs_readpage_release_partial()
515 struct nfs_page *req = nfs_list_entry(data->pages.next); in nfs_readpage_release_full()
599 struct nfs_page *new; in readpage_async_filler()
Dnfs4filelayout.c239 struct nfs_page *first = nfs_list_entry(data->pages.next); in prepare_to_resend_writes()
660 filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in filelayout_pg_test()
661 struct nfs_page *req) in filelayout_pg_test()
691 struct list_head *filelayout_choose_commit_list(struct nfs_page *req) in filelayout_choose_commit_list()
Dpnfs.c899 struct nfs_page *prev, in pnfs_read_pg_test()
900 struct nfs_page *req) in pnfs_read_pg_test()
922 struct nfs_page *prev, in pnfs_write_pg_test()
923 struct nfs_page *req) in pnfs_write_pg_test()
Ddirect.c339 data->req = (struct nfs_page *) dreq; in nfs_direct_read_schedule_segment()
633 dreq->commit_data->req = (struct nfs_page *) dreq; in nfs_alloc_commit_data()
772 data->req = (struct nfs_page *) dreq; in nfs_direct_write_schedule_segment()