Lines Matching defs:index
79 u32 index = array_index_nospec(
82 redir_content = ioapic->redirtbl[index].bits;
283 int index;
292 for (index = 0; index < IOAPIC_NUM_PINS; index++) {
293 e = &ioapic->redirtbl[index];
295 kvm_irq_has_notifier(ioapic->kvm, KVM_IRQCHIP_IOAPIC, index) ||
296 index == RTC_GSI) {
318 unsigned index;
337 index = (ioapic->ioregsel - 0x10) >> 1;
339 if (index >= IOAPIC_NUM_PINS)
341 index = array_index_nospec(index, IOAPIC_NUM_PINS);
342 e = &ioapic->redirtbl[index];
370 kvm_fire_mask_notifiers(ioapic->kvm, KVM_IRQCHIP_IOAPIC, index, mask_after);
372 ioapic->irr & (1 << index) && !e->fields.mask && !e->fields.remote_irr) {
399 if (kvm_notify_irqfd_resampler(ioapic->kvm, KVM_IRQCHIP_IOAPIC, index))
400 ioapic->irr &= ~(1 << index);
402 ioapic_service(ioapic, index, false);