Lines Matching refs:index
235 int index = *(loff_t *) v;
239 if (index == 0) {
245 if (index < NR_IRQS_BASE) {
246 seq_printf(p, "%s: ", irqclass_main_desc[index].name);
247 irq = irqclass_main_desc[index].irq;
253 if (index < nr_irqs) {
254 show_msi_interrupt(p, index);
257 for (index = 0; index < NR_ARCH_IRQS; index++) {
258 seq_printf(p, "%s: ", irqclass_sub_desc[index].name);
259 irq = irqclass_sub_desc[index].irq;
263 if (irqclass_sub_desc[index].desc)
264 seq_printf(p, " %s", irqclass_sub_desc[index].desc);
278 * ext_int_hash[index] is the list head for all external interrupts that hash
279 * to this index.
304 int index;
311 index = ext_hash(code);
314 hlist_add_head_rcu(&p->entry, &ext_int_hash[index]);
324 int index = ext_hash(code);
327 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) {
343 int index;
349 index = ext_hash(ext_code.code);
351 hlist_for_each_entry_rcu(p, &ext_int_hash[index], entry) {