internal.h (7e6eb683d260d9325f0d1bd911518d5ed3cb4f0c) | internal.h (0b7c01533aa9f4a228d07d2768d084acb3a387bc) |
---|---|
1/* 2 * NFS internal definitions 3 */ 4 5#include "nfs4_fs.h" 6#include <linux/mount.h> 7#include <linux/security.h> 8 --- 300 unchanged lines hidden (view full) --- 309 310/* write.c */ 311extern int nfs_generic_flush(struct nfs_pageio_descriptor *desc, 312 struct list_head *head); 313extern void nfs_pageio_init_write_mds(struct nfs_pageio_descriptor *pgio, 314 struct inode *inode, int ioflags); 315extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); 316extern void nfs_writedata_release(struct nfs_write_data *wdata); | 1/* 2 * NFS internal definitions 3 */ 4 5#include "nfs4_fs.h" 6#include <linux/mount.h> 7#include <linux/security.h> 8 --- 300 unchanged lines hidden (view full) --- 309 310/* write.c */ 311extern int nfs_generic_flush(struct nfs_pageio_descriptor *desc, 312 struct list_head *head); 313extern void nfs_pageio_init_write_mds(struct nfs_pageio_descriptor *pgio, 314 struct inode *inode, int ioflags); 315extern void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio); 316extern void nfs_writedata_release(struct nfs_write_data *wdata); |
317extern void nfs_commit_free(struct nfs_write_data *p); | 317extern void nfs_commit_free(struct nfs_commit_data *p); |
318extern int nfs_initiate_write(struct nfs_write_data *data, 319 struct rpc_clnt *clnt, 320 const struct rpc_call_ops *call_ops, 321 int how); 322extern void nfs_write_prepare(struct rpc_task *task, void *calldata); | 318extern int nfs_initiate_write(struct nfs_write_data *data, 319 struct rpc_clnt *clnt, 320 const struct rpc_call_ops *call_ops, 321 int how); 322extern void nfs_write_prepare(struct rpc_task *task, void *calldata); |
323extern int nfs_initiate_commit(struct nfs_write_data *data, 324 struct rpc_clnt *clnt, | 323extern void nfs_commit_prepare(struct rpc_task *task, void *calldata); 324extern int nfs_initiate_commit(struct rpc_clnt *clnt, 325 struct nfs_commit_data *data, |
325 const struct rpc_call_ops *call_ops, 326 int how); | 326 const struct rpc_call_ops *call_ops, 327 int how); |
327extern void nfs_init_commit(struct nfs_write_data *data, | 328extern void nfs_init_commit(struct nfs_commit_data *data, |
328 struct list_head *head, 329 struct pnfs_layout_segment *lseg); 330void nfs_retry_commit(struct list_head *page_list, 331 struct pnfs_layout_segment *lseg); 332void nfs_commit_clear_lock(struct nfs_inode *nfsi); | 329 struct list_head *head, 330 struct pnfs_layout_segment *lseg); 331void nfs_retry_commit(struct list_head *page_list, 332 struct pnfs_layout_segment *lseg); 333void nfs_commit_clear_lock(struct nfs_inode *nfsi); |
333void nfs_commitdata_release(void *data); 334void nfs_commit_release_pages(struct nfs_write_data *data); | 334void nfs_commitdata_release(struct nfs_commit_data *data); 335void nfs_commit_release_pages(struct nfs_commit_data *data); |
335void nfs_request_add_commit_list(struct nfs_page *req, struct list_head *head); 336void nfs_request_remove_commit_list(struct nfs_page *req); 337 338#ifdef CONFIG_MIGRATION 339extern int nfs_migrate_page(struct address_space *, 340 struct page *, struct page *, enum migrate_mode); 341#else 342#define nfs_migrate_page NULL --- 126 unchanged lines hidden --- | 336void nfs_request_add_commit_list(struct nfs_page *req, struct list_head *head); 337void nfs_request_remove_commit_list(struct nfs_page *req); 338 339#ifdef CONFIG_MIGRATION 340extern int nfs_migrate_page(struct address_space *, 341 struct page *, struct page *, enum migrate_mode); 342#else 343#define nfs_migrate_page NULL --- 126 unchanged lines hidden --- |