Lines Matching refs:stripe_unit
28 u32 stripes_per_object = l->object_size / l->stripe_unit; in ceph_calc_file_object_mapping()
37 blockno = div_u64_rem(off, l->stripe_unit, &blockoff); in ceph_calc_file_object_mapping()
42 *objoff = objsetpos * l->stripe_unit + blockoff; in ceph_calc_file_object_mapping()
43 *xlen = min_t(u64, len, l->stripe_unit - blockoff); in ceph_calc_file_object_mapping()
216 u32 stripes_per_object = l->object_size / l->stripe_unit; in ceph_extent_to_file()
231 *num_file_extents = DIV_ROUND_UP_ULL(objoff + objlen, l->stripe_unit) - in ceph_extent_to_file()
232 DIV_ROUND_DOWN_ULL(objoff, l->stripe_unit); in ceph_extent_to_file()
238 div_u64_rem(objoff, l->stripe_unit, &blockoff); in ceph_extent_to_file()
243 stripeno = div_u64(objoff, l->stripe_unit) + in ceph_extent_to_file()
246 off = blockno * l->stripe_unit + blockoff; in ceph_extent_to_file()
247 len = min_t(u64, objlen, l->stripe_unit - blockoff); in ceph_extent_to_file()
272 remainder_bytes < (u64)l->stripe_count * l->stripe_unit) in ceph_get_num_objects()
274 DIV_ROUND_UP_ULL(remainder_bytes, l->stripe_unit); in ceph_get_num_objects()