Home
last modified time | relevance | path

Searched refs:ashift (Results 1 – 25 of 33) sorted by relevance

12

/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_set/
H A Dzpool_set_ashift.ksh69 for ashift in ${goodvals[@]}
71 log_must zpool set ashift=$ashift $TESTPOOL1
72 typeset value=$(get_pool_prop ashift $TESTPOOL1)
73 if [[ "$ashift" != "$value" ]]; then
74 log_fail "'zpool set' did not update ashift value to $ashift "\
79 for ashift in ${badvals[@]}
81 log_mustnot zpool set ashift=$ashift $TESTPOOL1
82 typeset value=$(get_pool_prop ashift $TESTPOOL1)
83 if [[ "$ashift" == "$value" ]]; then
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_replace/
H A Dreplace_prop_ashift.ksh69 for ashift in ${ashifts[@]}
73 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1
74 log_must zpool set ashift=$pprop $TESTPOOL1
76 if [[ $pprop -le $ashift ]]
80 verify_ashift $disk2 $ashift
84 "setting ashift value to $ashift"
90 log_must zpool replace -o ashift=$ashift $TESTPOOL1 \
93 verify_ashift $disk2 $ashift
97 "setting ashift value to $ashift"
H A Dreplace-o_ashift.ksh67 for ashift in ${ashifts[@]}
71 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1
72 verify_ashift $disk1 $ashift
76 "value to $ashift"
79 if [[ $cmdval -le $ashift ]]
81 log_must zpool replace -o ashift=$cmdval $TESTPOOL1 \
83 verify_ashift $disk2 $ashift
87 "setting ashift value to $ashift"
91 log_mustnot zpool replace -o ashift=$cmdval $TESTPOOL1 \
105 log_mustnot zpool replace -o ashift=$badval $TESTPOOL1 $disk1 $disk2
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_attach/
H A Dattach-o_ashift.ksh67 for ashift in ${ashifts[@]}
71 log_must zpool create -o ashift=$ashift $TESTPOOL1 $disk1
72 verify_ashift $disk1 $ashift
76 "value to $ashift"
79 if [[ $cmdval -le $ashift ]]
81 log_must zpool attach -o ashift=$cmdval $TESTPOOL1 \
83 verify_ashift $disk2 $ashift
87 "setting ashift value to $ashift"
90 log_mustnot zpool attach -o ashift=$cmdval $TESTPOOL1 \
104 log_mustnot zpool attach -o ashift=$badval $TESTPOOL1 $disk1 $disk2
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_add/
H A Dadd_prop_ashift.ksh69 for ashift in ${ashifts[@]}
71 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1
73 verify_ashift $disk2 $ashift
77 "$ashift"
85 for ashift in ${ashifts[@]}
89 log_must zpool create -o ashift=$ashift $TESTPOOL $disk1
90 log_must zpool add -o ashift=$cmdval $TESTPOOL $disk2
H A Dadd-o_ashift.ksh63 for ashift in ${ashifts[@]}
66 log_must zpool add -o ashift=$ashift $TESTPOOL $disk2
67 verify_ashift $disk2 $ashift
71 "$ashift"
82 log_must set_tunable64 VDEV_FILE_PHYSICAL_ASHIFT $ashift
84 verify_ashift $disk2 $ashift
88 "$ashift"
101 log_mustnot zpool add -o ashift="$badval" $TESTPOOL $disk2
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dcreate-o_ashift.ksh107 typeset ashift=${ashifts[$i]}
108 log_must zpool create -o ashift=$ashift $TESTPOOL $disk
109 typeset pprop=$(get_pool_prop ashift $TESTPOOL)
110 verify_ashift $disk $ashift
111 if [[ $? -ne 0 || "$pprop" != "$ashift" ]]
114 "$ashift (current = $pprop)"
132 log_mustnot zpool create -o ashift="$badval" $TESTPOOL $disk
/freebsd-13.1/sys/contrib/openzfs/cmd/raidz_test/
H A Draidz_test.c373 uint64_t ashift, uint64_t physical_cols, uint64_t logical_cols, in vdev_raidz_map_alloc_expanded() argument
377 uint64_t s = size >> ashift; in vdev_raidz_map_alloc_expanded()
416 uint64_t b = (offset >> ashift) + row * logical_cols; in vdev_raidz_map_alloc_expanded()
424 if (b + (logical_cols - nparity) > reflow_offset >> ashift) in vdev_raidz_map_alloc_expanded()
430 uint64_t child_offset = (b / row_phys_cols) << ashift; in vdev_raidz_map_alloc_expanded()
457 child_offset += 1ULL << ashift; in vdev_raidz_map_alloc_expanded()
469 rr->rr_col[c].rc_size = 1ULL << ashift; in vdev_raidz_map_alloc_expanded()
492 rr->rr_col[c].rc_size = 1ULL << ashift; in vdev_raidz_map_alloc_expanded()
495 abd, off << ashift, 1 << ashift); in vdev_raidz_map_alloc_expanded()
534 ASSERT3U(asize, ==, tot << ashift); in vdev_raidz_map_alloc_expanded()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dvdev_draid.c583 uint64_t ashift = vd->vdev_ashift; in vdev_draid_asize() local
903 uint64_t ashift = vd->vdev_top->vdev_ashift; in vdev_draid_logical_to_physical() local
952 (b_offset / groupwidth)) << ashift); in vdev_draid_logical_to_physical()
1005 const uint64_t psize = io_size >> ashift; in vdev_draid_map_alloc_row()
1066 rc->rc_size = (q + 1) << ashift; in vdev_draid_map_alloc_row()
1068 rc->rc_size = q << ashift; in vdev_draid_map_alloc_row()
1073 ASSERT3U(asize, ==, tot << ashift); in vdev_draid_map_alloc_row()
1624 uint64_t ashift = vd->vdev_ashift; in vdev_draid_rebuild_asize() local
1633 psize = (((psize >> ashift) / ndata) * ndata) << ashift; in vdev_draid_rebuild_asize()
2160 (logical_start >> ashift); in vdev_draid_xlate()
[all …]
H A Dvdev_raidz.c190 uint64_t b = zio->io_offset >> ashift; in vdev_raidz_map_alloc()
192 uint64_t s = zio->io_size >> ashift; in vdev_raidz_map_alloc()
196 uint64_t o = (b / dcols) << ashift; in vdev_raidz_map_alloc()
263 coff += 1ULL << ashift; in vdev_raidz_map_alloc()
279 rc->rc_size = (q + 1) << ashift; in vdev_raidz_map_alloc()
281 rc->rc_size = q << ashift; in vdev_raidz_map_alloc()
286 ASSERT3U(asize, ==, tot << ashift); in vdev_raidz_map_alloc()
1462 asize = ((psize - 1) >> ashift) + 1; in vdev_raidz_asize()
2372 uint64_t b = DVA_GET_OFFSET(dva) >> ashift; in vdev_raidz_need_resilver()
2374 uint64_t s = ((psize - 1) >> ashift) + 1; in vdev_raidz_need_resilver()
[all …]
H A Dvdev_missing.c47 uint64_t *ashift, uint64_t *pshift) in vdev_missing_open() argument
58 *ashift = 0; in vdev_missing_open()
H A Dvdev_root.c85 uint64_t *ashift, uint64_t *pshift) in vdev_root_open() argument
118 *ashift = 0; in vdev_root_open()
/freebsd-13.1/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c280 uint64_t ashift = 0; in make_leaf_vdev() local
388 if (zfs_nicestrtonum(NULL, value, &ashift) != 0) { in make_leaf_vdev()
393 if (ashift != 0 && in make_leaf_vdev()
394 (ashift < ASHIFT_MIN || ashift > ASHIFT_MAX)) { in make_leaf_vdev()
399 ashift, ASHIFT_MIN, ASHIFT_MAX); in make_leaf_vdev()
409 if (ashift == 0) { in make_leaf_vdev()
413 ashift = highbit64(sector_size) - 1; in make_leaf_vdev()
416 if (ashift > 0) in make_leaf_vdev()
417 (void) nvlist_add_uint64(vdev, ZPOOL_CONFIG_ASHIFT, ashift); in make_leaf_vdev()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend_raw_ashift.ksh154 log_must zpool create -f -o ashift=9 pool9 $TESTDIR/vdev_a
155 log_must zpool create -f -o ashift=12 pool12 $TESTDIR/vdev_b
/freebsd-13.1/tests/sys/cddl/zfs/include/
H A Dlibtest.kshlib3183 typeset -i ashift=$3
3186 (( offset >>= ashift ))
3191 (( ioff += ( 4194304 >> $ashift ) ))
3292 ashift=$(get_tvd_prop $lvd $tvd ashift)
3293 log_debug "raidz: ashift='${ashift}'"
3294 off=$(raidz_dva_to_block_addr $dva $nchildren $ashift)
3297 ashift=9
3301 echo "${lvd}:${ashift}:${off}"
3402 ashift=$(echo $vdoff | cut -d: -f2)
3404 blocksize=$(( 1 << $ashift ))
[all …]
/freebsd-13.1/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c192 int ashift; in replace_with_spare() local
209 ashift = zpool_get_prop_int(zhp, ZPOOL_PROP_ASHIFT, &source); in replace_with_spare()
238 ZPOOL_CONFIG_ASHIFT, ashift); in replace_with_spare()
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/no_space/
H A Denospc_003_pos.ksh57 log_must zpool create -o ashift=13 $TESTPOOL1 $DISK_LARGE
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/
H A Dauto_spare_ashift.ksh70 log_must zpool set ashift=9 $TESTPOOL
/freebsd-13.1/sys/netpfil/pf/
H A Dpf_lb.c314 int ashift, psidshift; in pf_get_mape_sport() local
316 ashift = 16 - r->rpool.mape.offset; in pf_get_mape_sport()
317 psidshift = ashift - r->rpool.mape.psidlen; in pf_get_mape_sport()
328 low = (i << ashift) | psmask; in pf_get_mape_sport()
334 low = (i << ashift) | psmask; in pf_get_mape_sport()
/freebsd-13.1/share/syscons/keymaps/
H A Del.iso07.kbd145 093 ashift ashift ralt ralt ralt ralt ralt ralt O
258 221 ashift ashift ralt ralt ralt ralt ralt ralt O
H A Dcs.latin2.qwertz.kbd127 093 ashift ashift ralt ralt ralt ralt ralt ralt O
240 221 ashift ashift ralt ralt ralt ralt ralt ralt O
/freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get.cfg89 "ashift"
/freebsd-13.1/share/vt/keymaps/
H A Dgr.kbd145 093 ashift ashift ralt ralt ralt ralt ralt ralt O
258 221 ashift ashift ralt ralt ralt ralt ralt ralt O
H A Dcz.kbd127 093 ashift ashift ralt ralt ralt ralt ralt ralt O
240 221 ashift ashift ralt ralt ralt ralt ralt ralt O
/freebsd-13.1/usr.sbin/kbdcontrol/
H A Dlex.l64 ashift { return TASH; }

12