Lines Matching refs:i_layout
435 memcpy(&cdst->i_cached_layout, &csrc->i_layout, in cache_file_layout()
438 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout()
868 req = ceph_osdc_new_request(osdc, &ci->i_layout, in ceph_sync_read()
1218 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1421 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1741 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
1967 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
1995 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects()
1996 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects()
1997 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects()
2209 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy()
2212 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2213 src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2214 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
2215 dst_oloc.pool_ns = ceph_try_get_string(dst_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2218 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2221 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy()
2312 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) || in __ceph_copy_file_range()
2313 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2314 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2315 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) { in __ceph_copy_file_range()
2320 if (len < src_ci->i_layout.object_size) in __ceph_copy_file_range()
2364 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
2365 src_ci->i_layout.object_size, in __ceph_copy_file_range()
2367 ceph_calc_file_object_mapping(&dst_ci->i_layout, dst_off, in __ceph_copy_file_range()
2368 dst_ci->i_layout.object_size, in __ceph_copy_file_range()
2443 if (len && (len < src_ci->i_layout.object_size)) { in __ceph_copy_file_range()