Home
last modified time | relevance | path

Searched refs:fac (Results 1 – 8 of 8) sorted by relevance

/arch/s390/kernel/
Dvtime.c69 u64 delta, fac, mult, div; in update_mt_scaling() local
74 fac = 1; in update_mt_scaling()
80 mult += delta * fac; in update_mt_scaling()
81 fac *= i + 1; in update_mt_scaling()
83 div *= fac; in update_mt_scaling()
/arch/alpha/kernel/
Dptrace.c36 #define DBG(fac,args) {if ((fac) & DEBUG) printk args;} argument
38 #define DBG(fac,args) argument
/arch/s390/kvm/
Dvsie.c49 __u8 fac[S390_ARCH_FAC_LIST_SIZE_BYTE]; /* 0x0800 */ member
456 scb_s->fac = 0; in shadow_scb()
972 __u32 fac = READ_ONCE(vsie_page->scb_o->fac) & 0x7ffffff8U; in handle_stfle() local
974 if (fac && test_kvm_facility(vcpu->kvm, 7)) { in handle_stfle()
976 if (read_guest_real(vcpu, fac, &vsie_page->fac, in handle_stfle()
977 sizeof(vsie_page->fac))) in handle_stfle()
979 scb_s->fac = (__u32)(__u64) &vsie_page->fac; in handle_stfle()
Dpriv.c682 unsigned int fac; in handle_stfl() local
693 fac = *vcpu->kvm->arch.model.fac_list >> 32; in handle_stfl()
695 &fac, sizeof(fac)); in handle_stfl()
698 VCPU_EVENT(vcpu, 3, "STFL: store facility list 0x%x", fac); in handle_stfl()
699 trace_kvm_s390_handle_stfl(vcpu, fac); in handle_stfl()
Dkvm-s390.c2965 vcpu->arch.sie_block->fac = (u32)(u64) model->fac_list; in kvm_s390_vcpu_setup_model()
/arch/powerpc/kvm/
Dbook3s_pr.c55 static int kvmppc_handle_fac(struct kvm_vcpu *vcpu, ulong fac);
827 void kvmppc_giveup_fac(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_giveup_fac() argument
830 if (!(vcpu->arch.shadow_fscr & (1ULL << fac))) { in kvmppc_giveup_fac()
835 switch (fac) { in kvmppc_giveup_fac()
946 void kvmppc_trigger_fac_interrupt(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_trigger_fac_interrupt() argument
950 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt()
954 static void kvmppc_emulate_fac(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_emulate_fac() argument
963 kvmppc_trigger_fac_interrupt(vcpu, fac); in kvmppc_emulate_fac()
968 static int kvmppc_handle_fac(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_handle_fac() argument
977 switch (fac) { in kvmppc_handle_fac()
[all …]
/arch/powerpc/include/asm/
Dkvm_book3s.h233 extern void kvmppc_trigger_fac_interrupt(struct kvm_vcpu *vcpu, ulong fac);
310 void kvmppc_giveup_fac(struct kvm_vcpu *vcpu, ulong fac);
/arch/s390/include/asm/
Dkvm_host.h275 __u32 fac; /* 0x01a0 */ member