Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Ddsl_scan.c415 sio->sio_nr_dvas = BP_GET_NDVAS(bp); in bp2sio()
2783 for (i = 0; i < BP_GET_NDVAS(bp); i++) { in scan_io_queues_update_zio_stats()
3799 for (i = 0; i < BP_GET_NDVAS(bp); i++) { in count_block()
3829 switch (BP_GET_NDVAS(bp)) { in count_block()
3884 scan_io_t *sio = sio_alloc(BP_GET_NDVAS(bp)); in scan_io_queue_insert()
3925 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in dsl_scan_enqueue()
3978 for (int d = 0; d < BP_GET_NDVAS(bp); d++) { in dsl_scan_scrub_cb()
4255 srch_sio = sio_alloc(BP_GET_NDVAS(bp)); in dsl_scan_freed_dva()
4327 for (int i = 0; i < BP_GET_NDVAS(bp); i++) in dsl_scan_freed()
H A Dzio.c1028 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in zfs_blkptr_verify()
1707 spa_max_replication(spa)) == BP_GET_NDVAS(bp)); in zio_write_compress()
2757 ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); in zio_write_gang_member_ready()
2758 ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); in zio_write_gang_member_ready()
2759 ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); in zio_write_gang_member_ready()
2762 for (int d = 0; d < BP_GET_NDVAS(zio->io_bp); d++) { in zio_write_gang_member_ready()
2979 zp->zp_copies != BP_GET_NDVAS(bp_orig)) in zio_nop_write()
3480 ASSERT0(BP_GET_NDVAS(bp)); in zio_dva_allocate()
4520 BP_GET_NDVAS(zio->io_bp)); in zio_done()
4523 BP_GET_NDVAS(zio->io_bp))); in zio_done()
H A Dmetaslab.c4551 int ndvas = BP_GET_NDVAS(bp); in metaslab_group_alloc_verify()
5482 if (BP_GET_NDVAS(bp) < 1) in spa_remap_blkptr()
5802 ASSERT(BP_GET_NDVAS(bp) == 0); in metaslab_alloc()
5803 ASSERT(hintbp == NULL || ndvas <= BP_GET_NDVAS(hintbp)); in metaslab_alloc()
5829 ASSERT(BP_GET_NDVAS(bp) == ndvas); in metaslab_alloc()
5842 int ndvas = BP_GET_NDVAS(bp); in metaslab_free()
5892 int ndvas = BP_GET_NDVAS(bp); in metaslab_claim()
5925 int ndvas = BP_GET_NDVAS(bp); in metaslab_fastwrite_mark()
5949 int ndvas = BP_GET_NDVAS(bp); in metaslab_fastwrite_unmark()
6035 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in metaslab_check_free()
H A Dzio_inject.c227 for (i = BP_GET_NDVAS(zio->io_bp) - 1; i >= 0; i--) { in zio_match_dva()
H A Dvdev_mirror.c298 c = BP_GET_NDVAS(zio->io_bp); in vdev_mirror_map_init()
H A Dspa_misc.c2081 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize_sync()
2094 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize()
H A Dzil.c1047 int ndvas = BP_GET_NDVAS(bp); in zil_lwb_add_block()
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dspa.h543 #define BP_GET_NDVAS(bp) \ macro
670 for (int d = 0; d < BP_GET_NDVAS(bp); d++) { \
/f-stack/freebsd/contrib/openzfs/cmd/zdb/
H A Dzdb.c2225 int ndvas = dump_opt['d'] > 5 ? BP_GET_NDVAS(bp) : 1; in snprintf_blkptr_compact()
5093 switch (BP_GET_NDVAS(bp)) { in zdb_count_block()
5461 ASSERT3U(BP_GET_NDVAS(bp), ==, 1); in increment_indirect_mapping_cb()