Lines Matching full:mapping

94  * The length (in bytes) of the mapping object array in memory and
109 * Compare an offset with an indirect mapping entry; there are three
112 * 1. The offset is "less than" the mapping entry; meaning the
113 * offset is less than the source offset of the mapping entry. In
115 * mapping entry and -1 will be returned.
117 * 2. The offset is "greater than" the mapping entry; meaning the
118 * offset is greater than the mapping entry's source offset plus
120 * the offset and the mapping entry and 1 will be returned.
129 * within the mapping entry's range. If this is the case, the
130 * offset is considered to be "equal to" the mapping entry and
157 * Returns the mapping entry for the given offset.
159 * It's possible that the given offset will not be in the mapping table
160 * (i.e. no mapping entries contain this offset), in which case, the
171 * passed in (i.e. the "next" mapping entry in the table is returned, if
189 * their value in the case that offset isn't in the mapping. in vdev_indirect_mapping_entry_for_offset_impl()
217 * in the mapping table, thus we need to return the in vdev_indirect_mapping_entry_for_offset_impl()
218 * closest mapping entry that is greater than the in vdev_indirect_mapping_entry_for_offset_impl()
220 * comparing the mapping entry at index "mid" and the in vdev_indirect_mapping_entry_for_offset_impl()
224 * than, or less than the mapping entry contained at in vdev_indirect_mapping_entry_for_offset_impl()
240 * mapping table, but it's actually greater than in vdev_indirect_mapping_entry_for_offset_impl()
242 * can't return a mapping entry greater than the in vdev_indirect_mapping_entry_for_offset_impl()
253 * in between the mapping entries at index and in vdev_indirect_mapping_entry_for_offset_impl()
388 * mapping object. Also remove the entries from the list and free them.
389 * This also implicitly extends the max_offset of the mapping (to the end
493 "indirect mapping obj %llu; max offset=0x%llx", in vdev_indirect_mapping_add_entries()
509 vdev_indirect_mapping_entry_phys_t *mapping; in vdev_indirect_mapping_increment_obsolete_count() local
512 mapping = vdev_indirect_mapping_entry_for_offset(vim, offset); in vdev_indirect_mapping_increment_obsolete_count()
515 ASSERT3P(mapping, !=, NULL); in vdev_indirect_mapping_increment_obsolete_count()
517 index = mapping - vim->vim_entries; in vdev_indirect_mapping_increment_obsolete_count()
522 uint64_t size = DVA_GET_ASIZE(&mapping->vimep_dst); in vdev_indirect_mapping_increment_obsolete_count()
524 DVA_MAPPING_GET_SRC_OFFSET(mapping); in vdev_indirect_mapping_increment_obsolete_count()
533 mapping++; in vdev_indirect_mapping_increment_obsolete_count()