Lines Matching refs:index
120 int index = *(loff_t *) v; in show_interrupts() local
124 if (index == 0) { in show_interrupts()
130 if (index < NR_IRQS) { in show_interrupts()
131 if (index >= NR_IRQS_BASE) in show_interrupts()
133 seq_printf(p, "%s: ", irqclass_main_desc[index].name); in show_interrupts()
134 irq = irqclass_main_desc[index].irq; in show_interrupts()
140 for (index = 0; index < NR_ARCH_IRQS; index++) { in show_interrupts()
141 seq_printf(p, "%s: ", irqclass_sub_desc[index].name); in show_interrupts()
142 irq = irqclass_sub_desc[index].irq; in show_interrupts()
146 if (irqclass_sub_desc[index].desc) in show_interrupts()
147 seq_printf(p, " %s", irqclass_sub_desc[index].desc); in show_interrupts()
215 int index; in register_external_irq() local
222 index = ext_hash(code); in register_external_irq()
225 hlist_add_head_rcu(&p->entry, &ext_int_hash[index]); in register_external_irq()
235 int index = ext_hash(code); in unregister_external_irq() local
238 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in unregister_external_irq()
254 int index; in do_ext_interrupt() local
260 index = ext_hash(ext_code.code); in do_ext_interrupt()
262 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) { in do_ext_interrupt()