Lines Matching refs:i_layout
452 memcpy(&cdst->i_cached_layout, &csrc->i_layout, in cache_file_layout()
455 ceph_try_get_string(csrc->i_layout.pool_ns)); in cache_file_layout()
960 req = ceph_osdc_new_request(osdc, &ci->i_layout, in ceph_sync_read()
1314 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write()
1516 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1820 pool_flags = ceph_pg_pool_flags(osdc->osdmap, ci->i_layout.pool_id); in ceph_write_iter()
2014 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
2040 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects()
2041 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects()
2042 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects()
2300 u32 object_size = src_ci->i_layout.object_size; in ceph_do_objects_copy()
2303 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2304 src_oloc.pool_ns = ceph_try_get_string(src_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2305 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
2306 dst_oloc.pool_ns = ceph_try_get_string(dst_ci->i_layout.pool_ns); in ceph_do_objects_copy()
2310 ceph_calc_file_object_mapping(&src_ci->i_layout, *src_off, in ceph_do_objects_copy()
2313 ceph_calc_file_object_mapping(&dst_ci->i_layout, *dst_off, in ceph_do_objects_copy()
2409 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) || in __ceph_copy_file_range()
2410 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2411 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2412 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) { in __ceph_copy_file_range()
2417 if (len < src_ci->i_layout.object_size) in __ceph_copy_file_range()
2462 ceph_calc_file_object_mapping(&src_ci->i_layout, src_off, in __ceph_copy_file_range()
2463 src_ci->i_layout.object_size, in __ceph_copy_file_range()
2465 ceph_calc_file_object_mapping(&dst_ci->i_layout, dst_off, in __ceph_copy_file_range()
2466 dst_ci->i_layout.object_size, in __ceph_copy_file_range()
2541 if (len && (len < src_ci->i_layout.object_size)) { in __ceph_copy_file_range()