Lines Matching refs:access_key
642 static int vm_check_access_key(struct kvm *kvm, u8 access_key, in vm_check_access_key() argument
650 if (access_key == 0) in vm_check_access_key()
663 if (access_control == access_key) in vm_check_access_key()
705 static int vcpu_check_access_key(struct kvm_vcpu *vcpu, u8 access_key, in vcpu_check_access_key() argument
714 if (access_key == 0) in vcpu_check_access_key()
728 if (access_control == access_key) in vcpu_check_access_key()
782 u8 access_key) in guest_range_to_gpas() argument
811 rc = vcpu_check_access_key(vcpu, access_key, mode, asce, gpa, ga, in guest_range_to_gpas()
842 void *data, unsigned int len, u8 access_key) in access_guest_page_with_key() argument
864 rc = copy_to_user_key((void __user *)hva, data, len, access_key); in access_guest_page_with_key()
866 rc = copy_from_user_key(data, (void __user *)hva, len, access_key); in access_guest_page_with_key()
875 unsigned long len, enum gacc_mode mode, u8 access_key) in access_guest_abs_with_key() argument
883 rc = access_guest_page_with_key(kvm, mode, gpa, data, fragment_len, access_key); in access_guest_abs_with_key()
896 u8 access_key) in access_guest_with_key() argument
947 data, fragment_len, access_key); in access_guest_with_key()
1021 u8 access_key, bool *success) in cmpxchg_guest_abs_with_key() argument
1053 ret = cmpxchg_user_key((u8 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key()
1061 ret = cmpxchg_user_key((u16 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key()
1069 ret = cmpxchg_user_key((u32 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key()
1077 ret = cmpxchg_user_key((u64 __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key()
1085 ret = cmpxchg_user_key((__uint128_t __user *)hva, &old, *old_addr, new, access_key); in cmpxchg_guest_abs_with_key()
1121 u8 access_key) in guest_translate_address_with_key() argument
1131 access_key); in guest_translate_address_with_key()
1144 unsigned long length, enum gacc_mode mode, u8 access_key) in check_gva_range() argument
1154 access_key); in check_gva_range()
1169 enum gacc_mode mode, u8 access_key) in check_gpa_range() argument
1176 rc = vm_check_access_key(kvm, access_key, mode, gpa); in check_gpa_range()