Searched refs:irq_bitmap (Results 1 – 4 of 4) sorted by relevance
162 if (unlikely(!ctx->irq_bitmap)) { in cxl_irq_afu()167 set_bit(afu_irq - 1, ctx->irq_bitmap); in cxl_irq_afu()274 ctx->irq_bitmap = kcalloc(BITS_TO_LONGS(count), in afu_allocate_irqs()275 sizeof(*ctx->irq_bitmap), GFP_KERNEL); in afu_allocate_irqs()276 if (!ctx->irq_bitmap) in afu_allocate_irqs()
65 ctx->irq_bitmap = NULL; in cxl_context_init()306 kfree(ctx->irq_bitmap); in reclaim_ctx()
444 event.irq.irq = find_first_bit(ctx->irq_bitmap, ctx->irq_count) + 1; in afu_read()445 clear_bit(event.irq.irq - 1, ctx->irq_bitmap); in afu_read()446 if (bitmap_empty(ctx->irq_bitmap, ctx->irq_count)) in afu_read()
496 unsigned long *irq_bitmap; /* Accessed from IRQ context */ member