Searched refs:BP_GET_NDVAS (Results 1 – 11 of 11) sorted by relevance
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio.c | 858 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in zfs_blkptr_verify() 1521 spa_max_replication(spa)) == BP_GET_NDVAS(bp)); in zio_write_compress() 2411 ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(zio->io_bp)); in zio_write_gang_member_ready() 2412 ASSERT3U(pio->io_prop.zp_copies, <=, BP_GET_NDVAS(pio->io_bp)); in zio_write_gang_member_ready() 2413 ASSERT3U(BP_GET_NDVAS(zio->io_bp), <=, BP_GET_NDVAS(pio->io_bp)); in zio_write_gang_member_ready() 2416 for (int d = 0; d < BP_GET_NDVAS(zio->io_bp); d++) { in zio_write_gang_member_ready() 2625 zp->zp_copies != BP_GET_NDVAS(bp_orig)) in zio_nop_write() 2943 ASSERT(zp->zp_copies == BP_GET_NDVAS(bp) - BP_IS_GANG(bp)); in zio_ddt_ditto_write_done() 3214 ASSERT0(BP_GET_NDVAS(bp)); in zio_dva_allocate() 4227 ASSERT3U(zio->io_prop.zp_copies, <=, BP_GET_NDVAS(bp)); in zio_done() [all …]
|
H A D | dsl_scan.c | 429 sio->sio_nr_dvas = BP_GET_NDVAS(bp); in bp2sio() 2683 for (i = 0; i < BP_GET_NDVAS(bp); i++) { in scan_io_queues_update_zio_stats() 3686 for (i = 0; i < BP_GET_NDVAS(bp); i++) { in count_block() 3715 switch (BP_GET_NDVAS(bp)) { in count_block() 3770 scan_io_t *sio = sio_alloc(BP_GET_NDVAS(bp)); in scan_io_queue_insert() 3810 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in dsl_scan_enqueue() 3863 for (d = 0; d < BP_GET_NDVAS(bp); d++) { in dsl_scan_scrub_cb() 4138 srch_sio = sio_alloc(BP_GET_NDVAS(bp)); in dsl_scan_freed_dva() 4210 for (int i = 0; i < BP_GET_NDVAS(bp); i++) in dsl_scan_freed()
|
H A D | metaslab.c | 4503 int ndvas = BP_GET_NDVAS(bp); in metaslab_group_alloc_verify() 5388 if (BP_GET_NDVAS(bp) < 1) in spa_remap_blkptr() 5704 ASSERT(BP_GET_NDVAS(bp) == 0); in metaslab_alloc() 5705 ASSERT(hintbp == NULL || ndvas <= BP_GET_NDVAS(hintbp)); in metaslab_alloc() 5732 ASSERT(BP_GET_NDVAS(bp) == ndvas); in metaslab_alloc() 5745 int ndvas = BP_GET_NDVAS(bp); in metaslab_free() 5795 int ndvas = BP_GET_NDVAS(bp); in metaslab_claim() 5889 for (int i = 0; i < BP_GET_NDVAS(bp); i++) { in metaslab_check_free()
|
H A D | zio_inject.c | 197 for (i = BP_GET_NDVAS(zio->io_bp) - 1; i >= 0; i--) { in zio_match_dva()
|
H A D | vdev_mirror.c | 282 c = BP_GET_NDVAS(zio->io_bp); in vdev_mirror_map_init()
|
H A D | spa_misc.c | 2036 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize_sync() 2049 for (int d = 0; d < BP_GET_NDVAS(bp); d++) in bp_get_dsize()
|
H A D | zil.c | 1006 int ndvas = BP_GET_NDVAS(bp); in zil_lwb_add_block()
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/zfs-include/ |
H A D | spa.h | 247 #define BP_GET_NDVAS(bp) \ macro
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | spa.h | 533 #define BP_GET_NDVAS(bp) \ macro 642 for (int d = 0; d < BP_GET_NDVAS(bp); d++) { \
|
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 409 #define BP_GET_NDVAS(bp) \ macro
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 1493 unsigned int ndvas = dump_opt['d'] > 5 ? BP_GET_NDVAS(bp) : 1; in snprintf_blkptr_compact() 3506 switch (BP_GET_NDVAS(bp)) { in zdb_count_block() 3944 ASSERT3U(BP_GET_NDVAS(bp), ==, 1); in increment_indirect_mapping_cb()
|