Home
last modified time | relevance | path

Searched refs:i_layout (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/fs/ceph/
Dioctl.c24 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 …]
Dxattr.c59 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 …]
Dfile.c380 &ci->i_layout, pos, &this_len, in striped_read()
605 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_direct_write()
722 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_sync_write()
1177 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_zero_partial_object()
1208 s32 stripe_unit = ceph_file_layout_su(ci->i_layout); in ceph_zero_objects()
1209 s32 stripe_count = ceph_file_layout_stripe_count(ci->i_layout); in ceph_zero_objects()
1210 s32 object_size = ceph_file_layout_object_size(ci->i_layout); in ceph_zero_objects()
Daddr.c222 err = ceph_osdc_readpages(osdc, ceph_vino(inode), &ci->i_layout, in readpage_nounlock()
339 req = ceph_osdc_new_request(osdc, &ci->i_layout, vino, off, &len, in start_read()
539 &ci->i_layout, snapc, in writepage_nounlock()
872 &ci->i_layout, vino, in ceph_writepages_start()
1508 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
1527 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
Dsuper.h267 struct ceph_file_layout i_layout; member
Dinode.c756 ci->i_layout = info->layout; in fill_inode()
Dcaps.c2600 ci->i_layout = grant->layout; in handle_cap_grant()