Searched refs:SPA_DVAS_PER_BP (Results 1 - 15 of 15) 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.h381 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
394 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.c255 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.c237 int spa_max_replication_override = SPA_DVAS_PER_BP;
326 * (VDEV_RAIDZ_MAXPARITY + 1) * SPA_DVAS_PER_BP * 2 == 24
1982 return (MIN(SPA_DVAS_PER_BP, spa_max_replication_override));
H A Dzio.c2429 if (gio->io_prop.zp_encrypt && gbh_copies >= SPA_DVAS_PER_BP)
2430 gbh_copies = SPA_DVAS_PER_BP - 1;
2910 ASSERT(zp->zp_copies < SPA_DVAS_PER_BP);
2968 ASSERT(ditto_copies < SPA_DVAS_PER_BP);
H A Ddmu.c2370 copies = MIN(copies, SPA_DVAS_PER_BP - 1);
H A Darc.c6960 MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1);
H A Dspa.c220 * SPA_DVAS_PER_BP - 1 so that some copies of the MOS would still be available
223 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h324 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
327 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/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/boot/lib/libstand/zfs/
H A Dzfsimpl.c2124 for (i = 0; i < SPA_DVAS_PER_BP; i++)
2188 for (i = 0; i < SPA_DVAS_PER_BP; i++) {
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_dataset.c5413 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1);

Completed in 170 milliseconds