Lines Matching refs:lseg
128 FF_LAYOUT_LSEG(struct pnfs_layout_segment *lseg) in FF_LAYOUT_LSEG() argument
130 return container_of(lseg, in FF_LAYOUT_LSEG()
142 FF_LAYOUT_COMP(struct pnfs_layout_segment *lseg, u32 idx) in FF_LAYOUT_COMP() argument
144 struct nfs4_ff_layout_segment *fls = FF_LAYOUT_LSEG(lseg); in FF_LAYOUT_COMP()
152 FF_LAYOUT_DEVID_NODE(struct pnfs_layout_segment *lseg, u32 idx) in FF_LAYOUT_DEVID_NODE() argument
154 struct nfs4_ff_layout_mirror *mirror = FF_LAYOUT_COMP(lseg, idx); in FF_LAYOUT_DEVID_NODE()
166 FF_LAYOUT_MIRROR_COUNT(struct pnfs_layout_segment *lseg) in FF_LAYOUT_MIRROR_COUNT() argument
168 return FF_LAYOUT_LSEG(lseg)->mirror_array_cnt; in FF_LAYOUT_MIRROR_COUNT()
172 ff_layout_no_fallback_to_mds(struct pnfs_layout_segment *lseg) in ff_layout_no_fallback_to_mds() argument
174 return FF_LAYOUT_LSEG(lseg)->flags & FF_FLAGS_NO_IO_THRU_MDS; in ff_layout_no_fallback_to_mds()
178 ff_layout_no_read_on_rw(struct pnfs_layout_segment *lseg) in ff_layout_no_read_on_rw() argument
180 return FF_LAYOUT_LSEG(lseg)->flags & FF_FLAGS_NO_READ_IO; in ff_layout_no_read_on_rw()
198 void ff_layout_send_layouterror(struct pnfs_layout_segment *lseg);
212 nfs4_ff_layout_prepare_ds(struct pnfs_layout_segment *lseg,
223 bool ff_layout_avoid_mds_available_ds(struct pnfs_layout_segment *lseg);
224 bool ff_layout_avoid_read_on_rw(struct pnfs_layout_segment *lseg);