Searched refs:stripe_count (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/net/ceph/ |
D | striper.c | 38 stripeno = div_u64_rem(blockno, l->stripe_count, &stripepos); in ceph_calc_file_object_mapping() 41 *objno = objsetno * l->stripe_count + stripepos; in ceph_calc_file_object_mapping() 242 objsetno = div_u64_rem(objno, l->stripe_count, &stripepos); in ceph_extent_to_file() 245 blockno = stripeno * l->stripe_count + stripepos; in ceph_extent_to_file() 265 u64 period = (u64)l->stripe_count * l->object_size; in ceph_get_num_objects() 272 remainder_bytes < (u64)l->stripe_count * l->stripe_unit) in ceph_get_num_objects() 273 remainder_objs = l->stripe_count - in ceph_get_num_objects() 276 return num_periods * l->stripe_count - remainder_objs; in ceph_get_num_objects()
|
/linux-6.6.21/fs/ceph/ |
D | ioctl.c | 27 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout() 84 if (l.stripe_count) in ceph_ioctl_set_layout() 85 nl.stripe_count = l.stripe_count; in ceph_ioctl_set_layout() 87 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout() 121 cpu_to_le32(l.stripe_count); in ceph_ioctl_set_layout() 165 cpu_to_le32(l.stripe_count); in ceph_ioctl_set_layout_policy() 298 if (ci->i_layout.stripe_count > 1) in ceph_set_encryption_policy()
|
D | util.c | 14 __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()
|
D | ioctl.h | 36 __u64 stripe_unit, stripe_count, object_size; member
|
D | xattr.c | 52 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() 421 XATTR_LAYOUT_FIELD(dir, layout, stripe_count), 478 XATTR_LAYOUT_FIELD(file, layout, stripe_count),
|
D | file.c | 2508 s32 stripe_count = ci->i_layout.stripe_count; in ceph_zero_objects() local 2510 u64 object_set_size = object_size * stripe_count; in ceph_zero_objects() 2529 for (i = 0; i < stripe_count; ++i) { in ceph_zero_objects() 2888 (src_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range() 2889 (dst_ci->i_layout.stripe_count != 1) || in __ceph_copy_file_range()
|
/linux-6.6.21/fs/nfs/filelayout/ |
D | filelayoutdev.c | 143 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()
|
D | filelayout.h | 51 u32 stripe_count; member
|
D | filelayout.c | 58 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() 1093 fl->dsaddr->ds_num : fl->dsaddr->stripe_count; in filelayout_setup_ds_info()
|
/linux-6.6.21/include/linux/ceph/ |
D | ceph_fs.h | 64 u32 stripe_count; /* over this many objects */ member 439 __le32 stripe_count; /* ... */ member
|
/linux-6.6.21/drivers/block/ |
D | rbd.c | 151 u64 stripe_count; member 984 rbd_dev->header.stripe_count == 0) { in rbd_init_layout() 986 rbd_dev->header.stripe_count = 1; in rbd_init_layout() 990 rbd_dev->layout.stripe_count = rbd_dev->header.stripe_count; in rbd_init_layout() 4954 rbd_dev->layout.object_size * rbd_dev->layout.stripe_count; in rbd_init_disk() 5819 u64 *stripe_unit, u64 *stripe_count) in rbd_dev_v2_striping_info() argument 5823 __le64 stripe_count; in rbd_dev_v2_striping_info() member 5838 *stripe_count = le64_to_cpu(striping_info_buf.stripe_count); in rbd_dev_v2_striping_info() 5840 *stripe_count); in rbd_dev_v2_striping_info() 6720 &header->stripe_count); in rbd_dev_v2_header_onetime()
|