Lines Matching refs:index
121 int index = *(loff_t *) v; in show_interrupts() local
125 if (index == 0) { in show_interrupts()
131 if (index < NR_IRQS) { in show_interrupts()
132 if (index >= NR_IRQS_BASE) in show_interrupts()
134 seq_printf(p, "%s: ", irqclass_main_desc[index].name); in show_interrupts()
135 irq = irqclass_main_desc[index].irq; in show_interrupts()
141 for (index = 0; index < NR_ARCH_IRQS; index++) { in show_interrupts()
142 seq_printf(p, "%s: ", irqclass_sub_desc[index].name); in show_interrupts()
143 irq = irqclass_sub_desc[index].irq; in show_interrupts()
147 if (irqclass_sub_desc[index].desc) in show_interrupts()
148 seq_printf(p, " %s", irqclass_sub_desc[index].desc); in show_interrupts()
216 int index; in register_external_irq() local
223 index = ext_hash(code); in register_external_irq()
226 hlist_add_head_rcu(&p->entry, &ext_int_hash[index]); in register_external_irq()
236 int index = ext_hash(code); in unregister_external_irq() local
239 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in unregister_external_irq()
255 int index; in do_ext_interrupt() local
261 index = ext_hash(ext_code.code); in do_ext_interrupt()
263 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in do_ext_interrupt()