Home
last modified time | relevance | path

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

/fs/ceph/
A Dioctl.c26 l.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_get_layout()
27 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout()
28 l.object_size = ci->i_layout.object_size; in ceph_ioctl_get_layout()
29 l.data_pool = ci->i_layout.pool_id; in ceph_ioctl_get_layout()
91 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout()
95 nl.object_size = ci->i_layout.object_size; in ceph_ioctl_set_layout()
99 nl.data_pool = ci->i_layout.pool_id; in ceph_ioctl_set_layout()
202 dl.object_size = ci->i_layout.object_size; in ceph_ioctl_get_dataloc()
203 dl.block_size = ci->i_layout.stripe_unit; in ceph_ioctl_get_dataloc()
212 oloc.pool = ci->i_layout.pool_id; in ceph_ioctl_get_dataloc()
[all …]
A Dfile.c2615 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects()
2617 s32 object_size = ci->i_layout.object_size; in ceph_zero_objects()
2892 src_oloc.pool = src_ci->i_layout.pool_id; in ceph_do_objects_copy()
2894 dst_oloc.pool = dst_ci->i_layout.pool_id; in ceph_do_objects_copy()
3000 if ((src_ci->i_layout.stripe_unit != dst_ci->i_layout.stripe_unit) || in __ceph_copy_file_range()
3001 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
3002 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
3003 (src_ci->i_layout.object_size != dst_ci->i_layout.object_size)) { in __ceph_copy_file_range()
3012 if (len < src_ci->i_layout.object_size) in __ceph_copy_file_range()
3059 src_ci->i_layout.object_size, in __ceph_copy_file_range()
[all …]
A Dxattr.c51 struct ceph_file_layout *fl = &ci->i_layout; in ceph_vxattrcb_layout_exists()
64 s64 pool = ci->i_layout.pool_id; in ceph_vxattrcb_layout()
71 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_vxattrcb_layout()
79 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
80 ci->i_layout.object_size); in ceph_vxattrcb_layout()
85 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
86 ci->i_layout.object_size, pool); in ceph_vxattrcb_layout()
146 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_unit); in ceph_vxattrcb_layout_stripe_unit()
152 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_count); in ceph_vxattrcb_layout_stripe_count()
158 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.object_size); in ceph_vxattrcb_layout_object_size()
[all …]
A Daddr.c172 struct ceph_file_layout *lo = &ci->i_layout; in ceph_netfs_expand_readahead()
1215 ceph_calc_file_object_mapping(&ci->i_layout, in ceph_allocate_page_array()
1430 &ci->i_layout, vino, in ceph_submit_write()
1437 &ci->i_layout, vino, in ceph_submit_write()
2244 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
2260 req = ceph_osdc_new_request(&fsc->client->osdc, &ci->i_layout, in ceph_uninline_data()
2554 pool = ci->i_layout.pool_id; in ceph_pool_perm_check()
2569 pool_ns = ceph_try_get_string(ci->i_layout.pool_ns); in ceph_pool_perm_check()
2582 if (pool == ci->i_layout.pool_id && in ceph_pool_perm_check()
2583 pool_ns == rcu_dereference_raw(ci->i_layout.pool_ns)) { in ceph_pool_perm_check()
[all …]
A Dinode.c598 RCU_INIT_POINTER(ci->i_layout.pool_ns, NULL); in ceph_alloc_inode()
740 ceph_put_string(rcu_dereference_raw(ci->i_layout.pool_ns)); in ceph_evict_inode()
1100 s64 old_pool = ci->i_layout.pool_id; in ceph_fill_inode()
1103 ceph_file_layout_from_legacy(&ci->i_layout, &info->layout); in ceph_fill_inode()
1104 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in ceph_fill_inode()
1106 rcu_assign_pointer(ci->i_layout.pool_ns, pool_ns); in ceph_fill_inode()
1108 if (ci->i_layout.pool_id != old_pool || pool_ns != old_ns) in ceph_fill_inode()
A Dcrypto.c577 ceph_calc_file_object_mapping(&ci->i_layout, off, map[0].len, in ceph_fscrypt_decrypt_extents()
A Dcaps.c3640 s64 old_pool = ci->i_layout.pool_id; in handle_cap_grant()
3643 ceph_file_layout_from_legacy(&ci->i_layout, &grant->layout); in handle_cap_grant()
3644 old_ns = rcu_dereference_protected(ci->i_layout.pool_ns, in handle_cap_grant()
3646 rcu_assign_pointer(ci->i_layout.pool_ns, extra_info->pool_ns); in handle_cap_grant()
3648 if (ci->i_layout.pool_id != old_pool || in handle_cap_grant()
A Dsuper.h363 struct ceph_file_layout i_layout; member

Completed in 33 milliseconds