Searched refs:poll_fd (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/kernel/tools/virtio/virtio-trace/ |
| H A D | trace-agent-ctl.c | 50 struct pollfd poll_fd; in wait_order() local 54 poll_fd.fd = ctl_fd; in wait_order() 55 poll_fd.events = POLLIN; in wait_order() 57 ret = poll(&poll_fd, 1, EVENT_WAIT_MSEC); in wait_order()
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/ |
| H A D | posix_tty.c | 396 struct pollfd poll_fd; in xf86WaitForInput() local 398 poll_fd.fd = fd; in xf86WaitForInput() 399 poll_fd.events = POLLIN; in xf86WaitForInput() 405 SYSCALL(r = xserver_poll(&poll_fd, 1, timeout)); in xf86WaitForInput() 408 SYSCALL(r = xserver_poll(&poll_fd, 0, timeout)); in xf86WaitForInput() 427 struct pollfd poll_fd; in xf86FlushInput() local 435 poll_fd.fd = fd; in xf86FlushInput() 436 poll_fd.events = POLLIN; in xf86FlushInput() 437 while (xserver_poll(&poll_fd, 1, 0) > 0) { in xf86FlushInput()
|
| /OK3568_Linux_fs/external/xserver/hw/xwayland/ |
| H A D | xwayland.c | 965 struct pollfd poll_fd; in xwl_display_pollout() local 967 poll_fd.fd = wl_display_get_fd(xwl_screen->display); in xwl_display_pollout() 968 poll_fd.events = POLLOUT; in xwl_display_pollout() 970 return xserver_poll(&poll_fd, 1, timeout); in xwl_display_pollout()
|