Lines Matching refs:n
100 struct wakeup_irq_node *n; in delete_list() local
103 n = list_first_entry(head, struct wakeup_irq_node, siblings); in delete_list()
104 list_del(&n->siblings); in delete_list()
105 kmem_cache_free(wakeup_irq_nodes_cache, n); in delete_list()
111 struct wakeup_irq_node *n = NULL; in add_sibling_node_sorted() local
118 list_for_each_entry(n, head, siblings) { in add_sibling_node_sorted()
119 if (n->irq < irq) in add_sibling_node_sorted()
120 predecessor = &n->siblings; in add_sibling_node_sorted()
121 else if (n->irq == irq) in add_sibling_node_sorted()
127 n = create_node(irq); in add_sibling_node_sorted()
128 if (n) { in add_sibling_node_sorted()
129 list_add(&n->siblings, predecessor); in add_sibling_node_sorted()
139 struct wakeup_irq_node *n; in find_node_in_list() local
144 list_for_each_entry(n, head, siblings) in find_node_in_list()
145 if (n->irq == irq) in find_node_in_list()
146 return n; in find_node_in_list()
275 struct wakeup_irq_node *n; in print_wakeup_sources() local
289 list_for_each_entry(n, &leaf_irqs, siblings) in print_wakeup_sources()
290 pr_info("Resume caused by IRQ %d, %s\n", n->irq, in print_wakeup_sources()
291 n->irq_name); in print_wakeup_sources()
304 struct wakeup_irq_node *n; in last_resume_reason_show() local
317 list_for_each_entry(n, &leaf_irqs, siblings) in last_resume_reason_show()
320 "%d %s\n", n->irq, n->irq_name); in last_resume_reason_show()