Home
last modified time | relevance | path

Searched refs:SPA_DVAS_PER_BP (Results 1 – 16 of 16) sorted by path

/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c2213 for (i = 0; i < SPA_DVAS_PER_BP; i++) in zio_read_gang()
2277 for (i = 0; i < SPA_DVAS_PER_BP; i++) { in zio_read()
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dzfsimpl.h328 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
331 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c365 for (i = 0; i < SPA_DVAS_PER_BP; i++) { in zio_read_data()
/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/lib/libzfs/common/
H A Dlibzfs_dataset.c5468 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1); in zvol_volsize_to_reservation()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/
H A Dreservation.shlib149 typeset -i SPA_DVAS_PER_BP=3
171 ((numdb *= SPA_DVAS_PER_BP < ncopies + 1 ? SPA_DVAS_PER_BP : \
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c6696 MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1); in arc_write()
H A Dddt.c251 for (int d = 0; d < SPA_DVAS_PER_BP; d++) in ddt_bp_fill()
302 for (int d = 0; d < SPA_DVAS_PER_BP; d++) in ddt_phys_fill()
562 copies_needed = MIN(copies_needed, SPA_DVAS_PER_BP - 1); in ddt_ditto_copies_needed()
578 ASSERT(copies >= 0 && copies < SPA_DVAS_PER_BP); in ddt_ditto_copies_present()
H A Ddmu.c2369 copies = MIN(copies, SPA_DVAS_PER_BP - 1); in dmu_write_policy()
H A Ddsl_scan.c340 static kmem_cache_t *sio_cache[SPA_DVAS_PER_BP];
347 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio_free()
357 ASSERT3U(nr_dvas, <=, SPA_DVAS_PER_BP); in sio_alloc()
375 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in scan_init()
388 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in scan_fini()
417 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio2bp()
H A Dspa.c225 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
H A Dspa_misc.c239 int spa_max_replication_override = SPA_DVAS_PER_BP;
1994 return (MIN(SPA_DVAS_PER_BP, spa_max_replication_override)); in spa_max_replication()
H A Dvdev_mirror.c255 dva_t dva_copy[SPA_DVAS_PER_BP]; in vdev_mirror_map_init()
H A Dzio.c2461 if (gio->io_prop.zp_encrypt && gbh_copies >= SPA_DVAS_PER_BP) in zio_write_gang_block()
2462 gbh_copies = SPA_DVAS_PER_BP - 1; in zio_write_gang_block()
2942 ASSERT(zp->zp_copies < SPA_DVAS_PER_BP); in zio_ddt_ditto_write_done()
3000 ASSERT(ditto_copies < SPA_DVAS_PER_BP); in zio_ddt_write()
/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.h376 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
389 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */