Searched refs:SPA_DVAS_PER_BP (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dddt.h98 ? SPA_DVAS_PER_BP - 1 : SPA_DVAS_PER_BP)
101 dva_t ddp_dva[SPA_DVAS_PER_BP];
H A Dspa.h418 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
431 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h163 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
166 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dddt.c251 for (int d = 0; d < SPA_DVAS_PER_BP; d++)
302 for (int d = 0; d < SPA_DVAS_PER_BP; d++)
562 copies_needed = MIN(copies_needed, SPA_DVAS_PER_BP - 1);
578 ASSERT(copies >= 0 && copies < SPA_DVAS_PER_BP);
H A Dvdev_mirror.c254 dva_t dva_copy[SPA_DVAS_PER_BP];
H A Ddsl_scan.c272 * There may be up to SPA_DVAS_PER_BP DVAs here from the bp,
339 static kmem_cache_t *sio_cache[SPA_DVAS_PER_BP];
346 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP);
356 ASSERT3U(nr_dvas, <=, SPA_DVAS_PER_BP);
374 for (int i = 0; i < SPA_DVAS_PER_BP; i++) {
387 for (int i = 0; i < SPA_DVAS_PER_BP; i++) {
416 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP);
H A Dspa_misc.c233 int spa_max_replication_override = SPA_DVAS_PER_BP;
322 * (VDEV_RAIDZ_MAXPARITY + 1) * SPA_DVAS_PER_BP * 2 == 24
1941 return (MIN(SPA_DVAS_PER_BP, spa_max_replication_override));
H A Dzio.c2425 if (gio->io_prop.zp_encrypt && gbh_copies >= SPA_DVAS_PER_BP)
2426 gbh_copies = SPA_DVAS_PER_BP - 1;
2906 ASSERT(zp->zp_copies < SPA_DVAS_PER_BP);
2964 ASSERT(ditto_copies < SPA_DVAS_PER_BP);
H A Ddmu.c2370 copies = MIN(copies, SPA_DVAS_PER_BP - 1);
H A Dmetaslab.c205 int metaslab_preload_limit = SPA_DVAS_PER_BP;
H A Darc.c6945 MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1);
H A Dspa.c219 * SPA_DVAS_PER_BP - 1 so that some copies of the MOS would still be available
222 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h316 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
319 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/illumos-gate/usr/src/boot/lib/libstand/zfs/
H A Dzfsimpl.c1779 for (i = 0; i < SPA_DVAS_PER_BP; i++)
1840 for (i = 0; i < SPA_DVAS_PER_BP; i++) {
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c364 for (i = 0; i < SPA_DVAS_PER_BP; i++) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c5416 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1);

Completed in 328 milliseconds