Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dnfs_page.h35 struct nfs_page { struct
52 void (*pg_init)(struct nfs_pageio_descriptor *, struct nfs_page *); argument
53 bool (*pg_test)(struct nfs_pageio_descriptor *, struct nfs_page *, struct nfs_page *);
76 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
81 extern void nfs_release_request(struct nfs_page *req);
90 struct nfs_page *);
94 struct nfs_page *prev,
95 struct nfs_page *req);
96 extern int nfs_wait_on_request(struct nfs_page *);
97 extern void nfs_unlock_request(struct nfs_page *req);
[all …]
Dnfs_xdr.h1148 struct nfs_page;
1159 struct nfs_page *req; /* multi ops per nfs_page */
1182 struct nfs_page *req; /* multi ops per nfs_page */
/linux-3.4.99/fs/nfs/
Dpagelist.c29 static inline struct nfs_page *
32 struct nfs_page *p = kmem_cache_zalloc(nfs_page_cachep, GFP_KERNEL); in nfs_page_alloc()
39 nfs_page_free(struct nfs_page *p) in nfs_page_free()
56 struct nfs_page *
61 struct nfs_page *req; in nfs_create_request()
97 void nfs_unlock_request(struct nfs_page *req) in nfs_unlock_request()
117 static void nfs_clear_request(struct nfs_page *req) in nfs_clear_request()
146 struct nfs_page *req = container_of(kref, struct nfs_page, wb_kref); in nfs_free_request()
153 void nfs_release_request(struct nfs_page *req) in nfs_release_request()
172 nfs_wait_on_request(struct nfs_page *req) in nfs_wait_on_request()
[all …]
Dwrite.c44 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 void nfs_inode_add_request(struct inode *inode, struct nfs_page *req) in nfs_inode_add_request()
[all …]
Dpnfs.h97 void (*mark_request_commit) (struct nfs_page *req,
99 void (*clear_request_commit) (struct nfs_page *req);
176 void pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *, struct nfs_page *);
178 void pnfs_generic_pg_init_write(struct nfs_pageio_descriptor *, struct nfs_page *);
180 …s_generic_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, struct nfs_page *req);
272 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in pnfs_mark_request_commit()
284 pnfs_clear_request_commit(struct nfs_page *req) in pnfs_clear_request_commit()
416 pnfs_mark_request_commit(struct nfs_page *req, struct pnfs_layout_segment *lseg) in pnfs_mark_request_commit()
422 pnfs_clear_request_commit(struct nfs_page *req) in pnfs_clear_request_commit()
Dread.c134 struct nfs_page *new; in nfs_readpage_async()
155 static void nfs_readpage_release(struct nfs_page *req) in nfs_readpage_release()
215 static void nfs_read_rpcsetup(struct nfs_page *req, struct nfs_read_data *data, in nfs_read_rpcsetup()
269 struct nfs_page *req; in nfs_async_read_error()
293 struct nfs_page *req = nfs_list_entry(desc->pg_list.next); in nfs_pagein_multi()
333 struct nfs_page *req; in nfs_pagein_one()
451 struct nfs_page *req = data->req; in nfs_readpage_release_partial()
528 struct nfs_page *req = nfs_list_entry(data->pages.next); in nfs_readpage_release_full()
610 struct nfs_page *new; in readpage_async_filler()
Dnfs4filelayout.c254 struct nfs_page *first = nfs_list_entry(data->pages.next); in prepare_to_resend_writes()
708 filelayout_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in filelayout_pg_test()
709 struct nfs_page *req) in filelayout_pg_test()
730 struct nfs_page *req) in filelayout_pg_init_read()
747 struct nfs_page *req) in filelayout_pg_init_write()
786 filelayout_clear_request_commit(struct nfs_page *req) in filelayout_clear_request_commit()
814 filelayout_choose_commit_list(struct nfs_page *req, in filelayout_choose_commit_list()
848 filelayout_mark_request_commit(struct nfs_page *req, in filelayout_mark_request_commit()
942 struct nfs_page *req, *tmp; in filelayout_scan_ds_commit_list()
Dinternal.h336 void nfs_request_add_commit_list(struct nfs_page *req, struct list_head *head);
337 void nfs_request_remove_commit_list(struct nfs_page *req);
Dpnfs.c1044 pnfs_generic_pg_init_read(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in pnfs_generic_pg_init_read()
1062 pnfs_generic_pg_init_write(struct nfs_pageio_descriptor *pgio, struct nfs_page *req) in pnfs_generic_pg_init_write()
1103 pnfs_generic_pg_test(struct nfs_pageio_descriptor *pgio, struct nfs_page *prev, in pnfs_generic_pg_test()
1104 struct nfs_page *req) in pnfs_generic_pg_test()
1136 struct nfs_page *req = nfs_list_entry(head->next); in pnfs_write_done_resend_to_mds()
1273 struct nfs_page *req = nfs_list_entry(data->pages.next); in pnfs_ld_handle_read_error()
Ddirect.c336 data->req = (struct nfs_page *) dreq; in nfs_direct_read_schedule_segment()
628 dreq->commit_data->req = (struct nfs_page *) dreq; in nfs_alloc_commit_data()
765 data->req = (struct nfs_page *) dreq; in nfs_direct_write_schedule_segment()
/linux-3.4.99/fs/nfs/objlayout/
Dobjio_osd.c565 struct nfs_page *prev, struct nfs_page *req) in objio_pg_test()