Lines Matching full:count
16 static void our_range_init(OurRange *our_range, uint64_t start, uint64_t count) in our_range_init() argument
18 assert(count <= UINT64_MAX - start); in our_range_init()
20 our_range->range.count = count; in our_range_init()
52 our_range->range.count); in hvb_our_range_mark_added()
64 assert(memslots->count > 0); in our_range_memslots_init_slots()
65 memslots->slots = g_new0(MemoryRegion, memslots->count); in our_range_memslots_init_slots()
69 for (idx = 0, memslot_offset = 0; idx < memslots->count; in our_range_memslots_init_slots()
75 if (idx == memslots->count - 1) { in our_range_memslots_init_slots()
113 our_range->slots.count = memslot_count; in hvb_our_range_memslots_new()
129 trace_hv_balloon_unmap_slot(idx, memslots->count, offset); in our_range_memslots_free_memslots()
135 for (idx = 0; idx < memslots->count; idx++) { in our_range_memslots_free_memslots()
148 assert(our_range->slots.count > 0); in hvb_our_range_memslots_free()
179 for ( ; idx < memslots->count; in hvb_our_range_memslots_ensure_mapped_additional()
194 trace_hv_balloon_map_slot(idx, memslots->count, offset); in hvb_our_range_memslots_ensure_mapped_additional()