Lines Matching defs:current
335 * stack or data area and the current architecture.
474 /* map this memory object in place of the current one */
2553 * allocations of >4GB, but not with the current
3137 * otherwise, only the current protection is affected.
3147 register vm_map_entry_t current;
3186 current = entry;
3187 prev = current->vme_start;
3188 while ((current != vm_map_to_entry(map)) &&
3189 (current->vme_start < end)) {
3194 if (current->vme_start != prev) {
3199 new_max = current->max_protection;
3222 prev = current->vme_end;
3223 current = current->vme_next;
3236 current = entry;
3237 if (current != vm_map_to_entry(map)) {
3239 vm_map_clip_start(map, current, start);
3242 while ((current != vm_map_to_entry(map)) &&
3243 (current->vme_start < end)) {
3247 vm_map_clip_end(map, current, end);
3249 assert(!current->use_pmap); /* clipping did unnest if needed */
3251 old_prot = current->protection;
3259 current->needs_copy = TRUE;
3260 current->max_protection |= VM_PROT_WRITE;
3264 current->protection =
3265 (current->max_protection =
3269 current->protection = new_prot & ~VM_PROT_COPY;
3280 if (current->protection != old_prot) {
3287 prot = current->protection & ~VM_PROT_WRITE;
3289 if (override_nx(map, current->alias) && prot)
3292 if (current->is_sub_map && current->use_pmap) {
3293 pmap_protect(current->object.sub_map->pmap,
3294 current->vme_start,
3295 current->vme_end,
3299 current->vme_start,
3300 current->vme_end,
3304 current = current->vme_next;
3307 current = entry;
3308 while ((current != vm_map_to_entry(map)) &&
3309 (current->vme_start <= end)) {
3310 vm_map_simplify_entry(map, current);
3311 current = current->vme_next;
3582 * "s" is the current starting point: we've already
3883 * In vm_fault_wire(), we need the current range as
4717 * copy current entry. see comment in vm_map_wire()
5489 /* if the current entry is found to be in transition */
5908 /* "start" must be within the current map entry */
6447 * If the target map is the current map, just do
6871 vm_map_offset_t src_start; /* Start of current entry --
8473 * account in the current map. It may be smaller than the current
8608 * we could, so stop looking. Keep the current map
8619 * Lock the next level and unlock the current level,
10587 * Set the address map for the current thread to the specified map
10602 * Deactivate the current map and activate the requested map
10770 * Vet all the input parameters and current type and state of the