Home
last modified time | relevance | path

Searched refs:eventfp (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/vhost/
H A Dvhost.c1586 struct file *eventfp, *filep = NULL; in vhost_vring_ioctl() local
1651 eventfp = f.fd == VHOST_FILE_UNBIND ? NULL : eventfd_fget(f.fd); in vhost_vring_ioctl()
1652 if (IS_ERR(eventfp)) { in vhost_vring_ioctl()
1653 r = PTR_ERR(eventfp); in vhost_vring_ioctl()
1656 if (eventfp != vq->kick) { in vhost_vring_ioctl()
1658 pollstart = (vq->kick = eventfp) != NULL; in vhost_vring_ioctl()
1660 filep = eventfp; in vhost_vring_ioctl()
/kernel/linux/linux-6.6/drivers/vhost/
H A Dvhost.c1878 struct file *eventfp, *filep = NULL; in vhost_vring_ioctl() local
1937 eventfp = f.fd == VHOST_FILE_UNBIND ? NULL : eventfd_fget(f.fd); in vhost_vring_ioctl()
1938 if (IS_ERR(eventfp)) { in vhost_vring_ioctl()
1939 r = PTR_ERR(eventfp); in vhost_vring_ioctl()
1942 if (eventfp != vq->kick) { in vhost_vring_ioctl()
1944 pollstart = (vq->kick = eventfp) != NULL; in vhost_vring_ioctl()
1946 filep = eventfp; in vhost_vring_ioctl()

Completed in 7 milliseconds