Searched refs:SPA_DVAS_PER_BP (Results 1 – 17 of 17) sorted by relevance
/freebsd/tests/sys/cddl/zfs/tests/reservation/ |
H A D | reservation.kshlib | 147 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 D | reservation.shlib | 140 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 D | ddt.h | 154 dva_t ddp_dva[SPA_DVAS_PER_BP]; 163 dva_t ddp_dva[SPA_DVAS_PER_BP];
|
H A D | spa.h | 361 #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 D | ddt.c | 650 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 D | dsl_scan.c | 368 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 D | vdev_mirror.c | 277 dva_t dva_copy[SPA_DVAS_PER_BP]; in vdev_mirror_map_init()
|
H A D | spa_misc.c | 243 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 D | dmu.c | 2471 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 D | dmu_recv.c | 2302 SPA_DVAS_PER_BP - 1); in flush_write_batch_impl() 2305 SPA_DVAS_PER_BP - 1); in flush_write_batch_impl()
|
H A D | arc.c | 6889 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 D | zio.c | 3149 ASSERT3S(gbh_copies, <=, SPA_DVAS_PER_BP); in zio_write_gang_block()
|
H A D | spa.c | 278 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 329 #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 D | zfsimpl.c | 2194 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 D | libzfs_dataset.c | 5638 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1); in zvol_volsize_to_reservation()
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 205 for (int i = 0; i < SPA_DVAS_PER_BP; i++) { in sublivelist_verify_blkptr()
|