Searched refs:stripe_unit (Results 1 – 14 of 14) sorted by relevance
/linux-4.19.296/fs/ceph/ |
D | ioctl.c | 25 l.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_get_layout() 44 (l->stripe_unit & ~PAGE_MASK) || in __validate_layout() 45 ((unsigned)l->stripe_unit != 0 && in __validate_layout() 46 ((unsigned)l->object_size % (unsigned)l->stripe_unit))) in __validate_layout() 87 if (l.stripe_unit) in ceph_ioctl_set_layout() 88 nl.stripe_unit = l.stripe_unit; in ceph_ioctl_set_layout() 90 nl.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_set_layout() 118 cpu_to_le32(l.stripe_unit); in ceph_ioctl_set_layout() 162 cpu_to_le32(l.stripe_unit); in ceph_ioctl_set_layout_policy() 202 dl.block_size = ci->i_layout.stripe_unit; in ceph_ioctl_get_dataloc()
|
D | ioctl.h | 36 __u64 stripe_unit, stripe_count, object_size; member
|
D | xattr.c | 66 return (fl->stripe_unit > 0 || fl->stripe_count > 0 || in ceph_vxattrcb_layout_exists() 92 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout() 98 ci->i_layout.stripe_unit, ci->i_layout.stripe_count, in ceph_vxattrcb_layout() 131 return snprintf(val, size, "%u", ci->i_layout.stripe_unit); in ceph_vxattrcb_layout_stripe_unit() 309 XATTR_LAYOUT_FIELD(dir, layout, stripe_unit), 345 XATTR_LAYOUT_FIELD(file, layout, stripe_unit),
|
D | file.c | 1702 s32 stripe_unit = ci->i_layout.stripe_unit; in ceph_zero_objects() local 1728 pos += stripe_unit; in ceph_zero_objects()
|
/linux-4.19.296/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() 267 unsigned stripe_size = layout->stripe_unit * data_devs; in ore_get_rw_state() 268 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; in ore_get_rw_state() 543 u32 stripe_unit = layout->stripe_unit; in ore_calc_stripe_info() local 549 u32 U = D * stripe_unit; in ore_calc_stripe_info() 566 u32 C = (u32)(H - (N * U)) / stripe_unit + G * group_width; in ore_calc_stripe_info() [all …]
|
D | super.c | 481 sbi->layout.stripe_unit = in _read_and_match_data_map() 498 sbi->layout.stripe_unit, in _read_and_match_data_map() 509 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 | 723 unsigned pages_in_unit = layout->stripe_unit / PAGE_SIZE; in _ore_post_alloc_raid_stuff()
|
/linux-4.19.296/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() 621 if (!fl->stripe_unit) { in filelayout_check_layout() 623 __func__, fl->stripe_unit); in filelayout_check_layout() 687 fl->stripe_unit = nfl_util & ~NFL4_UFLG_MASK; in filelayout_decode_layout() 860 u32 stripe_unit = FILELAYOUT_LSEG(pgio->pg_lseg)->stripe_unit; in filelayout_pg_test() local 873 do_div(p_stripe, stripe_unit); in filelayout_pg_test() 874 do_div(r_stripe, stripe_unit); in filelayout_pg_test() 882 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()
|
/linux-4.19.296/include/scsi/ |
D | osd_ore.h | 40 unsigned stripe_unit; member
|
/linux-4.19.296/fs/nfs/flexfilelayout/ |
D | flexfilelayout.h | 99 u64 stripe_unit; member
|
D | flexfilelayout.c | 373 u64 stripe_unit; in ff_layout_alloc_lseg() local 393 p = xdr_decode_hyper(p, &stripe_unit); in ff_layout_alloc_lseg() 396 stripe_unit, mirror_array_cnt); in ff_layout_alloc_lseg() 408 fls->stripe_unit = stripe_unit; in ff_layout_alloc_lseg()
|
/linux-4.19.296/include/linux/ceph/ |
D | ceph_fs.h | 63 u32 stripe_unit; /* stripe unit, in bytes */ member 417 __le32 stripe_unit; /* layout for newly created file */ member
|