Searched refs:i_layout (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/fs/ceph/ |
D | ioctl.c | 24 l.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_get_layout() 25 l.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_get_layout() 26 l.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_layout() 27 l.data_pool = le32_to_cpu(ci->i_layout.fl_pg_pool); in ceph_ioctl_get_layout() 85 nl.stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_ioctl_set_layout() 89 nl.stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_ioctl_set_layout() 93 nl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_set_layout() 97 nl.data_pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_ioctl_set_layout() 197 r = ceph_calc_file_object_mapping(&ci->i_layout, dl.file_offset, len, in ceph_ioctl_get_dataloc() 205 dl.object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_ioctl_get_dataloc() [all …]
|
D | xattr.c | 59 char *p = (char *)&ci->i_layout; in ceph_vxattrcb_layout_exists() 61 for (s = 0; s < sizeof(ci->i_layout); s++, p++) in ceph_vxattrcb_layout_exists() 73 s64 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_vxattrcb_layout() 84 (unsigned long long)ceph_file_layout_su(ci->i_layout), in ceph_vxattrcb_layout() 85 (unsigned long long)ceph_file_layout_stripe_count(ci->i_layout), in ceph_vxattrcb_layout() 86 (unsigned long long)ceph_file_layout_object_size(ci->i_layout)); in ceph_vxattrcb_layout() 99 (unsigned long long)ceph_file_layout_su(ci->i_layout), in ceph_vxattrcb_layout() 100 (unsigned long long)ceph_file_layout_stripe_count(ci->i_layout), in ceph_vxattrcb_layout() 101 (unsigned long long)ceph_file_layout_object_size(ci->i_layout), in ceph_vxattrcb_layout() 118 (unsigned long long)ceph_file_layout_su(ci->i_layout)); in ceph_vxattrcb_layout_stripe_unit() [all …]
|
D | addr.c | 226 err = ceph_osdc_readpages(osdc, ceph_vino(inode), &ci->i_layout, in readpage_nounlock() 343 req = ceph_osdc_new_request(osdc, &ci->i_layout, vino, off, &len, in start_read() 544 &ci->i_layout, snapc, in writepage_nounlock() 879 &ci->i_layout, vino, in ceph_writepages_start() 1523 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data() 1541 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data() 1767 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_pool_perm_check() 1795 if (pool == ceph_file_layout_pg_pool(ci->i_layout)) { in ceph_pool_perm_check() 1798 pool = ceph_file_layout_pg_pool(ci->i_layout); in ceph_pool_perm_check()
|
D | file.c | 444 &ci->i_layout, pos, &this_len, in striped_read() 667 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_direct_write() 783 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write() 1268 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object() 1299 s32 stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_zero_objects() 1300 s32 stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_zero_objects() 1301 s32 object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_zero_objects()
|
D | super.h | 289 struct ceph_file_layout i_layout; member
|
D | inode.c | 756 if (ci->i_layout.fl_pg_pool != info->layout.fl_pg_pool) in fill_inode() 758 ci->i_layout = info->layout; in fill_inode()
|
D | caps.c | 2875 ci->i_layout = grant->layout; in handle_cap_grant()
|