Lines Matching refs:pg_lseg
805 u64 segment_offset = pgio->pg_lseg->pls_range.offset; in filelayout_pg_test()
806 u32 stripe_unit = FILELAYOUT_LSEG(pgio->pg_lseg)->stripe_unit; in filelayout_pg_test()
812 else if (!filelayout_lseg_is_striped(FILELAYOUT_LSEG(pgio->pg_lseg))) in filelayout_pg_test()
877 if (!pgio->pg_lseg) { in filelayout_pg_init_read()
878 pgio->pg_lseg = fl_pnfs_update_layout(pgio->pg_inode, in filelayout_pg_init_read()
885 if (IS_ERR(pgio->pg_lseg)) { in filelayout_pg_init_read()
886 pgio->pg_error = PTR_ERR(pgio->pg_lseg); in filelayout_pg_init_read()
887 pgio->pg_lseg = NULL; in filelayout_pg_init_read()
892 if (pgio->pg_lseg == NULL) in filelayout_pg_init_read()
901 if (!pgio->pg_lseg) { in filelayout_pg_init_write()
902 pgio->pg_lseg = fl_pnfs_update_layout(pgio->pg_inode, in filelayout_pg_init_write()
909 if (IS_ERR(pgio->pg_lseg)) { in filelayout_pg_init_write()
910 pgio->pg_error = PTR_ERR(pgio->pg_lseg); in filelayout_pg_init_write()
911 pgio->pg_lseg = NULL; in filelayout_pg_init_write()
917 if (pgio->pg_lseg == NULL) in filelayout_pg_init_write()