Lines Matching refs:stripe_unit
58 u32 stripe_width = flseg->stripe_unit * flseg->dsaddr->stripe_count; in filelayout_get_dense_offset()
64 div_u64_rem(offset, flseg->stripe_unit, &rem); in filelayout_get_dense_offset()
66 return stripe_no * flseg->stripe_unit + rem; in filelayout_get_dense_offset()
622 if (!fl->stripe_unit) { in filelayout_check_layout()
624 __func__, fl->stripe_unit); in filelayout_check_layout()
688 fl->stripe_unit = nfl_util & ~NFL4_UFLG_MASK; in filelayout_decode_layout()
806 u32 stripe_unit = FILELAYOUT_LSEG(pgio->pg_lseg)->stripe_unit; in filelayout_pg_test() local
819 do_div(p_stripe, stripe_unit); in filelayout_pg_test()
820 do_div(r_stripe, stripe_unit); in filelayout_pg_test()
828 stripe_unit, in filelayout_pg_test()
830 WARN_ON_ONCE(stripe_offset > stripe_unit); in filelayout_pg_test()
831 if (stripe_offset >= stripe_unit) in filelayout_pg_test()
833 return min(stripe_unit - (unsigned int)stripe_offset, size); in filelayout_pg_test()