Home
last modified time | relevance | path

Searched refs:consumer (Results 1 – 3 of 3) sorted by relevance

/virt/lib/
Dirqbypass.c87 struct irq_bypass_consumer *consumer; in irq_bypass_register_producer() local
107 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_register_producer()
108 if (consumer->token == producer->token) { in irq_bypass_register_producer()
109 int ret = __connect(producer, consumer); in irq_bypass_register_producer()
137 struct irq_bypass_consumer *consumer; in irq_bypass_unregister_producer() local
153 list_for_each_entry(consumer, &consumers, node) { in irq_bypass_unregister_producer()
154 if (consumer->token == producer->token) { in irq_bypass_unregister_producer()
155 __disconnect(producer, consumer); in irq_bypass_unregister_producer()
178 int irq_bypass_register_consumer(struct irq_bypass_consumer *consumer) in irq_bypass_register_consumer() argument
183 if (!consumer->token || in irq_bypass_register_consumer()
[all …]
/virt/kvm/
Deventfd.c143 irq_bypass_unregister_consumer(&irqfd->consumer); in irqfd_shutdown()
408 irqfd->consumer.token = (void *)irqfd->eventfd; in kvm_irqfd_assign()
409 irqfd->consumer.add_producer = kvm_arch_irq_bypass_add_producer; in kvm_irqfd_assign()
410 irqfd->consumer.del_producer = kvm_arch_irq_bypass_del_producer; in kvm_irqfd_assign()
411 irqfd->consumer.stop = kvm_arch_irq_bypass_stop; in kvm_irqfd_assign()
412 irqfd->consumer.start = kvm_arch_irq_bypass_start; in kvm_irqfd_assign()
413 ret = irq_bypass_register_consumer(&irqfd->consumer); in kvm_irqfd_assign()
416 irqfd->consumer.token, ret); in kvm_irqfd_assign()
/virt/kvm/arm/
Darm.c1667 container_of(cons, struct kvm_kernel_irqfd, consumer); in kvm_arch_irq_bypass_add_producer()
1676 container_of(cons, struct kvm_kernel_irqfd, consumer); in kvm_arch_irq_bypass_del_producer()
1685 container_of(cons, struct kvm_kernel_irqfd, consumer); in kvm_arch_irq_bypass_stop()
1693 container_of(cons, struct kvm_kernel_irqfd, consumer); in kvm_arch_irq_bypass_start()