Lines Matching defs:type
20 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type)
22 vcpu->arch.last_exit_type = type;
34 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {}
38 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type)
40 /* type has to be known at build time for optimization */
44 BUILD_BUG_ON(!__builtin_constant_p(type));
46 switch (type) {
93 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type)
95 kvmppc_set_exit_type(vcpu, type);
96 kvmppc_account_exit_stat(vcpu, type);