Searched refs:vm_type (Results 1 - 10 of 10) sorted by last modified time

/linux-master/tools/testing/selftests/kvm/x86_64/
H A Dsev_init2_tests.c49 static void test_init2(unsigned long vm_type, struct kvm_sev_init *init) argument
54 vm = vm_create_barebones_type(vm_type);
62 static void test_init2_invalid(unsigned long vm_type, struct kvm_sev_init *init, const char *msg) argument
67 vm = vm_create_barebones_type(vm_type);
93 void test_flags(uint32_t vm_type) argument
98 test_init2_invalid(vm_type,
103 void test_features(uint32_t vm_type, uint64_t supported_features) argument
109 test_init2_invalid(vm_type,
113 test_init2(vm_type,
/linux-master/arch/x86/kvm/
H A Dx86.c12600 kvm->arch.vm_type = type;
/linux-master/arch/x86/kvm/svm/
H A Dsvm.c4901 int type = kvm->arch.vm_type;
H A Dsev.c255 unsigned long vm_type)
259 bool es_active = vm_type != KVM_X86_SEV_VM;
325 unsigned long vm_type; local
327 if (kvm->arch.vm_type != KVM_X86_DEFAULT_VM)
330 vm_type = (argp->id == KVM_SEV_INIT ? KVM_X86_SEV_VM : KVM_X86_SEV_ES_VM);
336 if (vm_type == KVM_X86_SEV_ES_VM)
339 return __sev_guest_init(kvm, argp, &data, vm_type);
350 if (kvm->arch.vm_type != KVM_X86_SEV_VM &&
351 kvm->arch.vm_type != KVM_X86_SEV_ES_VM)
357 return __sev_guest_init(kvm, argp, &data, kvm->arch.vm_type);
253 __sev_guest_init(struct kvm *kvm, struct kvm_sev_cmd *argp, struct kvm_sev_init *data, unsigned long vm_type) argument
[all...]
/linux-master/arch/x86/kvm/mmu/
H A Dmmu.c5866 vcpu->kvm->arch.vm_type == KVM_X86_SW_PROTECTED_VM &&
/linux-master/arch/x86/include/asm/
H A Dkvm_host.h1288 u8 vm_type; member in struct:kvm_arch
/linux-master/drivers/accel/habanalabs/common/
H A Dhabanalabs.h465 * enum vm_type - virtual memory mapping request information.
469 enum vm_type { enum
1955 * @vm_type: type of the VM.
1968 enum vm_type vm_type; /* must be first */ member in struct:hl_userptr
2195 * @vm_type: describes the type of the virtual area descriptor.
2211 enum vm_type vm_type; /* must be first */ member in struct:hl_vm_phys_pg_pack
H A Ddevice.c2659 enum vm_type *vm_type; local
2675 vm_type = hnode->ptr;
2676 if (((*vm_type == VM_TYPE_USERPTR) && is_pmmu) ||
2677 ((*vm_type == VM_TYPE_PHYS_PACK) && !is_pmmu))
2697 vm_type = hnode->ptr;
2698 if ((*vm_type == VM_TYPE_USERPTR) && (is_pmmu)) {
2703 } else if ((*vm_type == VM_TYPE_PHYS_PACK) && (!is_pmmu)) {
H A Ddebugfs.c251 enum vm_type *vm_type; local
269 vm_type = hnode->ptr;
271 if (*vm_type == VM_TYPE_USERPTR) {
695 enum vm_type *vm_type; local
709 vm_type = hnode->ptr;
711 if (*vm_type == VM_TYPE_USERPTR) {
H A Dmemory.c134 phys_pg_pack->vm_type = VM_TYPE_PHYS_PACK;
243 userptr->vm_type = VM_TYPE_USERPTR;
857 phys_pg_pack->vm_type = userptr->vm_type;
1061 enum vm_type *vm_type; local
1090 vm_type = (enum vm_type *) userptr;
1132 vm_type = (enum vm_type *) phys_pg_pac
1282 enum vm_type *vm_type; local
[all...]

Completed in 262 milliseconds