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.c35 #define DBG(fac,args) {if ((fac) & DEBUG) printk args;} argument
37 #define DBG(fac,args) argument
/arch/powerpc/kvm/
Dbook3s_pr.c55 static int kvmppc_handle_fac(struct kvm_vcpu *vcpu, ulong fac);
863 void kvmppc_giveup_fac(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_giveup_fac() argument
866 if (!(vcpu->arch.shadow_fscr & (1ULL << fac))) { in kvmppc_giveup_fac()
871 switch (fac) { in kvmppc_giveup_fac()
982 void kvmppc_trigger_fac_interrupt(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_trigger_fac_interrupt() argument
986 vcpu->arch.fscr |= (fac << 56); in kvmppc_trigger_fac_interrupt()
990 static void kvmppc_emulate_fac(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_emulate_fac() argument
999 kvmppc_trigger_fac_interrupt(vcpu, fac); in kvmppc_emulate_fac()
1004 static int kvmppc_handle_fac(struct kvm_vcpu *vcpu, ulong fac) in kvmppc_handle_fac() argument
1013 switch (fac) { in kvmppc_handle_fac()
[all …]
/arch/s390/kvm/
Dvsie.c49 __u8 fac[S390_ARCH_FAC_LIST_SIZE_BYTE]; /* 0x0800 */ member
453 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.c698 unsigned int fac; in handle_stfl() local
709 fac = *vcpu->kvm->arch.model.fac_list >> 32; in handle_stfl()
711 &fac, sizeof(fac)); in handle_stfl()
714 VCPU_EVENT(vcpu, 3, "STFL: store facility list 0x%x", fac); in handle_stfl()
715 trace_kvm_s390_handle_stfl(vcpu, fac); in handle_stfl()
Dkvm-s390.c3167 vcpu->arch.sie_block->fac = (u32)(u64) model->fac_list; in kvm_s390_vcpu_setup_model()
/arch/powerpc/include/asm/
Dkvm_book3s.h231 extern void kvmppc_trigger_fac_interrupt(struct kvm_vcpu *vcpu, ulong fac);
308 void kvmppc_giveup_fac(struct kvm_vcpu *vcpu, ulong fac);
/arch/s390/include/asm/
Dkvm_host.h333 __u32 fac; /* 0x01a0 */ member