Searched refs:ashift (Results 1 - 8 of 8) sorted by last modified time

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c1523 uint64_t ashift; local
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c844 make_vdev_file(char *path, char *aux, char *pool, size_t size, uint64_t ashift) argument
850 if (ashift == 0)
851 ashift = ztest_get_ashift();
882 VERIFY(nvlist_add_uint64(file, ZPOOL_CONFIG_ASHIFT, ashift) == 0);
889 uint64_t ashift, int r)
895 return (make_vdev_file(path, aux, pool, size, ashift));
899 child[c] = make_vdev_file(path, aux, pool, size, ashift);
919 uint64_t ashift, int r, int m)
925 return (make_vdev_raidz(path, aux, pool, size, ashift, r));
930 child[c] = make_vdev_raidz(path, aux, pool, size, ashift,
888 make_vdev_raidz(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r) argument
918 make_vdev_mirror(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r, int m) argument
947 make_vdev_root(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int log, int r, int m, int t) argument
2868 uint64_t ashift = ztest_get_ashift(); local
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dmetaslab.c78 * MAX(1 << ashift, space_map_blksize), so a metaslab might use the
911 uint64_t ashift = vd->vdev_ashift; local
921 SPACE_MAP_HISTOGRAM_SIZE + ashift);
930 mg_hist[i + ashift] +=
944 uint64_t ashift = mg->mg_vd->vdev_ashift; local
952 mg->mg_histogram[i + ashift] +=
954 mc->mc_histogram[i + ashift] +=
964 uint64_t ashift = mg->mg_vd->vdev_ashift; local
972 ASSERT3U(mg->mg_histogram[i + ashift], >=,
974 ASSERT3U(mc->mc_histogram[i + ashift], >
[all...]
H A Dvdev_raidz.c1882 uint64_t ashift = vd->vdev_top->vdev_ashift; local
1886 asize = ((psize - 1) >> ashift) + 1;
1888 asize = roundup(asize, nparity + 1) << ashift;
2641 uint64_t ashift = vd->vdev_top->vdev_ashift; local
2643 uint64_t b = offset >> ashift;
2645 uint64_t s = ((psize - 1) >> ashift) + 1;
2676 uint64_t ashift = raidvd->vdev_top->vdev_ashift; local
2679 ASSERT0(in->rs_start % (1 << ashift));
2680 ASSERT0(in->rs_end % (1 << ashift));
2681 uint64_t b_start = in->rs_start >> ashift;
[all...]
H A Dvdev_disk.c257 uint64_t *ashift)
528 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1;
256 vdev_disk_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) argument
/freebsd-11-stable/stand/libsa/zfs/
H A Dzfsimpl.c521 uint64_t guid, id, ashift, nparity; local
578 DATA_TYPE_UINT64, NULL, &ashift) == 0) {
579 vdev->v_ashift = ashift;
/freebsd-11-stable/usr.sbin/kbdcontrol/
H A Dlex.l64 ashift { return TASH; }
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2430 dump_label_uberblocks(vdev_label_t *lbl, uint64_t ashift) argument
2436 vd.vdev_ashift = ashift;
2562 uint64_t psize, ashift; local
2625 ashift = SPA_MINBLOCKSHIFT;
2634 ZPOOL_CONFIG_ASHIFT, &ashift) != 0))
2635 ashift = SPA_MINBLOCKSHIFT;
2640 dump_label_uberblocks(&label, ashift);

Completed in 342 milliseconds