Lines Matching refs:slots

125 				   uint64_t vcpu_memory_bytes, int slots,  in memstress_create_vm()  argument
154 TEST_ASSERT(guest_num_pages % slots == 0, in memstress_create_vm()
156 slots); in memstress_create_vm()
208 for (i = 0; i < slots; i++) { in memstress_create_vm()
209 uint64_t region_pages = guest_num_pages / slots; in memstress_create_vm()
322 static void toggle_dirty_logging(struct kvm_vm *vm, int slots, bool enable) in toggle_dirty_logging() argument
326 for (i = 0; i < slots; i++) { in toggle_dirty_logging()
334 void memstress_enable_dirty_logging(struct kvm_vm *vm, int slots) in memstress_enable_dirty_logging() argument
336 toggle_dirty_logging(vm, slots, true); in memstress_enable_dirty_logging()
339 void memstress_disable_dirty_logging(struct kvm_vm *vm, int slots) in memstress_disable_dirty_logging() argument
341 toggle_dirty_logging(vm, slots, false); in memstress_disable_dirty_logging()
344 void memstress_get_dirty_log(struct kvm_vm *vm, unsigned long *bitmaps[], int slots) in memstress_get_dirty_log() argument
348 for (i = 0; i < slots; i++) { in memstress_get_dirty_log()
356 int slots, uint64_t pages_per_slot) in memstress_clear_dirty_log() argument
360 for (i = 0; i < slots; i++) { in memstress_clear_dirty_log()
367 unsigned long **memstress_alloc_bitmaps(int slots, uint64_t pages_per_slot) in memstress_alloc_bitmaps() argument
372 bitmaps = malloc(slots * sizeof(bitmaps[0])); in memstress_alloc_bitmaps()
375 for (i = 0; i < slots; i++) { in memstress_alloc_bitmaps()
383 void memstress_free_bitmaps(unsigned long *bitmaps[], int slots) in memstress_free_bitmaps() argument
387 for (i = 0; i < slots; i++) in memstress_free_bitmaps()