Home
last modified time | relevance | path

Searched refs:SPA_DVAS_PER_BP (Results 1 – 17 of 17) sorted by relevance

/freebsd/tests/sys/cddl/zfs/tests/reservation/
H A Dreservation.kshlib147 typeset SPA_DVAS_PER_BP=3
166 DVAS_PER_BP=$(min $SPA_DVAS_PER_BP $ncopies_bp)
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/reservation/
H A Dreservation.shlib140 typeset -i SPA_DVAS_PER_BP=3
162 ((numdb *= SPA_DVAS_PER_BP < ncopies + 1 ? SPA_DVAS_PER_BP : \
/freebsd/sys/contrib/openzfs/include/sys/
H A Dddt.h154 dva_t ddp_dva[SPA_DVAS_PER_BP];
163 dva_t ddp_dva[SPA_DVAS_PER_BP];
H A Dspa.h361 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
374 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dddt.c650 for (int d = 0; d < SPA_DVAS_PER_BP; d++) in ddt_bp_fill()
702 SPA_DVAS_PER_BP - 1 : SPA_DVAS_PER_BP; in ddt_phys_extend()
1814 memcmp(dvas, rdvas, sizeof (dva_t) * SPA_DVAS_PER_BP)) in ddt_repair_entry()
H A Ddsl_scan.c368 static kmem_cache_t *sio_cache[SPA_DVAS_PER_BP];
375 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio_free()
385 ASSERT3U(nr_dvas, <=, SPA_DVAS_PER_BP); in sio_alloc()
403 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in scan_init()
416 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in scan_fini()
445 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio2bp()
H A Dvdev_mirror.c277 dva_t dva_copy[SPA_DVAS_PER_BP]; in vdev_mirror_map_init()
H A Dspa_misc.c243 static const int spa_max_replication_override = SPA_DVAS_PER_BP;
2125 return (MIN(SPA_DVAS_PER_BP, spa_max_replication_override)); in spa_max_replication()
H A Ddmu.c2471 copies = MIN(copies, SPA_DVAS_PER_BP - 1); in dmu_write_policy()
2472 gang_copies = MIN(gang_copies, SPA_DVAS_PER_BP - 1); in dmu_write_policy()
H A Ddmu_recv.c2302 SPA_DVAS_PER_BP - 1); in flush_write_batch_impl()
2305 SPA_DVAS_PER_BP - 1); in flush_write_batch_impl()
H A Darc.c6889 MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1); in arc_write()
6891 MIN(localprop.zp_gang_copies, SPA_DVAS_PER_BP - 1); in arc_write()
H A Dzio.c3149 ASSERT3S(gbh_copies, <=, SPA_DVAS_PER_BP); in zio_write_gang_block()
H A Dspa.c278 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h329 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
332 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c2194 for (i = 0; i < SPA_DVAS_PER_BP; i++) in zio_read_gang()
2258 for (i = 0; i < SPA_DVAS_PER_BP; i++) { in zio_read()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c5638 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1); in zvol_volsize_to_reservation()
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c205 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in sublivelist_verify_blkptr()