Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/include/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.h383 #define SPA_DVAS_PER_BP 3 /* Number of DVAs in a bp */ macro
396 dva_t blk_dva[SPA_DVAS_PER_BP]; /* Data Virtual Addresses */
/f-stack/freebsd/contrib/openzfs/tests/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 : \
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dddt.c266 for (int d = 0; d < SPA_DVAS_PER_BP; d++) in ddt_bp_fill()
317 for (int d = 0; d < SPA_DVAS_PER_BP; d++) in ddt_phys_fill()
H A Ddsl_scan.c326 static kmem_cache_t *sio_cache[SPA_DVAS_PER_BP];
333 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio_free()
343 ASSERT3U(nr_dvas, <=, SPA_DVAS_PER_BP); in sio_alloc()
361 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in scan_init()
374 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in scan_fini()
403 ASSERT3U(sio->sio_nr_dvas, <=, SPA_DVAS_PER_BP); in sio2bp()
H A Dvdev_mirror.c275 dva_t dva_copy[SPA_DVAS_PER_BP]; in vdev_mirror_map_init()
H A Dspa_misc.c238 int spa_max_replication_override = SPA_DVAS_PER_BP;
1986 return (MIN(SPA_DVAS_PER_BP, spa_max_replication_override)); in spa_max_replication()
H A Ddmu.c2041 copies = MIN(copies, SPA_DVAS_PER_BP - 1); in dmu_write_policy()
H A Dzio.c2808 if (gio->io_prop.zp_encrypt && gbh_copies >= SPA_DVAS_PER_BP) in zio_write_gang_block()
2809 gbh_copies = SPA_DVAS_PER_BP - 1; in zio_write_gang_block()
H A Ddmu_recv.c1955 SPA_DVAS_PER_BP - 1); in flush_write_batch_impl()
H A Darc.c7089 MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1); in arc_write()
H A Dspa.c224 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
/f-stack/freebsd/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c5524 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1); in zvol_volsize_to_reservation()
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c251 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in sublivelist_verify_blkptr()