Searched refs:CAST_TO_VM_MAP_ENTRY (Results 1 – 4 of 4) sorted by relevance
180 if (hole_entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_delete_hole()181 if (hole_entry->vme_next == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_delete_hole()301 hole_entry = CAST_TO_VM_MAP_ENTRY(map->hole_hint); in update_holes_on_entry_deletion()310 if (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()325 hole_entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in update_holes_on_entry_deletion()328 if (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()404 if (hole_entry != CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()413 if (hole_entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in update_holes_on_entry_deletion()431 …if (map->holes_list == NULL || (hole_entry == CAST_TO_VM_MAP_ENTRY(map->holes_list) && hole_entry-… in update_holes_on_entry_deletion()434 new_hole_entry->prev = new_hole_entry->next = CAST_TO_VM_MAP_ENTRY(map->holes_list); in update_holes_on_entry_deletion()[all …]
304 entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in vm_map_store_find_space_backwards()312 if (entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_store_find_space_backwards()361 if (entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_store_find_space_backwards()419 entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in vm_map_store_find_space_forward()427 if (entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_store_find_space_forward()492 if (entry == CAST_TO_VM_MAP_ENTRY(map->holes_list)) { in vm_map_store_find_space_forward()
642 #define CAST_TO_VM_MAP_ENTRY(x) ((struct vm_map_entry *)(uintptr_t)(x)) macro643 #define vm_map_to_entry(map) CAST_TO_VM_MAP_ENTRY(&(map)->hdr.links)738 #define vm_map_copy_to_entry(copy) CAST_TO_VM_MAP_ENTRY(&(copy)->cpy_hdr.links)
1278 head_entry = hole_entry = CAST_TO_VM_MAP_ENTRY(map->holes_list); in vm_map_disable_hole_optimization()1500 hole_entry->prev = hole_entry->next = CAST_TO_VM_MAP_ENTRY(hole_entry); in vm_map_create_options()16753 map_header->links.next = CAST_TO_VM_MAP_ENTRY(&map_header->links); in vm_map_remap_extract()16754 map_header->links.prev = CAST_TO_VM_MAP_ENTRY(&map_header->links); in vm_map_remap_extract()17558 src_entry != CAST_TO_VM_MAP_ENTRY(&map_header->links); in vm_map_remap_extract()