Lines Matching defs:mapping

1760 					       const struct data_location *mapping,
1763 if (!vdo_is_valid_location(mapping) ||
1764 vdo_is_state_compressed(mapping->state) ||
1765 (vdo_is_mapped_location(mapping) && (mapping->pbn == VDO_ZERO_BLOCK)))
1772 return !vdo_is_physical_data_block(vdo->depot, mapping->pbn);
1784 struct data_location mapping =
1787 if (is_invalid_tree_entry(vdo_from_data_vio(data_vio), &mapping, lock->height)) {
1790 (unsigned long long) mapping.pbn, mapping.state,
1797 if (!vdo_is_mapped_location(&mapping)) {
1804 lock->tree_slots[lock->height - 1].block_map_slot.pbn = mapping.pbn;
2224 struct data_location mapping;
2264 mapping = vdo_unpack_block_map_entry(&page->entries[tree_slot.block_map_slot.slot]);
2265 if (is_invalid_tree_entry(vdo_from_data_vio(data_vio), &mapping, lock->height)) {
2268 (unsigned long long) mapping.pbn, mapping.state,
2275 if (!vdo_is_mapped_location(&mapping)) {
2281 lock->tree_slots[lock->height - 1].block_map_slot.pbn = mapping.pbn;
2299 struct data_location mapping;
2313 mapping = vdo_unpack_block_map_entry(&page->entries[slot]);
2314 if (!vdo_is_valid_location(&mapping) || vdo_is_state_compressed(mapping.state))
2316 return mapping.pbn;
3078 /* Fetch the mapping page for a block map update, and call the provided handler when fetched. */
3148 * A read VIO has no option but to report the bad mapping--reading zeros would be hiding
3155 * A write VIO only reads this mapping to decref the old block. Treat this as an unmapped
3202 /* Encode the new mapping. */
3263 /* Read a stored block mapping into a data_vio. */
3279 /* Update a stored block mapping to reflect a data_vio's new mapping. */