Lines Matching defs:cur
1153 register vm_map_entry_t cur;
1160 cur = map->hint;
1162 if (cur == vm_map_to_entry(map))
1163 cur = cur->vme_next;
1165 if (address >= cur->vme_start) {
1178 if ((cur != last) && (cur->vme_end > address)) {
1179 *entry = cur;
1187 last = cur->vme_next;
1188 cur = vm_map_first_entry(map);
1195 while (cur != last) {
1196 if (cur->vme_end > address) {
1197 if (address >= cur->vme_start) {
1203 *entry = cur;
1204 SAVE_HINT_MAP_READ(map, cur);
1210 cur = cur->vme_next;
1212 *entry = cur->vme_prev;
2997 vm_map_entry_t cur;
3010 if (!vm_map_lookup_entry(map, start, &cur))
3018 *entry = cur;
3019 if (end <= cur->vme_end)
3026 prev = cur->vme_end;
3027 cur = cur->vme_next;
3028 while ((cur != vm_map_to_entry(map)) && (prev == cur->vme_start)) {
3029 if (end <= cur->vme_end)
3031 prev = cur->vme_end;
3032 cur = cur->vme_next;
9138 register vm_map_entry_t cur;
9148 for (cur = vm_map_first_entry(map); cur != last; cur = cur->vme_next)
9149 my_refs += vm_map_region_count_obj_refs(cur, obj);