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()
879 if (!pgio->pg_lseg) { in filelayout_pg_init_read()
880 pgio->pg_lseg = fl_pnfs_update_layout(pgio->pg_inode, 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()
904 pgio->pg_lseg = fl_pnfs_update_layout(pgio->pg_inode, 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()
919 if (pgio->pg_lseg == NULL) in filelayout_pg_init_write()