Lines Matching defs:gap_entry

134     vm_map_entry_t gap_entry);
4595 vm_map_entry_t gap_entry, new_entry, prev_entry;
4650 &gap_entry);
4652 KASSERT((gap_entry->eflags & MAP_ENTRY_GUARD) != 0,
4653 ("entry %p not gap %#x", gap_entry, gap_entry->eflags));
4654 KASSERT((gap_entry->eflags & MAP_ENTRY_STACK_GAP) != 0,
4655 ("entry %p not stack gap %#x", gap_entry,
4656 gap_entry->eflags));
4667 gap_entry->next_read = sgp;
4668 gap_entry->offset = prot | PROT_MAX(max);
4680 vm_map_growstack(vm_map_t map, vm_offset_t addr, vm_map_entry_t gap_entry)
4717 if (gap_entry == NULL && !vm_map_lookup_entry(map, addr, &gap_entry))
4719 if ((gap_entry->eflags & MAP_ENTRY_GUARD) == 0)
4721 if ((gap_entry->eflags & MAP_ENTRY_STACK_GAP) != 0) {
4722 stack_entry = vm_map_entry_succ(gap_entry);
4724 stack_entry->start != gap_entry->end)
4732 gap_entry->next_read;
4733 max_grow = gap_entry->end - gap_entry->start;
4814 gap_entry = NULL;
4820 * The gap_entry "offset" field is overloaded. See
4823 prot = PROT_EXTRACT(gap_entry->offset);
4824 max = PROT_MAX_EXTRACT(gap_entry->offset);
4825 sgp = gap_entry->next_read;
4827 grow_start = gap_entry->end - grow_amount;
4828 if (gap_entry->start + grow_amount == gap_entry->end) {
4829 gap_start = gap_entry->start;
4830 gap_end = gap_entry->end;
4831 vm_map_entry_delete(map, gap_entry);
4834 MPASS(gap_entry->start < gap_entry->end - grow_amount);
4835 vm_map_entry_resize(map, gap_entry, -grow_amount);
4845 &gap_entry);
4847 gap_entry->next_read = sgp;
4848 gap_entry->offset = prot | PROT_MAX(max);
4850 vm_map_entry_resize(map, gap_entry,