Searched refs:ashift (Results 1 - 8 of 8) sorted by relevance

/freebsd-10.2-release/usr.sbin/kbdcontrol/
H A Dlex.l61 ashift { return TASH; }
/freebsd-10.2-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dmetaslab.c80 * MAX(1 << ashift, space_map_blksize), so a metaslab might use the
698 uint64_t ashift = vd->vdev_ashift; local
708 SPACE_MAP_HISTOGRAM_SIZE + ashift);
717 mg_hist[i + ashift] +=
731 uint64_t ashift = mg->mg_vd->vdev_ashift; local
739 mg->mg_histogram[i + ashift] +=
741 mc->mc_histogram[i + ashift] +=
751 uint64_t ashift = mg->mg_vd->vdev_ashift; local
759 ASSERT3U(mg->mg_histogram[i + ashift], >=,
761 ASSERT3U(mc->mc_histogram[i + ashift], >
[all...]
H A Dvdev_disk.c284 uint64_t *ashift)
550 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1;
283 vdev_disk_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) argument
H A Dvdev_raidz.c1691 uint64_t ashift = vd->vdev_top->vdev_ashift; local
1695 asize = ((psize - 1) >> ashift) + 1;
1697 asize = roundup(asize, nparity + 1) << ashift;
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c818 make_vdev_file(char *path, char *aux, char *pool, size_t size, uint64_t ashift) argument
824 if (ashift == 0)
825 ashift = ztest_get_ashift();
856 VERIFY(nvlist_add_uint64(file, ZPOOL_CONFIG_ASHIFT, ashift) == 0);
863 uint64_t ashift, int r)
869 return (make_vdev_file(path, aux, pool, size, ashift));
873 child[c] = make_vdev_file(path, aux, pool, size, ashift);
893 uint64_t ashift, int r, int m)
899 return (make_vdev_raidz(path, aux, pool, size, ashift, r));
904 child[c] = make_vdev_raidz(path, aux, pool, size, ashift,
862 make_vdev_raidz(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r) argument
892 make_vdev_mirror(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r, int m) argument
921 make_vdev_root(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int log, int r, int m, int t) argument
2753 uint64_t ashift = ztest_get_ashift(); local
[all...]
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zdb/
H A Dzdb.c2050 dump_label_uberblocks(vdev_label_t *lbl, uint64_t ashift) argument
2056 vd.vdev_ashift = ashift;
2079 uint64_t psize, ashift; local
2130 ashift = SPA_MINBLOCKSHIFT;
2138 ZPOOL_CONFIG_ASHIFT, &ashift) != 0))
2139 ashift = SPA_MINBLOCKSHIFT;
2143 dump_label_uberblocks(&label, ashift);
/freebsd-10.2-release/sys/boot/zfs/
H A Dzfsimpl.c514 uint64_t guid, id, ashift, nparity; local
572 DATA_TYPE_UINT64, 0, &ashift) == 0)
573 vdev->v_ashift = ashift;
/freebsd-10.2-release/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c1307 uint64_t ashift; local

Completed in 142 milliseconds