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

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_missing.c48 uint64_t *ashift)
58 *ashift = 0;
47 vdev_missing_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) argument
H A Dvdev_root.c58 uint64_t *ashift)
86 *ashift = 0;
57 vdev_root_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, uint64_t *ashift) argument
H A Dvdev_file.c53 uint64_t *ashift)
119 *ashift = SPA_MINBLOCKSHIFT;
52 vdev_file_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) argument
H A Dvdev_mirror.c135 uint64_t *ashift)
158 *ashift = MAX(*ashift, cvd->vdev_ashift);
134 vdev_mirror_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, uint64_t *ashift) argument
H A Dmetaslab.c55 * MAX(1 << ashift, space_map_blksize), so a metaslab might use the
700 uint64_t ashift = vd->vdev_ashift; local
710 SPACE_MAP_HISTOGRAM_SIZE + ashift);
719 mg_hist[i + ashift] +=
733 uint64_t ashift = mg->mg_vd->vdev_ashift; local
741 mg->mg_histogram[i + ashift] +=
743 mc->mc_histogram[i + ashift] +=
753 uint64_t ashift = mg->mg_vd->vdev_ashift; local
761 ASSERT3U(mg->mg_histogram[i + ashift], >=,
763 ASSERT3U(mc->mc_histogram[i + ashift], >
[all...]
H A Dvdev_disk.c256 uint64_t *ashift)
522 *ashift = highbit64(MAX(pbsize, SPA_MINBLOCKSIZE)) - 1;
255 vdev_disk_open(vdev_t *vd, uint64_t *psize, uint64_t *max_psize, uint64_t *ashift) argument
H A Dvdev_raidz.c1475 uint64_t *ashift)
1504 *ashift = MAX(*ashift, cvd->vdev_ashift);
1677 uint64_t ashift = vd->vdev_top->vdev_ashift; local
1681 asize = ((psize - 1) >> ashift) + 1;
1683 asize = roundup(asize, nparity + 1) << ashift;
1474 vdev_raidz_open(vdev_t *vd, uint64_t *asize, uint64_t *max_asize, uint64_t *ashift) argument
H A Dvdev.c1161 uint64_t ashift = 0; local
1191 error = vd->vdev_ops->vdev_op_open(vd, &osize, &max_osize, &ashift);
1287 * For testing purposes, a higher ashift can be requested.
1291 vd->vdev_ashift = MAX(ashift, vd->vdev_ashift);
1298 if (ashift > vd->vdev_top->vdev_ashift &&
1331 * Track the min and max ashift values for normal data devices.
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c273 find_bestub(char *ub_array, uint64_t ashift, uint64_t sector) argument
280 ub_size = VDEV_UBERBLOCK_SIZE(ashift);
282 for (i = 0; i < VDEV_UBERBLOCK_COUNT(ashift); i++) {
286 VDEV_UBERBLOCK_OFFSET(ashift, i);
1630 uint64_t tmp_guid, ashift, version; local
1673 tmp_bootpath, &tmp_guid, &ashift, &version))
1679 if ((ubbest = find_bestub(ub_array, ashift, sector)) == NULL ||
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dvdev_impl.h63 uint64_t *ashift);
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c824 make_vdev_file(char *path, char *aux, char *pool, size_t size, uint64_t ashift) argument
830 if (ashift == 0)
831 ashift = ztest_get_ashift();
862 VERIFY(nvlist_add_uint64(file, ZPOOL_CONFIG_ASHIFT, ashift) == 0);
869 uint64_t ashift, int r)
875 return (make_vdev_file(path, aux, pool, size, ashift));
879 child[c] = make_vdev_file(path, aux, pool, size, ashift);
899 uint64_t ashift, int r, int m)
905 return (make_vdev_raidz(path, aux, pool, size, ashift, r));
910 child[c] = make_vdev_raidz(path, aux, pool, size, ashift,
868 make_vdev_raidz(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r) argument
898 make_vdev_mirror(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int r, int m) argument
927 make_vdev_root(char *path, char *aux, char *pool, size_t size, uint64_t ashift, int log, int r, int m, int t) argument
2759 uint64_t ashift = ztest_get_ashift(); local
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dlofi.c445 int ashift; local
480 ashift = lsp->ls_lbshift;
487 (lsp->ls_vp_size - lsp->ls_crypto_offset) >> ashift;
492 geomp->g_secsize = (1U << ashift);
500 (lsp->ls_vp_size - lsp->ls_crypto_offset) >> ashift;
504 *(uint32_t *)arg = (1U << ashift);
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2121 dump_label_uberblocks(vdev_label_t *lbl, uint64_t ashift) argument
2127 vd.vdev_ashift = ashift;
2150 uint64_t psize, ashift; local
2202 ashift = SPA_MINBLOCKSHIFT;
2210 ZPOOL_CONFIG_ASHIFT, &ashift) != 0))
2211 ashift = SPA_MINBLOCKSHIFT;
2215 dump_label_uberblocks(&label, ashift);
/illumos-gate/usr/src/boot/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;

Completed in 499 milliseconds