• Home
  • Raw
  • Download

Lines Matching refs:pgio

609 				struct nfs_pageio_descriptor *pgio)  in nfs_page_async_flush()  argument
625 ret = pgio->pg_error; in nfs_page_async_flush()
630 if (!nfs_pageio_add_request(pgio, req)) { in nfs_page_async_flush()
631 ret = pgio->pg_error; in nfs_page_async_flush()
641 pgio->pg_error = 0; in nfs_page_async_flush()
653 struct nfs_pageio_descriptor *pgio) in nfs_do_writepage() argument
655 nfs_pageio_cond_complete(pgio, page_index(page)); in nfs_do_writepage()
656 return nfs_page_async_flush(page, wbc, pgio); in nfs_do_writepage()
665 struct nfs_pageio_descriptor pgio; in nfs_writepage_locked() local
670 nfs_pageio_init_write(&pgio, inode, 0, in nfs_writepage_locked()
672 err = nfs_do_writepage(page, wbc, &pgio); in nfs_writepage_locked()
673 pgio.pg_error = 0; in nfs_writepage_locked()
674 nfs_pageio_complete(&pgio); in nfs_writepage_locked()
706 struct nfs_pageio_descriptor pgio; in nfs_writepages() local
724 nfs_pageio_init_write(&pgio, inode, priority, false, in nfs_writepages()
726 pgio.pg_io_completion = ioc; in nfs_writepages()
728 &pgio); in nfs_writepages()
729 pgio.pg_error = 0; in nfs_writepages()
730 nfs_pageio_complete(&pgio); in nfs_writepages()
1436 void nfs_pageio_init_write(struct nfs_pageio_descriptor *pgio, in nfs_pageio_init_write() argument
1447 nfs_pageio_init(pgio, inode, pg_ops, compl_ops, &nfs_rw_write_ops, in nfs_pageio_init_write()
1452 void nfs_pageio_reset_write_mds(struct nfs_pageio_descriptor *pgio) in nfs_pageio_reset_write_mds() argument
1456 if (pgio->pg_ops && pgio->pg_ops->pg_cleanup) in nfs_pageio_reset_write_mds()
1457 pgio->pg_ops->pg_cleanup(pgio); in nfs_pageio_reset_write_mds()
1459 pgio->pg_ops = &nfs_pgio_rw_ops; in nfs_pageio_reset_write_mds()
1461 nfs_pageio_stop_mirroring(pgio); in nfs_pageio_reset_write_mds()
1463 mirror = &pgio->pg_mirrors[0]; in nfs_pageio_reset_write_mds()
1464 mirror->pg_bsize = NFS_SERVER(pgio->pg_inode)->wsize; in nfs_pageio_reset_write_mds()