Lines Matching refs:func_id

70 static bool kvm_smccc_default_allowed(u32 func_id)  in kvm_smccc_default_allowed()  argument
72 switch (func_id) { in kvm_smccc_default_allowed()
83 if (ARM_SMCCC_OWNER_NUM(func_id) == ARM_SMCCC_OWNER_STANDARD && in kvm_smccc_default_allowed()
84 ARM_SMCCC_FUNC_NUM(func_id) <= 0x1f) in kvm_smccc_default_allowed()
91 if (func_id >= KVM_PSCI_FN(0) && func_id <= KVM_PSCI_FN(3)) in kvm_smccc_default_allowed()
98 static bool kvm_smccc_test_fw_bmap(struct kvm_vcpu *vcpu, u32 func_id) in kvm_smccc_test_fw_bmap() argument
102 switch (func_id) { in kvm_smccc_test_fw_bmap()
211 static u8 kvm_smccc_filter_get_action(struct kvm *kvm, u32 func_id) in kvm_smccc_filter_get_action() argument
213 unsigned long idx = func_id; in kvm_smccc_filter_get_action()
229 static u8 kvm_smccc_get_action(struct kvm_vcpu *vcpu, u32 func_id) in kvm_smccc_get_action() argument
235 u8 action = kvm_smccc_filter_get_action(vcpu->kvm, func_id); in kvm_smccc_get_action()
239 if (kvm_smccc_test_fw_bmap(vcpu, func_id) || in kvm_smccc_get_action()
240 kvm_smccc_default_allowed(func_id)) in kvm_smccc_get_action()
246 static void kvm_prepare_hypercall_exit(struct kvm_vcpu *vcpu, u32 func_id) in kvm_prepare_hypercall_exit() argument
260 .nr = func_id, in kvm_prepare_hypercall_exit()
268 u32 func_id = smccc_get_function(vcpu); in kvm_smccc_call_handler() local
275 action = kvm_smccc_get_action(vcpu, func_id); in kvm_smccc_call_handler()
282 kvm_prepare_hypercall_exit(vcpu, func_id); in kvm_smccc_call_handler()
289 switch (func_id) { in kvm_smccc_call_handler()