Home
last modified time | relevance | path

Searched refs:stripe_count (Results 1 – 7 of 7) 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()
Dioctl.h36 __u64 stripe_unit, stripe_count, object_size; member
Dxattr.c51 return (fl->stripe_unit > 0 || fl->stripe_count > 0 || in ceph_vxattrcb_layout_exists()
77 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
83 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout()
149 return ceph_fmt_xattr(val, size, "%u", ci->i_layout.stripe_count); in ceph_vxattrcb_layout_stripe_count()
345 XATTR_LAYOUT_FIELD(dir, layout, stripe_count),
394 XATTR_LAYOUT_FIELD(file, layout, stripe_count),
Dfile.c1731 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects() local
1733 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects()
1752 for (i = 0; i < stripe_count; ++i) { in ceph_zero_objects()
1983 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
1984 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
/fs/nfs/filelayout/
Dfilelayoutdev.c145 dsaddr->stripe_count = cnt; in nfs4_fl_alloc_deviceid_node()
232 return do_div(tmp, flseg->dsaddr->stripe_count); in nfs4_fl_calc_j_index()
Dfilelayout.h51 u32 stripe_count; member
Dfilelayout.c57 u32 stripe_width = flseg->stripe_unit * flseg->dsaddr->stripe_count; in filelayout_get_dense_offset()
560 if (fl->first_stripe_index >= dsaddr->stripe_count) { in filelayout_check_deviceid()
569 fl->num_fh != dsaddr->stripe_count)) { in filelayout_check_deviceid()
775 fl->dsaddr->ds_num : fl->dsaddr->stripe_count; in filelayout_alloc_commit_info()