Home
last modified time | relevance | path

Searched refs:pg_lseg (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/nfs/filelayout/
H A Dfilelayout.c805 u64 segment_offset = pgio->pg_lseg->pls_range.offset; in filelayout_pg_test()
879 if (!pgio->pg_lseg) { in filelayout_pg_init_read()
887 if (IS_ERR(pgio->pg_lseg)) { in filelayout_pg_init_read()
888 pgio->pg_error = PTR_ERR(pgio->pg_lseg); in filelayout_pg_init_read()
889 pgio->pg_lseg = NULL; in filelayout_pg_init_read()
894 if (pgio->pg_lseg == NULL) in filelayout_pg_init_read()
903 if (!pgio->pg_lseg) { in filelayout_pg_init_write()
911 if (IS_ERR(pgio->pg_lseg)) { in filelayout_pg_init_write()
912 pgio->pg_error = PTR_ERR(pgio->pg_lseg); in filelayout_pg_init_write()
913 pgio->pg_lseg = NULL; in filelayout_pg_init_write()
[all …]
/openbmc/linux/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c815 pgio->pg_lseg = in ff_layout_pg_get_read()
845 if (!pgio->pg_lseg) { in ff_layout_pg_init_read()
847 if (!pgio->pg_lseg) in ff_layout_pg_init_read()
852 if (!pgio->pg_lseg) in ff_layout_pg_init_read()
883 pgio->pg_lseg); in ff_layout_pg_init_read()
899 if (!pgio->pg_lseg) { in ff_layout_pg_init_write()
900 pgio->pg_lseg = in ff_layout_pg_init_write()
945 pgio->pg_lseg); in ff_layout_pg_init_write()
956 pgio->pg_lseg = in ff_layout_pg_get_mirror_count_write()
966 if (pgio->pg_lseg) in ff_layout_pg_get_mirror_count_write()
[all …]
/openbmc/linux/fs/nfs/
H A Dpnfs.c2710 pgio->pg_lseg = NULL; in pnfs_generic_pg_check_layout()
2721 if (pgio->pg_lseg && !pnfs_lseg_request_intersecting(pgio->pg_lseg, req)) { in pnfs_generic_pg_check_range()
2723 pgio->pg_lseg = NULL; in pnfs_generic_pg_check_range()
2742 pgio->pg_lseg = in pnfs_generic_pg_init_read()
2749 pgio->pg_lseg = NULL; in pnfs_generic_pg_init_read()
2754 if (pgio->pg_lseg == NULL) in pnfs_generic_pg_init_read()
2767 pgio->pg_lseg = in pnfs_generic_pg_init_write()
2773 pgio->pg_lseg = NULL; in pnfs_generic_pg_init_write()
2786 if (desc->pg_lseg) { in pnfs_generic_pg_cleanup()
2788 desc->pg_lseg = NULL; in pnfs_generic_pg_cleanup()
[all …]
H A Dpagelist.c943 desc->pg_lseg = NULL; in nfs_pageio_init()
/openbmc/linux/fs/nfs/blocklayout/
H A Dblocklayout.c843 if (pgio->pg_lseg && in bl_pg_init_read()
844 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_read()
845 pnfs_error_mark_layout_for_return(pgio->pg_inode, pgio->pg_lseg); in bl_pg_init_read()
846 pnfs_set_lo_fail(pgio->pg_lseg); in bl_pg_init_read()
904 if (pgio->pg_lseg && in bl_pg_init_write()
905 test_bit(NFS_LSEG_UNAVAILABLE, &pgio->pg_lseg->pls_flags)) { in bl_pg_init_write()
907 pnfs_error_mark_layout_for_return(pgio->pg_inode, pgio->pg_lseg); in bl_pg_init_write()
908 pnfs_set_lo_fail(pgio->pg_lseg); in bl_pg_init_write()
/openbmc/linux/include/linux/
H A Dnfs_page.h105 struct pnfs_layout_segment *pg_lseg; member