/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa.h | 109 typedef struct dva { struct 110 uint64_t dva_word[2]; argument 390 #define DVA_GET_ASIZE(dva) \ argument 392 #define DVA_SET_ASIZE(dva, x) \ argument 396 #define DVA_GET_VDEV(dva) BF64_GET((dva)->dva_word[0], 32, SPA_VDEVBITS) argument 397 #define DVA_SET_VDEV(dva, x) \ argument 400 #define DVA_GET_OFFSET(dva) \ argument 402 #define DVA_SET_OFFSET(dva, x) \ argument 405 #define DVA_GET_GANG(dva) BF64_GET((dva)->dva_word[1], 63, 1) argument 406 #define DVA_SET_GANG(dva, x) BF64_SET((dva)->dva_word[1], 63, 1, x) argument [all …]
|
/freebsd/lib/libkvm/ |
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() 322 u_long dva, pa, va; in _i386_minidump_walk_pages() local
|
H A D | kvm_minidump_arm.c | 237 u_long dva, pa, pteindex, va; in _arm_minidump_walk_pages() local
|
H A D | kvm_minidump_riscv.c | 239 u_long bmindex, dva, pa, pteindex, va; in _riscv_minidump_walk_pages() local
|
H A D | kvm_minidump_aarch64.c | 270 u_long bmindex, dva, pa, pteindex, va; in _aarch64_minidump_walk_pages() local
|
H A D | kvm_minidump_amd64.c | 347 u_long bmindex, dva, pa, pdeindex, va; in _amd64_minidump_walk_pages() local
|
H A D | kvm_minidump_powerpc64_hpt.c | 607 u_long dva, pa, va; in ppc64mmu_hpt_walk_pages() local
|
/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() 4635 const dva_t *dva = bp->blk_dva; in metaslab_group_alloc_verify() local 4702 dva_t *dva, int d, boolean_t want_unique, uint64_t asize, int allocator, 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() 5107 uint64_t asize, uint64_t txg, boolean_t want_unique, dva_t *dva, int d, in metaslab_group_alloc() 5145 dva_t *dva, int d, dva_t *hintdva, uint64_t txg, int flags, in metaslab_alloc_dva() 5558 dva_t *dva = &bp->blk_dva[0]; in spa_remap_blkptr() local 5593 metaslab_unalloc_dva(spa_t *spa, const dva_t *dva, uint64_t txg) in metaslab_unalloc_dva() 5645 metaslab_free_dva(spa_t *spa, const dva_t *dva, boolean_t checkpoint) in metaslab_free_dva() 5824 metaslab_claim_dva(spa_t *spa, const dva_t *dva, uint64_t txg) in metaslab_claim_dva() [all …]
|
H A D | zio_inject.c | 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 | vdev_mirror.c | 273 dva_t *dva = zio->io_bp->blk_dva; in vdev_mirror_map_init() local 460 dva_t *dva = zio->io_bp->blk_dva; in vdev_mirror_dva_select() local
|
H A D | zio_checksum.c | 280 const dva_t *dva = BP_IDENTITY(bp); in zio_checksum_gang_verifier() local
|
H A D | dsl_scan.c | 3662 const dva_t *dva = &bp->blk_dva[0]; in dsl_scan_obsolete_block_cb() local 3731 dsl_scan_need_resilver(spa_t *spa, const dva_t *dva, size_t psize, in dsl_scan_need_resilver() 4776 dva_t dva; in dsl_scan_enqueue() local 4829 const dva_t *dva = &bp->blk_dva[d]; in dsl_scan_scrub_cb() local
|
H A D | arc.c | 771 #define BUF_HASH_INDEX(spa, dva, birth) \ argument 1009 buf_hash(uint64_t spa, const dva_t *dva, uint64_t birth) in buf_hash() 1021 #define HDR_EQUAL(spa, dva, birth, hdr) \ argument 1037 const dva_t *dva = BP_IDENTITY(bp); in buf_hash_find() local 1731 dva_t dva, uint64_t daddr, int32_t psize, uint64_t asize, uint64_t birth, in arc_buf_alloc_l2only()
|
H A D | vdev.c | 3027 vdev_default_need_resilver(vdev_t *vd, const dva_t *dva, size_t psize, in vdev_default_need_resilver() 3043 vdev_dtl_need_resilver(vdev_t *vd, const dva_t *dva, size_t psize, in vdev_dtl_need_resilver()
|
H A D | zio.c | 1191 const dva_t *dva = &bp->blk_dva[i]; in zfs_blkptr_verify() local 1238 zfs_dva_valid(spa_t *spa, const dva_t *dva, const blkptr_t *bp) in zfs_dva_valid()
|
H A D | vdev_draid.c | 1768 vdev_draid_need_resilver(vdev_t *vd, const dva_t *dva, size_t psize, in vdev_draid_need_resilver()
|
H A D | spa_misc.c | 2211 dva_get_dsize_sync(spa_t *spa, const dva_t *dva) in dva_get_dsize_sync()
|
H A D | zil.c | 188 const dva_t *dva; in zil_bp_tree_add() local
|
H A D | vdev_raidz.c | 3605 vdev_raidz_need_resilver(vdev_t *vd, const dva_t *dva, size_t psize, in vdev_raidz_need_resilver()
|
H A D | dsl_dataset.c | 230 dva_t *dva = &fakebp.blk_dva[0]; in dsl_dataset_block_remapped() local
|
/freebsd/sys/cddl/boot/zfs/ |
H A D | zfsimpl.h | 154 typedef struct dva { struct 155 uint64_t dva_word[2]; argument 344 #define DVA_GET_ASIZE(dva) \ argument 346 #define DVA_SET_ASIZE(dva, x) \ argument 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 358 #define DVA_SET_OFFSET(dva, x) \ argument [all …]
|
H A D | zfssubr.c | 218 const dva_t *dva = BP_IDENTITY(bp); in zio_checksum_gang_verifier() local
|
/freebsd/usr.sbin/makefs/zfs/ |
H A D | vdev.c | 51 dva_t *dva; in blkptr_set() local
|
/freebsd/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 2213 char dva[64]; in dump_brt() local 2519 const dva_t *dva = bp->blk_dva; in snprintf_blkptr_compact() local 4717 dva_t dva = le[j].le_dva; in dump_l2arc_log_entries() local 6355 const dva_t *dva = &bp->blk_dva[0]; in increment_indirect_mapping_cb() local 8870 dva_t *dva = bp->blk_dva; in zdb_read_block() local
|
/freebsd/stand/libsa/zfs/ |
H A D | zfsimpl.c | 2259 const dva_t *dva = &bp->blk_dva[i]; in zio_read() local
|