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()
905 req = ceph_osdc_new_request(osdc, &ci->i_layout, in ceph_sync_read()
1255 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1458 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1762 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
2006 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2034 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects()
2035 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects()
2036 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects()
2248 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy()
2251 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2252 src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2253 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
2254 dst_oloc.pool_ns = ceph_try_get_string(dst_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2257 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2260 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy()
2351 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) || in __ceph_copy_file_range()
2352 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2353 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2354 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) { in __ceph_copy_file_range()
2359 if (len < src_ci->i_layout.object_size) in __ceph_copy_file_range()
2403 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
2404 src_ci->i_layout.object_size, in __ceph_copy_file_range()
2406 ceph_calc_file_object_mapping(&dst_ci->i_layout, dst_off, in __ceph_copy_file_range()
2407 dst_ci->i_layout.object_size, in __ceph_copy_file_range()
2482 if (len && (len < src_ci->i_layout.object_size)) { in __ceph_copy_file_range()