Home
last modified time | relevance | path

Searched refs:work_ctx (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/kernel/irq/
Dirq_sim.c48 struct irq_sim_work_ctx *work_ctx; in irq_sim_handle_irq() local
53 work_ctx = container_of(work, struct irq_sim_work_ctx, work); in irq_sim_handle_irq()
54 sim = container_of(work_ctx, struct irq_sim, work_ctx); in irq_sim_handle_irq()
56 while (!bitmap_empty(work_ctx->pending, sim->irq_count)) { in irq_sim_handle_irq()
57 offset = find_next_bit(work_ctx->pending, in irq_sim_handle_irq()
59 clear_bit(offset, work_ctx->pending); in irq_sim_handle_irq()
89 sim->work_ctx.pending = bitmap_zalloc(num_irqs, GFP_KERNEL); in irq_sim_init()
90 if (!sim->work_ctx.pending) { in irq_sim_init()
106 init_irq_work(&sim->work_ctx.work, irq_sim_handle_irq); in irq_sim_init()
121 irq_work_sync(&sim->work_ctx.work); in irq_sim_fini()
[all …]
/Linux-v5.4/include/linux/
Dirq_sim.h28 struct irq_sim_work_ctx work_ctx; member