Lines Matching refs:pending_irqs

327 	return vcpu->kvm->arch.float_int.pending_irqs |  in pending_irqs_no_gisa()
328 vcpu->arch.local_int.pending_irqs; in pending_irqs_no_gisa()
331 static inline unsigned long pending_irqs(struct kvm_vcpu *vcpu) in pending_irqs() function
368 active_mask = pending_irqs(vcpu); in deliverable_irqs()
495 clear_bit(IRQ_PEND_EXT_CPU_TIMER, &li->pending_irqs); in __deliver_cpu_timer()
515 clear_bit(IRQ_PEND_EXT_CLOCK_COMP, &li->pending_irqs); in __deliver_ckc()
527 clear_bit(IRQ_PEND_PFAULT_INIT, &li->pending_irqs); in __deliver_pfault_init()
655 if (test_bit(IRQ_PEND_MCHK_EX, &li->pending_irqs) || in __deliver_machine_check()
656 test_bit(IRQ_PEND_MCHK_REP, &li->pending_irqs)) { in __deliver_machine_check()
664 clear_bit(IRQ_PEND_MCHK_EX, &li->pending_irqs); in __deliver_machine_check()
665 clear_bit(IRQ_PEND_MCHK_REP, &li->pending_irqs); in __deliver_machine_check()
675 if (test_and_clear_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) { in __deliver_machine_check()
710 clear_bit(IRQ_PEND_RESTART, &li->pending_irqs); in __deliver_restart()
722 clear_bit(IRQ_PEND_SET_PREFIX, &li->pending_irqs); in __deliver_set_prefix()
744 clear_bit(IRQ_PEND_EXT_EMERGENCY, &li->pending_irqs); in __deliver_emergency_signal()
771 clear_bit(IRQ_PEND_EXT_EXTERNAL, &li->pending_irqs); in __deliver_external_call()
799 clear_bit(IRQ_PEND_PROG, &li->pending_irqs); in __deliver_prog()
912 if (!(test_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs))) { in __deliver_service()
918 clear_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs); in __deliver_service()
954 clear_bit(IRQ_PEND_PFAULT_DONE, &fi->pending_irqs); in __deliver_pfault_done()
1004 clear_bit(IRQ_PEND_VIRTIO, &fi->pending_irqs); in __deliver_virtio()
1083 clear_bit(irq_type, &fi->pending_irqs); in __deliver_io()
1119 return test_bit(IRQ_PEND_EXT_EXTERNAL, &li->pending_irqs); in kvm_s390_ext_call_pending()
1260 li->pending_irqs = 0; in kvm_s390_clear_local_irqs()
1278 clear_bit(IRQ_PEND_EXT_CLOCK_COMP, &li->pending_irqs); in kvm_s390_deliver_pending_interrupts()
1280 set_bit(IRQ_PEND_EXT_CLOCK_COMP, &li->pending_irqs); in kvm_s390_deliver_pending_interrupts()
1283 clear_bit(IRQ_PEND_EXT_CPU_TIMER, &li->pending_irqs); in kvm_s390_deliver_pending_interrupts()
1285 set_bit(IRQ_PEND_EXT_CPU_TIMER, &li->pending_irqs); in kvm_s390_deliver_pending_interrupts()
1340 clear_bit(irq_type, &li->pending_irqs); in kvm_s390_deliver_pending_interrupts()
1387 set_bit(IRQ_PEND_PROG, &li->pending_irqs); in __inject_prog()
1403 set_bit(IRQ_PEND_PFAULT_INIT, &li->pending_irqs); in __inject_pfault_init()
1427 if (test_and_set_bit(IRQ_PEND_EXT_EXTERNAL, &li->pending_irqs)) in __inject_extcall()
1449 set_bit(IRQ_PEND_SET_PREFIX, &li->pending_irqs); in __inject_set_prefix()
1473 if (test_and_set_bit(IRQ_PEND_SIGP_STOP, &li->pending_irqs)) in __inject_sigp_stop()
1489 set_bit(IRQ_PEND_RESTART, &li->pending_irqs); in __inject_sigp_restart()
1509 set_bit(IRQ_PEND_EXT_EMERGENCY, &li->pending_irqs); in __inject_sigp_emergency()
1540 set_bit(IRQ_PEND_MCHK_EX, &li->pending_irqs); in __inject_mchk()
1542 set_bit(IRQ_PEND_MCHK_REP, &li->pending_irqs); in __inject_mchk()
1555 set_bit(IRQ_PEND_EXT_CLOCK_COMP, &li->pending_irqs); in __inject_ckc()
1569 set_bit(IRQ_PEND_EXT_CPU_TIMER, &li->pending_irqs); in __inject_cpu_timer()
1592 clear_bit(isc_to_irq_type(isc), &fi->pending_irqs); in get_io_int()
1707 set_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs); in __inject_service()
1727 set_bit(IRQ_PEND_VIRTIO, &fi->pending_irqs); in __inject_virtio()
1746 set_bit(IRQ_PEND_PFAULT_DONE, &fi->pending_irqs); in __inject_pfault_done()
1761 set_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs); in __inject_float_mchk()
1801 set_bit(isc_to_irq_type(isc), &fi->pending_irqs); in __inject_io()
1982 return test_bit(IRQ_PEND_SIGP_STOP, &li->pending_irqs); in kvm_s390_is_stop_irq_pending()
1991 clear_bit(IRQ_PEND_SIGP_STOP, &li->pending_irqs); in kvm_s390_clear_stop_irq()
2085 fi->pending_irqs = 0; in kvm_s390_clear_float_irqs()
2150 if (test_bit(IRQ_PEND_EXT_SERVICE, &fi->pending_irqs)) { in get_all_floating_irqs()
2161 if (test_bit(IRQ_PEND_MCHK_REP, &fi->pending_irqs)) { in get_all_floating_irqs()
2868 if (li->pending_irqs) { in kvm_s390_set_irq_state()
2934 unsigned long pending_irqs; in kvm_s390_get_irq_state() local
2941 pending_irqs = li->pending_irqs; in kvm_s390_get_irq_state()
2946 for_each_set_bit(irq_type, &pending_irqs, IRQ_PEND_COUNT) { in kvm_s390_get_irq_state()
2958 if (test_bit(IRQ_PEND_EXT_EMERGENCY, &pending_irqs)) { in kvm_s390_get_irq_state()