Lines Matching refs:i_layout
434 memcpy(&cdst->i_cached_layout, &csrc->i_layout, in cache_file_layout()
437 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout()
891 req = ceph_osdc_new_request(osdc, &ci->i_layout, in ceph_sync_read()
1241 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1444 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1748 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
1992 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2020 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects()
2021 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects()
2022 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects()
2234 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy()
2237 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2238 src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2239 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
2240 dst_oloc.pool_ns = ceph_try_get_string(dst_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2243 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2246 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy()
2337 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) || in __ceph_copy_file_range()
2338 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2339 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2340 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) { in __ceph_copy_file_range()
2345 if (len < src_ci->i_layout.object_size) in __ceph_copy_file_range()
2389 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
2390 src_ci->i_layout.object_size, in __ceph_copy_file_range()
2392 ceph_calc_file_object_mapping(&dst_ci->i_layout, dst_off, in __ceph_copy_file_range()
2393 dst_ci->i_layout.object_size, in __ceph_copy_file_range()
2468 if (len && (len < src_ci->i_layout.object_size)) { in __ceph_copy_file_range()