Lines Matching full:slots

60     OurRangeMemslotsSlots *memslots = &our_range->slots;  in our_range_memslots_init_slots()
65 memslots->slots = g_new0(MemoryRegion, memslots->count); in our_range_memslots_init_slots()
86 memory_region_init_alias(&memslots->slots[idx], memslot_owner, name, in our_range_memslots_init_slots()
93 memory_region_set_unmergeable(&memslots->slots[idx], true); in our_range_memslots_init_slots()
112 our_range->slots.size_each = memslot_size; in hvb_our_range_memslots_new()
113 our_range->slots.count = memslot_count; in hvb_our_range_memslots_new()
122 OurRangeMemslotsSlots *memslots = &our_range->slots; in our_range_memslots_free_memslots()
130 assert(memory_region_is_mapped(&memslots->slots[idx])); in our_range_memslots_free_memslots()
131 memory_region_del_subregion(our_range->mr, &memslots->slots[idx]); in our_range_memslots_free_memslots()
136 object_unparent(OBJECT(&memslots->slots[idx])); in our_range_memslots_free_memslots()
139 g_clear_pointer(&our_range->slots.slots, g_free); in our_range_memslots_free_memslots()
144 OurRangeMemslotsSlots *memslots = &our_range->slots; in hvb_our_range_memslots_free()
148 assert(our_range->slots.count > 0); in hvb_our_range_memslots_free()
149 assert(our_range->slots.slots); in hvb_our_range_memslots_free()
151 hostmem_mr = memslots->slots[0].alias; in hvb_our_range_memslots_free()
163 OurRangeMemslotsSlots *memslots = &our_range->slots; in hvb_our_range_memslots_ensure_mapped_additional()
195 assert(!memory_region_is_mapped(&memslots->slots[idx])); in hvb_our_range_memslots_ensure_mapped_additional()
197 &memslots->slots[idx]); in hvb_our_range_memslots_ensure_mapped_additional()