Lines Matching defs:flseg
226 struct nfs4_filelayout_segment *flseg = FILELAYOUT_LSEG(lseg);
229 tmp = offset - flseg->pattern_offset;
230 do_div(tmp, flseg->stripe_unit);
231 tmp += flseg->first_stripe_index;
232 return do_div(tmp, flseg->dsaddr->stripe_count);
244 struct nfs4_filelayout_segment *flseg = FILELAYOUT_LSEG(lseg);
247 if (flseg->stripe_type == STRIPE_SPARSE) {
248 if (flseg->num_fh == 1)
250 else if (flseg->num_fh == 0)
257 return flseg->fh_array[i];