Lines Matching refs:sections
136 MemoryRegionSection *sections; member
326 MemoryRegionSection *sections = d->map.sections; in phys_page_find() local
332 return §ions[PHYS_SECTION_UNASSIGNED]; in phys_page_find()
338 if (section_covers_addr(§ions[lp.ptr], addr)) { in phys_page_find()
339 return §ions[lp.ptr]; in phys_page_find()
341 return §ions[PHYS_SECTION_UNASSIGNED]; in phys_page_find()
353 if (!section || section == &d->map.sections[PHYS_SECTION_UNASSIGNED] || in address_space_lookup_region()
360 section = &d->map.sections[subpage->sub_section[SUBPAGE_IDX(addr)]]; in address_space_lookup_region()
748 return &d->map.sections[PHYS_SECTION_UNASSIGNED]; in address_space_translate_for_iotlb()
761 ret = d->map.sections + section_index; in iotlb_to_section()
773 return section - d->map.sections; in memory_region_section_get_iotlb()
1049 map->sections = g_renew(MemoryRegionSection, map->sections, in phys_section_add()
1052 map->sections[map->sections_nb] = *section; in phys_section_add()
1073 MemoryRegionSection *section = &map->sections[--map->sections_nb]; in phys_sections_free()
1076 g_free(map->sections); in phys_sections_free()
3968 MemoryRegionSection *s = d->map.sections + i; in mtree_print_dispatch()