/freebsd-12-stable/tests/sys/cddl/zfs/include/ |
H A D | libtest.kshlib | 3166 # given in bytes and has the actual ashift baked in. 3175 # is more complicated due to RAIDZ. ashift is normally always 9, but RAIDZ 3176 # uses the actual tvd ashift instead. Furthermore, the number of vdevs changes 3179 function raidz_dva_to_block_addr # dva ncols ashift 3183 typeset -i ashift=$3 3186 (( offset >>= ashift )) 3191 (( ioff += ( 4194304 >> $ashift ) )) 3267 # Get a vdev path, ashift & offset for a given pool/dataset and DVA. 3292 ashift=$(get_tvd_prop $lvd $tvd ashift) [all...] |
/freebsd-12-stable/usr.sbin/kbdcontrol/ |
H A D | lex.l | 64 ashift { return TASH; }
|
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 1879 uint64_t ashift = vd->vdev_top->vdev_ashift; local 1883 asize = ((psize - 1) >> ashift) + 1; 1885 asize = roundup(asize, nparity + 1) << ashift; 2638 uint64_t ashift = vd->vdev_top->vdev_ashift; local 2640 uint64_t b = offset >> ashift; 2642 uint64_t s = ((psize - 1) >> ashift) + 1; 2673 uint64_t ashift = raidvd->vdev_top->vdev_ashift; local 2676 ASSERT0(in->rs_start % (1 << ashift)); 2677 ASSERT0(in->rs_end % (1 << ashift)); 2678 uint64_t b_start = in->rs_start >> ashift; [all...] |
H A D | metaslab.c | 79 * MAX(1 << ashift, space_map_blksize), so a metaslab might use the 935 uint64_t ashift = vd->vdev_ashift; local 945 SPACE_MAP_HISTOGRAM_SIZE + ashift); 956 mg_hist[i + ashift] += 970 uint64_t ashift = mg->mg_vd->vdev_ashift; local 978 mg->mg_histogram[i + ashift] += 980 mc->mc_histogram[i + ashift] += 990 uint64_t ashift = mg->mg_vd->vdev_ashift; local 998 ASSERT3U(mg->mg_histogram[i + ashift], >=, 1000 ASSERT3U(mc->mc_histogram[i + ashift], > [all...] |
H A D | vdev_disk.c | 272 uint64_t *ashift) 573 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1; 271 vdev_disk_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) argument
|
/freebsd-12-stable/sys/netpfil/pf/ |
H A D | pf_lb.c | 312 int ashift, psidshift; local 314 ashift = 16 - r->rpool.mape.offset; 315 psidshift = ashift - r->rpool.mape.psidlen; 326 low = (i << ashift) | psmask; 332 low = (i << ashift) | psmask;
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/ztest/ |
H A D | ztest.c | 917 make_vdev_file(char *path, char *aux, char *pool, size_t size, uint64_t ashift) argument 923 if (ashift == 0) 924 ashift = ztest_get_ashift(); 955 VERIFY(nvlist_add_uint64(file, ZPOOL_CONFIG_ASHIFT, ashift) == 0); 962 uint64_t ashift, int r) 968 return (make_vdev_file(path, aux, pool, size, ashift)); 972 child[c] = make_vdev_file(path, aux, pool, size, ashift); 992 uint64_t ashift, int r, int m) 998 return (make_vdev_raidz(path, aux, pool, size, ashift, r)); 1003 child[c] = make_vdev_raidz(path, aux, pool, size, ashift, 961 make_vdev_raidz(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r) argument 991 make_vdev_mirror(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r, int m) argument 1020 make_vdev_root(char *path, char *aux, char *pool, size_t size, uint64_t ashift, const char *class, int r, int m, int t) argument 3189 uint64_t ashift = ztest_get_ashift(); local [all...] |
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb.c | 2555 dump_label_uberblocks(vdev_label_t *lbl, uint64_t ashift) argument 2561 vd.vdev_ashift = ashift; 2693 uint64_t psize, ashift; local 2756 ashift = SPA_MINBLOCKSHIFT; 2765 ZPOOL_CONFIG_ASHIFT, &ashift) != 0)) 2766 ashift = SPA_MINBLOCKSHIFT; 2771 dump_label_uberblocks(&label, ashift);
|
/freebsd-12-stable/stand/libsa/zfs/ |
H A D | zfsimpl.c | 1151 uint64_t id, ashift, asize, nparity; local 1211 DATA_TYPE_UINT64, NULL, &ashift) == 0) 1212 vdev->v_ashift = ashift;
|
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_main.c | 1585 uint64_t ashift; local
|