Searched refs:vim_phys (Results 1 – 5 of 5) sorted by relevance
36 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 …]
94 vdev_indirect_mapping_phys_t *vim_phys; member
294 vdev_indirect_mapping_phys_t *vim_phys; in vdev_indirect_mapping_open() local315 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()
1974 vdev_indirect_mapping_phys_t *vim_phys; member
8075 vim_phys->vimp_counts_object); in mos_leak_vdev()8178 mos_obj_refd(vim->vim_phys->vimp_counts_object); in dump_mos_leaks()