Home
last modified time | relevance | path

Searched refs:vim_phys (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Dvdev_indirect_mapping.c36 ASSERT(vim->vim_phys != NULL); in vdev_indirect_mapping_verify()
39 EQUIV(vim->vim_phys->vimp_num_entries > 0, in vdev_indirect_mapping_verify()
41 if (vim->vim_phys->vimp_num_entries > 0) { in vdev_indirect_mapping_verify()
43 &vim->vim_entries[vim->vim_phys->vimp_num_entries - 1]; in vdev_indirect_mapping_verify()
49 ASSERT3U(vim->vim_phys->vimp_max_offset, >=, offset + size); in vdev_indirect_mapping_verify()
52 ASSERT(vim->vim_phys->vimp_counts_object != 0); in vdev_indirect_mapping_verify()
66 return (vim->vim_phys->vimp_num_entries); in vdev_indirect_mapping_num_entries()
74 return (vim->vim_phys->vimp_max_offset); in vdev_indirect_mapping_max_offset()
90 return (vim->vim_phys->vimp_bytes_mapped); in vdev_indirect_mapping_bytes_mapped()
105 return (vim->vim_phys->vimp_num_entries * sizeof (*vim->vim_entries)); in vdev_indirect_mapping_size()
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Dvdev_indirect_mapping.h94 vdev_indirect_mapping_phys_t *vim_phys; member
/freebsd/stand/libsa/zfs/
H A Dzfsimpl.c294 vdev_indirect_mapping_phys_t *vim_phys; in vdev_indirect_mapping_open() local
315 vim->vim_phys = malloc(sizeof (*vim->vim_phys)); in vdev_indirect_mapping_open()
316 if (vim->vim_phys == NULL) { in vdev_indirect_mapping_open()
322 vim_phys = (vdev_indirect_mapping_phys_t *)DN_BONUS(vim->vim_dn); in vdev_indirect_mapping_open()
323 *vim->vim_phys = *vim_phys; in vdev_indirect_mapping_open()
393 if (vim->vim_phys->vimp_num_entries == 0) in vdev_indirect_mapping_entry()
400 size = vim->vim_phys->vimp_num_entries * in vdev_indirect_mapping_entry()
460 ASSERT(vim->vim_phys->vimp_num_entries > 0); in vdev_indirect_mapping_entry_for_offset()
464 uint64_t last = vim->vim_phys->vimp_num_entries - 1; in vdev_indirect_mapping_entry_for_offset()
/freebsd/sys/cddl/boot/zfs/
H A Dzfsimpl.h1974 vdev_indirect_mapping_phys_t *vim_phys; member
/freebsd/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c8075 vim_phys->vimp_counts_object); in mos_leak_vdev()
8178 mos_obj_refd(vim->vim_phys->vimp_counts_object); in dump_mos_leaks()