Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c524 int irq_fd[2] = { -1, -1 }; in main() local
527 irq_fd[0] = eventfd(0, 0); in main()
528 irq_fd[1] = eventfd(0, 0); in main()
531 if (irq_fd[0] == -1 || irq_fd[1] == -1) in main()
554 ifd.fd = irq_fd[0]; in main()
558 ifd.fd = irq_fd[1]; in main()
593 inj.u.evtchn.deliver.eventfd.fd = irq_fd[1]; in main()
693 eventfd_write(irq_fd[0], 1UL); in main()
703 eventfd_write(irq_fd[1], 1UL); in main()
716 eventfd_write(irq_fd[0], 1UL); in main()
/linux-6.1.9/drivers/misc/ocxl/
Dfile.c203 struct ocxl_ioctl_irq_fd irq_fd; in afu_ioctl() local
249 rc = copy_from_user(&irq_fd, (u64 __user *) args, in afu_ioctl()
250 sizeof(irq_fd)); in afu_ioctl()
253 if (irq_fd.reserved) in afu_ioctl()
255 irq_id = ocxl_irq_offset_to_id(ctx, irq_fd.irq_offset); in afu_ioctl()
256 ev_ctx = eventfd_ctx_fdget(irq_fd.eventfd); in afu_ioctl()
/linux-6.1.9/samples/vfio-mdev/
Dmtty.c130 int irq_fd; member
959 mdev_state->irq_fd = fd; in mtty_set_irqs()
997 mdev_state->irq_fd = fd; in mtty_set_irqs()