Lines Matching defs:flseg
224 struct nfs4_filelayout_segment *flseg = FILELAYOUT_LSEG(lseg);
227 tmp = offset - flseg->pattern_offset;
228 do_div(tmp, flseg->stripe_unit);
229 tmp += flseg->first_stripe_index;
230 return do_div(tmp, flseg->dsaddr->stripe_count);
242 struct nfs4_filelayout_segment *flseg = FILELAYOUT_LSEG(lseg);
245 if (flseg->stripe_type == STRIPE_SPARSE) {
246 if (flseg->num_fh == 1)
248 else if (flseg->num_fh == 0)
255 return flseg->fh_array[i];