Lines Matching refs:glue
230 struct irq_glue *glue; in free_irq_cpu_rmap() local
237 glue = rmap->obj[index]; in free_irq_cpu_rmap()
238 if (glue) in free_irq_cpu_rmap()
239 irq_set_affinity_notifier(glue->notify.irq, NULL); in free_irq_cpu_rmap()
256 struct irq_glue *glue = in irq_cpu_rmap_notify() local
260 rc = cpu_rmap_update(glue->rmap, glue->index, mask); in irq_cpu_rmap_notify()
271 struct irq_glue *glue = in irq_cpu_rmap_release() local
274 glue->rmap->obj[glue->index] = NULL; in irq_cpu_rmap_release()
275 cpu_rmap_put(glue->rmap); in irq_cpu_rmap_release()
276 kfree(glue); in irq_cpu_rmap_release()
292 struct irq_glue *glue = kzalloc(sizeof(*glue), GFP_KERNEL); in irq_cpu_rmap_add() local
295 if (!glue) in irq_cpu_rmap_add()
297 glue->notify.notify = irq_cpu_rmap_notify; in irq_cpu_rmap_add()
298 glue->notify.release = irq_cpu_rmap_release; in irq_cpu_rmap_add()
299 glue->rmap = rmap; in irq_cpu_rmap_add()
301 glue->index = cpu_rmap_add(rmap, glue); in irq_cpu_rmap_add()
302 rc = irq_set_affinity_notifier(irq, &glue->notify); in irq_cpu_rmap_add()
304 cpu_rmap_put(glue->rmap); in irq_cpu_rmap_add()
305 rmap->obj[glue->index] = NULL; in irq_cpu_rmap_add()
306 kfree(glue); in irq_cpu_rmap_add()