Searched refs:stripe_unit (Results 1 – 13 of 13) sorted by relevance
/fs/ceph/ |
D | ioctl.c | 24 l.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_get_layout() 43 (l->stripe_unit & ~PAGE_MASK) || in __validate_layout() 44 ((unsigned)l->stripe_unit != 0 && in __validate_layout() 45 ((unsigned)l->object_size % (unsigned)l->stripe_unit))) in __validate_layout() 86 if (l.stripe_unit) in ceph_ioctl_set_layout() 87 nl.stripe_unit = l.stripe_unit; in ceph_ioctl_set_layout() 89 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout() 117 cpu_to_le32(l.stripe_unit); in ceph_ioctl_set_layout() 161 cpu_to_le32(l.stripe_unit); in ceph_ioctl_set_layout_policy() 206 dl.block_size = ci->i_layout.stripe_unit; in ceph_ioctl_get_dataloc()
|
D | ioctl.h | 35 __u64 stripe_unit, stripe_count, object_size; member
|
D | xattr.c | 61 return (fl->stripe_unit > 0 || fl->stripe_count > 0 || in ceph_vxattrcb_layout_exists() 87 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout() 93 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout() 129 return snprintf(val, size, "%u", ci->i_layout.stripe_unit); in ceph_vxattrcb_layout_stripe_unit() 259 XATTR_LAYOUT_FIELD(dir, layout, stripe_unit), 287 XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
|
D | file.c | 1640 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects() local 1666 pos += stripe_unit; in ceph_zero_objects()
|
/fs/exofs/ |
D | ore.c | 69 if (0 != (layout->stripe_unit & ~PAGE_MASK)) { in ore_verify_layout() 72 _LLU(layout->stripe_unit), PAGE_SIZE); in ore_verify_layout() 100 stripe_length = (u64)layout->group_width * layout->stripe_unit; in ore_verify_layout() 108 (BIO_MAX_PAGES_KMALLOC * PAGE_SIZE - layout->stripe_unit) * in ore_verify_layout() 113 layout->stripe_unit; in ore_verify_layout() 253 unsigned stripe_size = layout->stripe_unit * data_devs; in ore_get_rw_state() 254 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; in ore_get_rw_state() 529 u32 stripe_unit = layout->stripe_unit; in ore_calc_stripe_info() local 535 u32 U = D * stripe_unit; in ore_calc_stripe_info() 552 u32 C = (u32)(H - (N * U)) / stripe_unit + G * group_width; in ore_calc_stripe_info() [all …]
|
D | super.c | 477 sbi->layout.stripe_unit = in _read_and_match_data_map() 494 sbi->layout.stripe_unit, in _read_and_match_data_map() 505 unsigned ra_pages = layout->group_width * layout->stripe_unit / in __ra_pages() 738 sbi->layout.stripe_unit = PAGE_SIZE; in exofs_fill_super()
|
D | ore_raid.c | 688 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; in _ore_post_alloc_raid_stuff()
|
/fs/nfs/filelayout/ |
D | filelayout.c | 57 u32 stripe_width = flseg->stripe_unit * flseg->dsaddr->stripe_count; in filelayout_get_dense_offset() 63 div_u64_rem(offset, flseg->stripe_unit, &rem); in filelayout_get_dense_offset() 65 return stripe_no * flseg->stripe_unit + rem; in filelayout_get_dense_offset() 598 if (!fl->stripe_unit) { in filelayout_check_layout() 600 __func__, fl->stripe_unit); in filelayout_check_layout() 696 fl->stripe_unit = nfl_util & ~NFL4_UFLG_MASK; in filelayout_decode_layout() 863 u32 stripe_unit = FILELAYOUT_LSEG(pgio->pg_lseg)->stripe_unit; in filelayout_pg_test() local 874 do_div(p_stripe, stripe_unit); in filelayout_pg_test() 875 do_div(r_stripe, stripe_unit); in filelayout_pg_test() 883 stripe_unit, in filelayout_pg_test() [all …]
|
D | filelayout.h | 61 u32 stripe_unit; member
|
D | filelayoutdev.c | 230 do_div(tmp, flseg->stripe_unit); in nfs4_fl_calc_j_index()
|
/fs/nfs/flexfilelayout/ |
D | flexfilelayout.h | 92 u64 stripe_unit; member
|
D | flexfilelayout.c | 378 u64 stripe_unit; in ff_layout_alloc_lseg() local 398 p = xdr_decode_hyper(p, &stripe_unit); in ff_layout_alloc_lseg() 401 stripe_unit, mirror_array_cnt); in ff_layout_alloc_lseg() 413 fls->stripe_unit = stripe_unit; in ff_layout_alloc_lseg()
|
/fs/nfs/objlayout/ |
D | objio_osd.c | 232 objio_seg->layout.stripe_unit = layout.olo_map.odm_stripe_unit; in objio_alloc_lseg() 568 stripe_size = layout->stripe_unit * in aligned_on_raid_stripe()
|