Lines Matching refs:kvm_vm

97 static void create_main_memslot(struct kvm_vm *vm)  in create_main_memslot()
107 static void create_test_memslot(struct kvm_vm *vm) in create_test_memslot()
119 static void create_memslots(struct kvm_vm *vm) in create_memslots()
139 static void finish_vm_setup(struct kvm_vm *vm) in finish_vm_setup()
151 static struct kvm_vm *create_vm_two_memslots(void) in create_vm_two_memslots()
153 struct kvm_vm *vm; in create_vm_two_memslots()
164 static void enable_cmma(struct kvm_vm *vm) in enable_cmma()
172 static void enable_dirty_tracking(struct kvm_vm *vm) in enable_dirty_tracking()
178 static int __enable_migration_mode(struct kvm_vm *vm) in __enable_migration_mode()
187 static void enable_migration_mode(struct kvm_vm *vm) in enable_migration_mode()
194 static bool is_migration_mode_on(struct kvm_vm *vm) in is_migration_mode_on()
208 static int vm_get_cmma_bits(struct kvm_vm *vm, u64 flags, int *errno_out) in vm_get_cmma_bits()
229 struct kvm_vm *vm = create_vm_two_memslots(); in test_get_cmma_basic()
274 struct kvm_vm *vm = vm_create_barebones(); in test_migration_mode()
376 static void assert_all_slots_cmma_dirty(struct kvm_vm *vm) in assert_all_slots_cmma_dirty()
426 static void assert_no_pages_cmma_dirty(struct kvm_vm *vm) in assert_no_pages_cmma_dirty()
449 struct kvm_vm *vm = create_vm_two_memslots(); in test_get_inital_dirty()
473 static void query_cmma_range(struct kvm_vm *vm, in query_cmma_range()
506 struct kvm_vm *vm = create_vm_two_memslots(); in test_get_skip_holes()
668 struct kvm_vm *vm = vm_create_barebones(); in machine_has_cmma()