Lines Matching defs:type
32 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type)
34 vcpu->arch.last_exit_type = type;
44 static inline void kvmppc_set_exit_type(struct kvm_vcpu *vcpu, int type) {}
48 static inline void kvmppc_account_exit_stat(struct kvm_vcpu *vcpu, int type)
50 /* type has to be known at build time for optimization */
54 BUILD_BUG_ON(!__builtin_constant_p(type));
56 switch (type) {
100 static inline void kvmppc_account_exit(struct kvm_vcpu *vcpu, int type)
102 kvmppc_set_exit_type(vcpu, type);
103 kvmppc_account_exit_stat(vcpu, type);