Lines Matching refs:priority
245 unsigned int priority) in kvmppc_book3s_irqprio_deliver() argument
251 switch (priority) { in kvmppc_book3s_irqprio_deliver()
308 printk(KERN_ERR "KVM: Unknown interrupt: 0x%x\n", priority); in kvmppc_book3s_irqprio_deliver()
325 static bool clear_irqprio(struct kvm_vcpu *vcpu, unsigned int priority) in clear_irqprio() argument
327 switch (priority) { in clear_irqprio()
343 unsigned int priority; in kvmppc_core_prepare_to_enter() local
349 priority = __ffs(*pending); in kvmppc_core_prepare_to_enter()
350 while (priority < BOOK3S_IRQPRIO_MAX) { in kvmppc_core_prepare_to_enter()
351 if (kvmppc_book3s_irqprio_deliver(vcpu, priority) && in kvmppc_core_prepare_to_enter()
352 clear_irqprio(vcpu, priority)) { in kvmppc_core_prepare_to_enter()
353 clear_bit(priority, &vcpu->arch.pending_exceptions); in kvmppc_core_prepare_to_enter()
357 priority = find_next_bit(pending, in kvmppc_core_prepare_to_enter()
359 priority + 1); in kvmppc_core_prepare_to_enter()