Lines Matching refs:irq_name
282 struct cxl_irq_name *irq_name, *tmp; in afu_irq_name_free() local
284 list_for_each_entry_safe(irq_name, tmp, &ctx->irq_names, list) { in afu_irq_name_free()
285 kfree(irq_name->name); in afu_irq_name_free()
286 list_del(&irq_name->list); in afu_irq_name_free()
287 kfree(irq_name); in afu_irq_name_free()
294 struct cxl_irq_name *irq_name; in afu_allocate_irqs() local
332 irq_name = kmalloc(sizeof(struct cxl_irq_name), in afu_allocate_irqs()
334 if (!irq_name) in afu_allocate_irqs()
336 irq_name->name = kasprintf(GFP_KERNEL, "cxl-%s-pe%i-%i", in afu_allocate_irqs()
339 if (!irq_name->name) { in afu_allocate_irqs()
340 kfree(irq_name); in afu_allocate_irqs()
344 list_add_tail(&irq_name->list, &ctx->irq_names); in afu_allocate_irqs()
360 struct cxl_irq_name *irq_name; in afu_register_hwirqs() local
365 irq_name = list_first_entry(&ctx->irq_names, struct cxl_irq_name, list); in afu_register_hwirqs()
384 irq_name->name); in afu_register_hwirqs()
385 irq_name = list_next_entry(irq_name, list); in afu_register_hwirqs()