Lines Matching refs:zap_old_map
1521 vm_map_t zap_old_map = VM_MAP_NULL;
1632 zap_old_map = vm_map_create(PMAP_NULL,
1756 if (overwrite && zap_old_map != VM_MAP_NULL) {
1760 * address range, saving them in our "zap_old_map".
1764 zap_old_map);
2088 if (zap_old_map != VM_MAP_NULL &&
2089 zap_old_map->hdr.nentries != 0) {
2094 * the old mappings, saved in the "zap_old_map".
2102 start = vm_map_first_entry(zap_old_map)->vme_start;
2103 end = vm_map_last_entry(zap_old_map)->vme_end;
2116 * "zap_old_map" to the original "map",
2119 for (entry2 = vm_map_first_entry(zap_old_map);
2120 entry2 != vm_map_to_entry(zap_old_map);
2121 entry2 = vm_map_first_entry(zap_old_map)) {
2126 vm_map_entry_unlink(zap_old_map,
2128 zap_old_map->size -= entry_size;
2152 if (zap_old_map != VM_MAP_NULL) {
2153 vm_map_destroy(zap_old_map, VM_MAP_REMOVE_NO_PMAP_CLEANUP);
2154 zap_old_map = VM_MAP_NULL;