Searched refs:i_layout (Results 1 – 7 of 7) sorted by relevance
/fs/ceph/ |
D | ioctl.c | 25 l.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_get_layout() 26 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout() 27 l.object_size = ci->i_layout.object_size; in ceph_ioctl_get_layout() 28 l.data_pool = ci->i_layout.pool_id; in ceph_ioctl_get_layout() 86 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout() 90 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout() 94 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout() 98 nl.data_pool = ci->i_layout.pool_id; in ceph_ioctl_set_layout() 198 r = ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, len, in ceph_ioctl_get_dataloc() 206 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc() [all …]
|
D | xattr.c | 61 struct ceph_file_layout *fl = &ci->i_layout; in ceph_vxattrcb_layout_exists() 73 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout() 80 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout() 88 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout() 89 ci->i_layout.object_size); in ceph_vxattrcb_layout() 94 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout() 95 ci->i_layout.object_size, (unsigned long long)pool); in ceph_vxattrcb_layout() 127 return snprintf(val, size, "%u", ci->i_layout.stripe_unit); in ceph_vxattrcb_layout_stripe_unit() 133 return snprintf(val, size, "%u", ci->i_layout.stripe_count); in ceph_vxattrcb_layout_stripe_count() 139 return snprintf(val, size, "%u", ci->i_layout.object_size); in ceph_vxattrcb_layout_object_size() [all …]
|
D | addr.c | 220 err = ceph_osdc_readpages(osdc, ceph_vino(inode), &ci->i_layout, in ceph_do_readpage() 359 req = ceph_osdc_new_request(osdc, &ci->i_layout, vino, off, &len, in start_read() 625 &ci->i_layout, snapc, page_off, len, in writepage_nounlock() 946 rc = ceph_calc_file_object_mapping(&ci->i_layout, in ceph_writepages_start() 1030 &ci->i_layout, vino, in ceph_writepages_start() 1037 &ci->i_layout, vino, in ceph_writepages_start() 1716 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data() 1733 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data() 2003 pool = ci->i_layout.pool_id; in ceph_pool_perm_check() 2020 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_pool_perm_check() [all …]
|
D | file.c | 507 &ci->i_layout, pos, &this_len, in striped_read() 882 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_direct_read_write() 1077 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write() 1563 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object() 1591 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects() 1592 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects() 1593 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects()
|
D | inode.c | 445 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode() 568 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); in ceph_destroy_inode() 825 s64 old_pool = ci->i_layout.pool_id; in fill_inode() 828 ceph_file_layout_from_legacy(&ci->i_layout, &info->layout); in fill_inode() 829 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in fill_inode() 831 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in fill_inode() 833 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in fill_inode()
|
D | caps.c | 3042 s64 old_pool = ci->i_layout.pool_id; in handle_cap_grant() 3045 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant() 3046 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant() 3048 rcu_assign_pointer(ci->i_layout.pool_ns, *pns); in handle_cap_grant() 3050 if (ci->i_layout.pool_id != old_pool || *pns != old_ns) in handle_cap_grant()
|
D | super.h | 304 struct ceph_file_layout i_layout; member
|