Home | History | Annotate | Download | only in uvm

Lines Matching refs:map

59 		vm_map_unlock(ufi->map);
61 vm_map_unlock_read(ufi->map);
84 * uvmfault_lookup: lookup a virtual address in a map
88 * => we will lookup the map entry (handling submaps) as we go
90 * => if "write_lock" is true, we write_lock the map, otherwise we only
93 * required to use the same virtual addresses as the map they
95 * map and the submap is unnecessary).
107 ufi->map = ufi->orig_map;
117 * lock map
120 vm_map_lock(ufi->map);
122 vm_map_lock_read(ufi->map);
128 if (!uvm_map_lookup_entry(ufi->map, ufi->orig_rvaddr,
141 * submap? replace map with the submap and lookup again.
142 * note: VAs in submaps must match VAs in main map.
147 vm_map_unlock(ufi->map);
149 vm_map_unlock_read(ufi->map);
151 ufi->map = tmpmap;
159 ufi->mapv = ufi->map->timestamp;
168 * uvmfault_relock: attempt to relock the same version of the map
189 * relock map. fail if version mismatch (in which case nothing
193 vm_map_lock_read(ufi->map);
194 if (ufi->mapv != ufi->map->timestamp) {
195 vm_map_unlock_read(ufi->map);