Searched refs:dpfd (Results 1 – 1 of 1) sorted by relevance
49 int dpfd = -1; variable76 dpfd = open("/dev/poll", O_RDWR); in fpm_event_devpoll_init()77 if (dpfd < 0) { in fpm_event_devpoll_init()121 if (dpfd > -1) { in fpm_event_devpoll_clean()122 close(dpfd); in fpm_event_devpoll_clean()123 dpfd = -1; in fpm_event_devpoll_clean()158 ret = ioctl(dpfd, DP_POLL, &dopoll); in fpm_event_devpoll_wait()209 if (write(dpfd, &pollfd, sizeof(struct pollfd)) != sizeof(struct pollfd)) { in fpm_event_devpoll_add()234 if (write(dpfd, &pollfd, sizeof(struct pollfd)) != sizeof(struct pollfd)) { in fpm_event_devpoll_remove()
Completed in 5 milliseconds