Home
last modified time | relevance | path

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

/fs/ceph/
Dioctl.c26 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout()
83 if (l.stripe_count) in ceph_ioctl_set_layout()
84 nl.stripe_count = l.stripe_count; in ceph_ioctl_set_layout()
86 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout()
120 cpu_to_le32(l.stripe_count); in ceph_ioctl_set_layout()
164 cpu_to_le32(l.stripe_count); in ceph_ioctl_set_layout_policy()
Dutil.c14 __u32 sc = layout->stripe_count; in ceph_file_layout_is_valid()
35 fl->stripe_count = le32_to_cpu(legacy->fl_stripe_count); in ceph_file_layout_from_legacy()
39 fl->stripe_count == 0 && fl->object_size == 0) in ceph_file_layout_from_legacy()
47 legacy->fl_stripe_count = cpu_to_le32(fl->stripe_count); in ceph_file_layout_to_legacy()
Dioctl.h36 __u64 stripe_unit, stripe_count, object_size; member
Dxattr.c52 return (fl->stripe_unit > 0 || fl->stripe_count > 0 || in ceph_vxattrcb_layout_exists()
78 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
84 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
151 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_count); in ceph_vxattrcb_layout_stripe_count()
403 XATTR_LAYOUT_FIELD(dir, layout, stripe_count),
460 XATTR_LAYOUT_FIELD(file, layout, stripe_count),
Dfile.c2044 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects() local
2046 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects()
2065 for (i = 0; i < stripe_count; ++i) { in ceph_zero_objects()
2421 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
2422 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
/fs/nfs/filelayout/
Dfilelayoutdev.c143 dsaddr->stripe_count = cnt; in nfs4_fl_alloc_deviceid_node()
230 return do_div(tmp, flseg->dsaddr->stripe_count); in nfs4_fl_calc_j_index()
Dfilelayout.h51 u32 stripe_count; member
Dfilelayout.c58 u32 stripe_width = flseg->stripe_unit * flseg->dsaddr->stripe_count; in filelayout_get_dense_offset()
561 if (fl->first_stripe_index >= dsaddr->stripe_count) { in filelayout_check_deviceid()
570 fl->num_fh != dsaddr->stripe_count)) { in filelayout_check_deviceid()
1091 fl->dsaddr->ds_num : fl->dsaddr->stripe_count; in filelayout_setup_ds_info()