/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/ |
H A D | zdb_display_block.ksh | 73 dva=$(sed -Ene 's/^.+DVA\[0\]=<([^>]+)>.*/\1/p' <<< "$output") 74 log_note "first L1 block $init_data has a DVA of $dva" 85 output=$(export ZDB_NO_ZLE=\"true\"; zdb -R $TESTPOOL $dva:bd\ 93 output=$(export ZDB_NO_ZLE=\"true\"; zdb -R $TESTPOOL $dva:db80\ 101 output=$(export ZDB_NO_ZLE=\"true\"; zdb -R $TESTPOOL $dva:b80d\ 109 vdev=$(echo "$dva" | cut -d: -f1) 110 offset=$(echo "$dva" | cut -d: -f2)
|
H A D | zdb_checksum.ksh | 57 dva=$(sed -Ene 's/^.+DVA\[0\]=<([^>]+)>.*$/\1/p' <<< "$output") 58 log_note "block 0 of $init_data has a DVA of $dva" 61 output=$(zdb -R $TESTPOOL $dva:c 2> /dev/null)
|
H A D | zdb_decompress_zstd.ksh | 71 dva=$(sed -Ene 's/^.+DVA\[0\]=<([^>]+)>.*$/\1/p' <<< "$output") 72 log_note "block 0 of $init_data has a DVA of $dva" 98 IFS=':' read -r vdev offset _ <<<"$dva"
|
H A D | zdb_decompress.ksh | 77 dva=$(sed -Ene 's/^.+DVA\[0\]=<([^>]+)>.*$/\1/p' <<< "$output") 78 log_note "block 0 of $init_data has a DVA of $dva" 84 IFS=: read -r vdev offset _ <<< "$dva"
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 109 typedef struct dva { struct 390 #define DVA_GET_ASIZE(dva) \ argument 391 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0) 392 #define DVA_SET_ASIZE(dva, x) \ argument 393 BF64_SET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, \ 396 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, SPA_VDEVBITS) argument 397 #define DVA_SET_VDEV(dva, x) \ argument 398 BF64_SET((dva)->dva_word[0], 32, SPA_VDEVBITS, x) 400 #define DVA_GET_OFFSET(dva) \ argument 401 BF64_GET_SB((dva)->dva_word[1], 0, 63, SPA_MINBLOCKSHIFT, 0) [all …]
|
H A D | vdev.h | 79 extern boolean_t vdev_default_need_resilver(vdev_t *vd, const dva_t *dva, 81 extern boolean_t vdev_dtl_need_resilver(vdev_t *vd, const dva_t *dva,
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 154 typedef struct dva { struct 344 #define DVA_GET_ASIZE(dva) \ argument 345 BF64_GET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, SPA_MINBLOCKSHIFT, 0) 346 #define DVA_SET_ASIZE(dva, x) \ argument 347 BF64_SET_SB((dva)->dva_word[0], 0, SPA_ASIZEBITS, \ 350 #define DVA_GET_GRID(dva) BF64_GET((dva)->dva_word[0], 24, 8) argument 351 #define DVA_SET_GRID(dva, x) BF64_SET((dva)->dva_word[0], 24, 8, x) argument 353 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, 32) argument 354 #define DVA_SET_VDEV(dva, x) BF64_SET((dva)->dva_word[0], 32, 32, x) argument 356 #define DVA_GET_OFFSET(dva) \ argument [all …]
|
H A D | zfssubr.c | 218 const dva_t *dva = BP_IDENTITY(bp); in zio_checksum_gang_verifier() local 223 ZIO_SET_CHECKSUM(zcp, DVA_GET_VDEV(dva), DVA_GET_OFFSET(dva), txg, 0); in zio_checksum_gang_verifier()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_receive/ |
H A D | zfs_receive_from_zstd.ksh | 73 dva=$(sed -Ene 's/^.+DVA\[0\]=<([^>]+)>.*$/\1/p' <<< "$output") 74 log_note "block 0 of /$TESTPOOL/$TESTFS1/$TESTFILE0 has a DVA of $dva" 92 dva=$(sed -Ene 's/^.+DVA\[0\]=<([^>]+)>.*$/\1/p' <<< "$output") 93 log_note "block 0 of /$TESTPOOL/$TESTFS2/$TESTFILE0 has a DVA of $dva"
|
/freebsd/lib/libkvm/ |
H A D | kvm_minidump_amd64.c | 347 u_long bmindex, dva, pa, pdeindex, va; in _amd64_minidump_walk_pages() local 377 dva = vm->hdr.dmapbase + pa; in _amd64_minidump_walk_pages() 379 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _amd64_minidump_walk_pages() 396 dva = vm->hdr.dmapbase + pa; in _amd64_minidump_walk_pages() 400 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _amd64_minidump_walk_pages() 413 dva = vm->hdr.dmapbase + pa; in _amd64_minidump_walk_pages() 414 if (vm->hdr.dmapend < (dva + pgsz)) in _amd64_minidump_walk_pages() 419 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, prot, pgsz, 0)) { in _amd64_minidump_walk_pages()
|
H A D | kvm_minidump_riscv.c | 239 u_long bmindex, dva, pa, pteindex, va; in _riscv_minidump_walk_pages() local 256 dva = vm->hdr.dmapbase + pa; in _riscv_minidump_walk_pages() 257 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _riscv_minidump_walk_pages() 267 dva = vm->hdr.dmapbase + pa; in _riscv_minidump_walk_pages() 268 if (vm->hdr.dmapend < (dva + RISCV_PAGE_SIZE)) in _riscv_minidump_walk_pages() 272 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _riscv_minidump_walk_pages()
|
H A D | kvm_minidump_aarch64.c | 270 u_long bmindex, dva, pa, pteindex, va; in _aarch64_minidump_walk_pages() local 286 dva = vm->hdr.dmapbase + pa; in _aarch64_minidump_walk_pages() 287 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _aarch64_minidump_walk_pages() 297 dva = vm->hdr.dmapbase + pa; in _aarch64_minidump_walk_pages() 298 if (vm->hdr.dmapend < (dva + kd->vmst->page_size)) in _aarch64_minidump_walk_pages() 302 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _aarch64_minidump_walk_pages()
|
H A D | kvm_minidump_i386.c | 285 _i386_iterator_next(struct i386_iter *it, u_long *pa, u_long *va, u_long *dva, in _i386_iterator_next() argument 293 *dva = 0; in _i386_iterator_next() 296 *dva = 0; in _i386_iterator_next() 322 u_long dva, pa, va; in _i386_minidump_walk_pages() local 326 while (_i386_iterator_next(&it, &pa, &va, &dva, &prot)) { in _i386_minidump_walk_pages() 327 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _i386_minidump_walk_pages()
|
H A D | kvm_minidump_arm.c | 237 u_long dva, pa, pteindex, va; in _arm_minidump_walk_pages() local 259 dva = 0; /* no direct map on this platform */ in _arm_minidump_walk_pages() 260 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in _arm_minidump_walk_pages()
|
H A D | kvm_minidump_powerpc64_hpt.c | 607 u_long dva, pa, va; in ppc64mmu_hpt_walk_pages() local 641 dva = vm->hdr.dmapbase + pa; in ppc64mmu_hpt_walk_pages() 643 if (!_kvm_visit_cb(kd, cb, arg, pa, va, dva, in ppc64mmu_hpt_walk_pages()
|
/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | metaslab.c | 4477 metaslab_is_unique(metaslab_t *msp, dva_t *dva) in metaslab_is_unique() argument 4481 if (DVA_GET_ASIZE(dva) == 0) in metaslab_is_unique() 4484 if (msp->ms_group->mg_vd->vdev_id != DVA_GET_VDEV(dva)) in metaslab_is_unique() 4487 dva_ms_id = DVA_GET_OFFSET(dva) >> msp->ms_group->mg_vd->vdev_ms_shift; in metaslab_is_unique() 4635 const dva_t *dva = bp->blk_dva; in metaslab_group_alloc_verify() local 4639 uint64_t vdev = DVA_GET_VDEV(&dva[d]); in metaslab_group_alloc_verify() 4702 dva_t *dva, int d, boolean_t want_unique, uint64_t asize, int allocator, in find_valid_metaslab() argument 4748 !metaslab_is_unique(msp, &dva[i])) in find_valid_metaslab() 4801 uint64_t asize, uint64_t txg, boolean_t want_unique, dva_t *dva, int d, in metaslab_group_alloc_normal() argument 4810 DVA_GET_VDEV(&dva[i]) == mg->mg_vd->vdev_id) { in metaslab_group_alloc_normal() [all …]
|
H A D | vdev_mirror.c | 273 dva_t *dva = zio->io_bp->blk_dva; in vdev_mirror_map_init() local 311 if (zfs_dva_valid(spa, &dva[i], zio->io_bp)) in vdev_mirror_map_init() 312 dva_copy[j++] = dva[i]; in vdev_mirror_map_init() 320 dva = dva_copy; in vdev_mirror_map_init() 329 mc->mc_vd = vdev_lookup_top(spa, DVA_GET_VDEV(&dva[c])); in vdev_mirror_map_init() 330 mc->mc_offset = DVA_GET_OFFSET(&dva[c]); in vdev_mirror_map_init() 460 dva_t *dva = zio->io_bp->blk_dva; in vdev_mirror_dva_select() local 468 if (DVA_GET_VDEV(&dva[c]) == DVA_GET_VDEV(&dva[preferred])) in vdev_mirror_dva_select()
|
H A D | zio_inject.c | 129 zio_match_handler(const zbookmark_phys_t *zb, uint64_t type, int dva, in zio_match_handler() 154 (dva != ZI_NO_DVA && (record->zi_dvas & (1ULL << dva)))) && in zio_match_handler() 231 dva_t *dva = &zio->io_bp->blk_dva[i]; in zio_match_dva() 232 uint64_t off = DVA_GET_OFFSET(dva); in zio_match_dva() 234 DVA_GET_VDEV(dva)); in zio_match_dva() 127 zio_match_handler(const zbookmark_phys_t * zb,uint64_t type,int dva,zinject_record_t * record,int error) zio_match_handler() argument 229 dva_t *dva = &zio->io_bp->blk_dva[i]; zio_match_dva() local
|
H A D | zio_checksum.c | 280 const dva_t *dva = BP_IDENTITY(bp); in zio_checksum_gang_verifier() local 285 ZIO_SET_CHECKSUM(zcp, DVA_GET_VDEV(dva), DVA_GET_OFFSET(dva), txg, 0); in zio_checksum_gang_verifier()
|
H A D | dsl_scan.c | 3635 const dva_t *dva = &bp->blk_dva[0]; in dsl_scan_obsolete_block_cb() local 3641 DVA_GET_VDEV(dva), DVA_GET_OFFSET(dva), in dsl_scan_obsolete_block_cb() 3642 DVA_GET_ASIZE(dva), tx); in dsl_scan_obsolete_block_cb() 3704 dsl_scan_need_resilver(spa_t *spa, const dva_t *dva, size_t psize, in dsl_scan_need_resilver() argument 3709 vd = vdev_lookup_top(spa, DVA_GET_VDEV(dva)); in dsl_scan_need_resilver() 3722 if (DVA_GET_GANG(dva)) { in dsl_scan_need_resilver() 3740 if (!vdev_dtl_need_resilver(vd, dva, psize, phys_birth)) in dsl_scan_need_resilver() 4745 dva_t dva; in dsl_scan_enqueue() local 4748 dva = bp->blk_dva[i]; in dsl_scan_enqueue() 4749 vdev = vdev_lookup_top(spa, DVA_GET_VDEV(&dva)); in dsl_scan_enqueue() [all …]
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | vdev.c | 51 dva_t *dva; in blkptr_set() local 66 dva = BP_IDENTITY(bp); in blkptr_set() 67 DVA_SET_VDEV(dva, 0); in blkptr_set() 68 DVA_SET_OFFSET(dva, off); in blkptr_set() 69 DVA_SET_ASIZE(dva, size); in blkptr_set()
|
/freebsd/tests/sys/cddl/zfs/include/ |
H A D | libtest.kshlib | 3154 typeset dva=$1 3156 typeset offcol=$(echo $dva | cut -f2 -d:) 3176 typeset dva=$1 3180 typeset -i offset=0x$(echo $dva | cut -f2 -d:) 3268 typeset dva=$2 3276 tvd=$(echo $dva | cut -d: -f1) 3284 log_debug "type='$tvd_type' children='$nchildren' lvd='$lvd' dva='$dva'" 3289 off=$(raidz_dva_to_block_addr $dva $nchildren $ashift) 3293 off=$(dva_to_block_addr $dva) 3372 typeset dva="$(echo $line | cut -d " " -f2)" [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/ |
H A D | blkdev.shlib | 571 while (split($field, dva, ":") == 3) { 573 vdev = int(dva[1]) 575 offset = (int("0x"dva[2]) + pad) / bs 577 len = int("0x"dva[3]) / bs
|
/freebsd/lib/libc/nls/ |
H A D | hu_HU.ISO8859-2.msg | 118 56 A socket m�r kapcsol�dva van 120 57 A socket nincs kapcsol�dva
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 2152 char dva[64]; in dump_brt() local 2183 snprintf(dva, sizeof (dva), "%" PRIu64 ":%llx", in dump_brt() 2185 printf("%-16s %-10llu\n", dva, in dump_brt() 2458 const dva_t *dva = bp->blk_dva; in snprintf_blkptr_compact() local 2486 (u_longlong_t)DVA_GET_VDEV(&dva[i]), in snprintf_blkptr_compact() 2487 (u_longlong_t)DVA_GET_OFFSET(&dva[i]), in snprintf_blkptr_compact() 2488 (u_longlong_t)DVA_GET_ASIZE(&dva[i])); in snprintf_blkptr_compact() 4656 dva_t dva = le[j].le_dva; in dump_l2arc_log_entries() local 4660 (u_longlong_t)DVA_GET_ASIZE(&dva), in dump_l2arc_log_entries() 4661 (u_longlong_t)DVA_GET_VDEV(&dva), in dump_l2arc_log_entries() [all …]
|