Lines Matching defs:map_entry
1830 vm_map_entry_t map_entry;
2085 local_offset, &map_entry)) {
2094 if(!(map_entry->is_sub_map)) {
2095 if(map_entry->object.vm_object != object) {
2108 local_map = map_entry->object.sub_map;
2114 local_offset = local_offset - map_entry->vme_start;
2115 local_offset += map_entry->offset;
2123 if(map_entry->wired_count) {
2133 protections &= map_entry->max_protection;
2135 if(((map_entry->max_protection) & protections) != protections) {
2147 total_size = map_entry->vme_end - map_entry->vme_start;
2152 next_entry = map_entry->vme_next;
2174 (map_entry->wired_count == 0)) {
2182 map_entry->needs_copy)
2197 if (vm_map_entry_should_cow_for_true_share(map_entry) &&
2213 vm_map_clip_start(target_map, map_entry, vm_map_trunc_page(offset));
2214 vm_map_clip_end(target_map, map_entry, vm_map_round_page(offset) + map_size);
2217 map_size = map_entry->vme_end - map_entry->vme_start;
2233 ((map_entry->needs_copy ||
2271 vm_object_shadow(&map_entry->object.vm_object,
2272 &map_entry->offset, total_size);
2273 shadow_object = map_entry->object.vm_object;
2276 prot = map_entry->protection & ~VM_PROT_WRITE;
2278 if (override_nx(target_map, map_entry->alias) && prot)
2282 object, map_entry->offset,
2284 ((map_entry->is_shared
2288 map_entry->vme_start,
2290 total_size -= (map_entry->vme_end
2291 - map_entry->vme_start);
2292 next_entry = map_entry->vme_next;
2293 map_entry->needs_copy = FALSE;
2298 (map_entry->wired_count));
2328 obj_off = (local_offset - map_entry->vme_start)
2329 + map_entry->offset;