Searched refs:SPA_DVAS_PER_BP (Results 1 – 16 of 16) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | ddt.h | 98 ? SPA_DVAS_PER_BP - 1 : SPA_DVAS_PER_BP) 101 dva_t ddp_dva[SPA_DVAS_PER_BP];
|
H A D | spa.h | 376 #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 */
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/reservation/ |
H A D | reservation.shlib | 149 typeset -i SPA_DVAS_PER_BP=3 171 ((numdb *= SPA_DVAS_PER_BP < ncopies + 1 ? SPA_DVAS_PER_BP : \
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/ |
H A D | spa.h | 163 #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 D | ddt.c | 251 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 D | dsl_scan.c | 340 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 D | vdev_mirror.c | 255 dva_t dva_copy[SPA_DVAS_PER_BP]; in vdev_mirror_map_init()
|
H A D | spa_misc.c | 239 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 D | zio.c | 2461 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()
|
H A D | dmu.c | 2369 copies = MIN(copies, SPA_DVAS_PER_BP - 1); in dmu_write_policy()
|
H A D | spa.c | 225 uint64_t zfs_max_missing_tvds_cachefile = SPA_DVAS_PER_BP - 1;
|
H A D | arc.c | 6696 MIN(localprop.zp_copies, SPA_DVAS_PER_BP - 1); in arc_write()
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 328 #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 D | fsys_zfs.c | 365 for (i = 0; i < SPA_DVAS_PER_BP; i++) { in zio_read_data()
|
/illumos-gate/usr/src/boot/libsa/zfs/ |
H A D | zfsimpl.c | 2214 for (i = 0; i < SPA_DVAS_PER_BP; i++) in zio_read_gang() 2278 for (i = 0; i < SPA_DVAS_PER_BP; i++) { in zio_read()
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_dataset.c | 5468 numdb *= MIN(SPA_DVAS_PER_BP, ncopies + 1); in zvol_volsize_to_reservation()
|