Home
last modified time | relevance | path

Searched refs:BP_GET_NDVAS (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzio.c1167 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in zfs_blkptr_verify()
1846 == BP_GET_NDVAS(bp)); in zio_write_compress()
2946 ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); in zio_write_gang_member_ready()
2947 ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); in zio_write_gang_member_ready()
2948 VERIFY3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); in zio_write_gang_member_ready()
2951 for (int d = 0; d < BP_GET_NDVAS(zio->io_bp); d++) { in zio_write_gang_member_ready()
3170 zp->zp_copies != BP_GET_NDVAS(bp_orig)) in zio_nop_write()
3191 for (int d = 0; d < BP_GET_NDVAS(bp_orig); d++) { in zio_nop_write()
3693 ASSERT0(BP_GET_NDVAS(bp)); in zio_dva_allocate()
4768 BP_GET_NDVAS(zio->io_bp)); in zio_done()
[all …]
H A Ddsl_scan.c450 sio->sio_nr_dvas = BP_GET_NDVAS(bp); in bp2sio()
3153 for (i = 0; i < BP_GET_NDVAS(bp); i++) { in scan_io_queues_update_zio_stats()
4608 switch (BP_GET_NDVAS(bp)) { in count_block()
4661 scan_io_t *sio = sio_alloc(BP_GET_NDVAS(bp)); in scan_io_queue_insert()
4696 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in dsl_scan_enqueue()
4749 for (int d = 0; d < BP_GET_NDVAS(bp); d++) { in dsl_scan_scrub_cb()
5098 srch_sio = sio_alloc(BP_GET_NDVAS(bp)); in dsl_scan_freed_dva()
5164 for (int i = 0; i < BP_GET_NDVAS(bp); i++) in dsl_scan_freed()
H A Dmetaslab.c4633 int ndvas = BP_GET_NDVAS(bp); in metaslab_group_alloc_verify()
5548 if (BP_GET_NDVAS(bp) < 1) in spa_remap_blkptr()
5861 ASSERT(BP_GET_NDVAS(bp) == 0); in metaslab_alloc()
5862 ASSERT(hintbp == NULL || ndvas <= BP_GET_NDVAS(hintbp)); in metaslab_alloc()
5888 ASSERT(BP_GET_NDVAS(bp) == ndvas); in metaslab_alloc()
5901 int ndvas = BP_GET_NDVAS(bp); in metaslab_free()
5951 int ndvas = BP_GET_NDVAS(bp); in metaslab_claim()
6046 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in metaslab_check_free()
H A Dzio_inject.c230 for (i = BP_GET_NDVAS(zio->io_bp) - 1; i >= 0; i--) { in zio_match_dva()
H A Dvdev_mirror.c299 c = BP_GET_NDVAS(zio->io_bp); in vdev_mirror_map_init()
H A Dspa_misc.c2178 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize_sync()
2191 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize()
H A Dddt.c1133 ddp = &dde->dde_phys[BP_GET_NDVAS(bp)]; in ddt_addref()
H A Dzil.c1344 int ndvas = BP_GET_NDVAS(bp); in zil_lwb_add_block()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dspa.h530 #define BP_GET_NDVAS(bp) \ macro
657 for (int d = 0; d < BP_GET_NDVAS(bp); d++) { \
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h425 #define BP_GET_NDVAS(bp) \ macro
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c2326 int ndvas = dump_opt['d'] > 5 ? BP_GET_NDVAS(bp) : 1; in snprintf_blkptr_compact()
5595 switch (BP_GET_NDVAS(bp)) { in zdb_count_block()
6003 ASSERT3U(BP_GET_NDVAS(bp), ==, 1); in increment_indirect_mapping_cb()