Home
last modified time | relevance | path

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

/linux/net/ceph/
H A Dstriper.c38 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/fs/ceph/
H A 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()
H A Dioctl.c27 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout()
87 if (l.stripe_count) in ceph_ioctl_set_layout()
88 nl.stripe_count = l.stripe_count; in ceph_ioctl_set_layout()
90 nl.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_set_layout()
124 cpu_to_le32(l.stripe_count); in ceph_ioctl_set_layout()
171 cpu_to_le32(l.stripe_count); in ceph_ioctl_set_layout_policy()
314 if (ci->i_layout.stripe_count > 1) in ceph_set_encryption_policy()
H A Dioctl.h36 __u64 stripe_unit, stripe_count, object_size; member
/linux/fs/nfs/filelayout/
H A Dfilelayoutdev.c145 dsaddr->stripe_count = cnt; in nfs4_fl_alloc_deviceid_node()
233 return do_div(tmp, flseg->dsaddr->stripe_count); in nfs4_fl_calc_j_index()
H A Dfilelayout.h51 u32 stripe_count; member
/linux/include/linux/ceph/
H A Dceph_fs.h70 u32 stripe_count; /* over this many objects */ member
451 __le32 stripe_count; /* ... */ member
/linux/drivers/block/
H A Drbd.c151 u64 stripe_count; member
977 rbd_dev->header.stripe_count == 0) { in rbd_init_layout()
979 rbd_dev->header.stripe_count = 1; in rbd_init_layout()
983 rbd_dev->layout.stripe_count = rbd_dev->header.stripe_count; in rbd_init_layout()
4948 rbd_dev->layout.object_size * rbd_dev->layout.stripe_count; in rbd_init_disk()
5807 u64 *stripe_unit, u64 *stripe_count) in rbd_dev_v2_striping_info() argument
5811 __le64 stripe_count; in rbd_dev_v2_striping_info() member
5826 *stripe_count = le64_to_cpu(striping_info_buf.stripe_count); in rbd_dev_v2_striping_info()
5828 *stripe_count); in rbd_dev_v2_striping_info()
6708 &header->stripe_count); in rbd_dev_v2_header_onetime()