Searched refs:stripe_count (Results 1 – 8 of 8) sorted by relevance
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()
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()
27 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()
36 __u64 stripe_unit, stripe_count, object_size; member
145 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()
51 u32 stripe_count; member
70 u32 stripe_count; /* over this many objects */ member451 __le32 stripe_count; /* ... */ member
151 u64 stripe_count; member977 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() argument5811 __le64 stripe_count; in rbd_dev_v2_striping_info() member5826 *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()