Lines Matching refs:state
90 struct uvm_coredump_state state;
98 state.end = 0;
102 else if (!uvm_map_lookup_entry(map, state.end, &entry))
107 state.cookie = cookie;
108 if (state.end > entry->start) {
109 state.start = state.end;
111 state.start = entry->start;
113 state.realend = entry->end;
114 state.end = entry->end;
115 state.prot = entry->protection;
116 state.flags = 0;
134 KASSERT(state.start < VM_MAXUSER_ADDRESS);
135 KASSERT(state.end <= VM_MAXUSER_ADDRESS);
139 state.realend = state.start;
142 state.realend = state.start;
145 state.realend = state.start;
147 state.realend = state.start;
149 if (state.start >= (vaddr_t)vm->vm_maxsaddr)
150 state.flags |= UVM_COREDUMP_STACK;
160 for (end = state.start;
161 end < state.end; end += PAGE_SIZE) {
171 state.realend != state.end) {
172 state.end = end;
183 state.realend == state.end) {
184 state.realend = end;
192 error = (*func)(&state);