| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_set/ |
| H A D | zpool_set_ashift.ksh | 69 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 D | replace_prop_ashift.ksh | 69 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 D | replace-o_ashift.ksh | 67 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 D | attach-o_ashift.ksh | 67 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 D | add_prop_ashift.ksh | 69 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 D | add-o_ashift.ksh | 63 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 D | create-o_ashift.ksh | 107 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 D | raidz_test.c | 373 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 D | vdev_draid.c | 583 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 D | vdev_raidz.c | 190 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 D | vdev_missing.c | 47 uint64_t *ashift, uint64_t *pshift) in vdev_missing_open() argument 58 *ashift = 0; in vdev_missing_open()
|
| H A D | vdev_root.c | 85 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 D | zpool_vdev.c | 280 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 D | send_raw_ashift.ksh | 154 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 D | libtest.kshlib | 3183 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 D | zfs_retire.c | 192 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 D | enospc_003_pos.ksh | 57 log_must zpool create -o ashift=13 $TESTPOOL1 $DISK_LARGE
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
| H A D | auto_spare_ashift.ksh | 70 log_must zpool set ashift=9 $TESTPOOL
|
| /freebsd-13.1/sys/netpfil/pf/ |
| H A D | pf_lb.c | 314 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 D | el.iso07.kbd | 145 093 ashift ashift ralt ralt ralt ralt ralt ralt O 258 221 ashift ashift ralt ralt ralt ralt ralt ralt O
|
| H A D | cs.latin2.qwertz.kbd | 127 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 D | zpool_get.cfg | 89 "ashift"
|
| /freebsd-13.1/share/vt/keymaps/ |
| H A D | gr.kbd | 145 093 ashift ashift ralt ralt ralt ralt ralt ralt O 258 221 ashift ashift ralt ralt ralt ralt ralt ralt O
|
| H A D | cz.kbd | 127 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 D | lex.l | 64 ashift { return TASH; }
|