Lines Matching refs:ih
112 struct intrhand *ih;
120 LIST_FOREACH(ih, list, ih_q) {
121 if (ih->ih_func) {
122 (*ih->ih_func)(ih->ih_arg);
132 struct intrhand *ih;
141 ih = kmem_alloc(sizeof(struct intrhand), KM_SLEEP);
145 ih->ih_func = func;
146 ih->ih_arg = arg;
147 ih->ih_irq = irq;
148 LIST_INSERT_HEAD(list, ih, ih_q);
154 return ih;
162 struct intrhand *ih = cookie;
169 ih->ih_func = NULL;
170 ih->ih_arg = NULL;
171 LIST_REMOVE(ih, ih_q);
172 kmem_free(ih, sizeof(struct intrhand));