Searched refs:CAST_TO_VM_MAP_ENTRY (Results 1 – 3 of 3) sorted by relevance
186 if (hole_entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_delete_hole()187 if (hole_entry->vme_next == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_delete_hole()307 hole_entry = CAST_TO_VM_MAP_ENTRY(map->hole_hint); in update_holes_on_entry_deletion()316 if (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()331 hole_entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in update_holes_on_entry_deletion()334 if (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()410 if (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()419 if (hole_entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()437 …if (map->holes_list == NULL || (hole_entry == CAST_TO_VM_MAP_ENTRY(map->holes_list) && hole_entry-… in update_holes_on_entry_deletion()440 new_hole_entry->prev = new_hole_entry->next = CAST_TO_VM_MAP_ENTRY(map->holes_list); in update_holes_on_entry_deletion()[all …]
544 #define CAST_TO_VM_MAP_ENTRY(x) ((struct vm_map_entry *)(uintptr_t)(x)) macro545 #define vm_map_to_entry(map) CAST_TO_VM_MAP_ENTRY(&(map)->hdr.links)630 #define vm_map_copy_to_entry(copy) CAST_TO_VM_MAP_ENTRY(&(copy)->cpy_hdr.links)
1258 head_entry = hole_entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in vm_map_disable_hole_optimization()1389 hole_entry->prev = hole_entry->next = CAST_TO_VM_MAP_ENTRY(hole_entry); in vm_map_create_options()1782 hole_entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in vm_map_find_space()1867 if (entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_find_space()2502 hole_entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in vm_map_enter()2525 } while (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)); in vm_map_enter()2655 if (entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_enter()11060 hole_entry = CAST_TO_VM_MAP_ENTRY(dst_map->holes_list); in vm_map_copyout_internal()11125 if (last == CAST_TO_VM_MAP_ENTRY(dst_map->holes_list)) { in vm_map_copyout_internal()16479 map_header->links.next = CAST_TO_VM_MAP_ENTRY(&map_header->links); in vm_map_remap_extract()[all …]