Home
last modified time | relevance | path

Searched refs:pollfd (Results 1 – 25 of 144) sorted by relevance

123456

/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/bits/
H A Dpoll2.h26 extern int __REDIRECT (__poll_alias, (struct pollfd *__fds, nfds_t __nfds,
28 extern int __poll_chk (struct pollfd *__fds, nfds_t __nfds, int __timeout,
30 extern int __REDIRECT (__poll_chk_warn, (struct pollfd *__fds, nfds_t __nfds,
36 poll (struct pollfd *__fds, nfds_t __nfds, int __timeout) in poll()
52 extern int __REDIRECT (__ppoll_alias, (struct pollfd *__fds, nfds_t __nfds,
55 extern int __ppoll_chk (struct pollfd *__fds, nfds_t __nfds,
58 extern int __REDIRECT (__ppoll_chk_warn, (struct pollfd *__fds, nfds_t __nfds,
66 ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, in ppoll()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/
H A Dpoll2.h26 extern int __REDIRECT (__poll_alias, (struct pollfd *__fds, nfds_t __nfds,
28 extern int __poll_chk (struct pollfd *__fds, nfds_t __nfds, int __timeout,
30 extern int __REDIRECT (__poll_chk_warn, (struct pollfd *__fds, nfds_t __nfds,
36 poll (struct pollfd *__fds, nfds_t __nfds, int __timeout) in poll()
52 extern int __REDIRECT (__ppoll_alias, (struct pollfd *__fds, nfds_t __nfds,
55 extern int __ppoll_chk (struct pollfd *__fds, nfds_t __nfds,
58 extern int __REDIRECT (__ppoll_chk_warn, (struct pollfd *__fds, nfds_t __nfds,
66 ppoll (struct pollfd *__fds, nfds_t __nfds, const struct timespec *__timeout, in ppoll()
/OK3568_Linux_fs/kernel/tools/leds/
H A Dled_hw_brightness_mon.c30 struct pollfd pollfd; in main() local
55 pollfd.fd = fd; in main()
56 pollfd.events = POLLPRI; in main()
59 ret = poll(&pollfd, 1, -1); in main()
73 ret = lseek(pollfd.fd, 0, SEEK_SET); in main()
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dsigio.c38 struct pollfd *poll;
54 struct pollfd *p; in write_sigio_thread()
105 struct pollfd *new; in need_poll()
110 new = uml_kmalloc(n * sizeof(struct pollfd), UM_GFP_ATOMIC); in need_poll()
117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
169 struct pollfd *p; in add_sigio_fd()
193 current_poll.used * sizeof(struct pollfd)); in add_sigio_fd()
204 struct pollfd *p; in ignore_sigio_fd()
240 static struct pollfd *setup_initial_poll(int fd) in setup_initial_poll()
242 struct pollfd *p; in setup_initial_poll()
[all …]
/OK3568_Linux_fs/external/xserver/os/
H A Dxserver_poll.c100 (struct pollfd *pArray, in map_poll_spec()
107 register struct pollfd *pCur; /* current array element */ in map_poll_spec()
203 (struct pollfd *pArray, in map_select_results()
210 register struct pollfd *pCur; /* current array element */ in map_select_results()
240 (struct pollfd *pArray, unsigned long n_fds, int timeout) in xserver_poll()
254 assert (pArray != (struct pollfd *) NULL); in xserver_poll()
/OK3568_Linux_fs/kernel/tools/testing/selftests/kvm/
H A Ddemand_paging_test.c130 struct pollfd pollfd[2]; in uffd_handler_thread_fn() local
135 pollfd[0].fd = uffd; in uffd_handler_thread_fn()
136 pollfd[0].events = POLLIN; in uffd_handler_thread_fn()
137 pollfd[1].fd = pipefd; in uffd_handler_thread_fn()
138 pollfd[1].events = POLLIN; in uffd_handler_thread_fn()
140 r = poll(pollfd, 2, -1); in uffd_handler_thread_fn()
154 if (pollfd[0].revents & POLLERR) { in uffd_handler_thread_fn()
159 if (pollfd[1].revents & POLLIN) { in uffd_handler_thread_fn()
160 r = read(pollfd[1].fd, &tmp_chr, 1); in uffd_handler_thread_fn()
166 if (!pollfd[0].revents & POLLIN) in uffd_handler_thread_fn()
/OK3568_Linux_fs/kernel/tools/testing/selftests/filesystems/incfs/
H A Dutils.c271 struct pollfd pollfd = { in wait_for_pending_reads() local
276 poll_res = poll(&pollfd, 1, timeout_ms); in wait_for_pending_reads()
281 if (!(pollfd.revents | POLLIN)) in wait_for_pending_reads()
299 struct pollfd pollfd = { in wait_for_pending_reads2() local
304 poll_res = poll(&pollfd, 1, timeout_ms); in wait_for_pending_reads2()
309 if (!(pollfd.revents | POLLIN)) in wait_for_pending_reads2()
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_103.0.5060/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_105.0.5195/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_100.0.4896/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_98.0.4758/
H A D0007-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/buildroot/package/qt5/qt5webengine-chromium/
H A D0009-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_96.0.4664/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_109.0.5414/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_104.0.5112/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_97.0.4692/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_101.0.4951/
H A D0005-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_111.0.5563/
H A D0006-media-gpu-v4l2-Use-POLLIN-for-pending-event.patch22 - *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLPRI);
23 + *event_pending = (pollfd != -1 && pollfds[pollfd].revents & POLLIN);
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/sys/
H A Dpoll.h36 struct pollfd struct
54 extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout); argument
63 extern int ppoll (struct pollfd *__fds, nfds_t __nfds,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/
H A Dpoll.h36 struct pollfd struct
54 extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout); argument
63 extern int ppoll (struct pollfd *__fds, nfds_t __nfds,
/OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/tm/
H A Dtm-signal-pagefault.c88 struct pollfd pollfd; in fault_handler_thread() local
94 pollfd.fd = uffd; in fault_handler_thread()
95 pollfd.events = POLLIN; in fault_handler_thread()
96 if (poll(&pollfd, 1, -1) == -1) { in fault_handler_thread()
/OK3568_Linux_fs/kernel/tools/lib/perf/
H A Devlist.c35 fdarray__init(&evlist->pollfd, 64); in perf_evlist__init()
134 fdarray__exit(&evlist->pollfd); in perf_evlist__exit()
303 if (fdarray__available_entries(&evlist->pollfd) < nfds && in perf_evlist__alloc_pollfd()
304 fdarray__grow(&evlist->pollfd, nfds) < 0) in perf_evlist__alloc_pollfd()
313 int pos = fdarray__add(&evlist->pollfd, fd, revent | POLLERR | POLLHUP, flags); in perf_evlist__add_pollfd()
316 evlist->pollfd.priv[pos].ptr = ptr; in perf_evlist__add_pollfd()
334 return fdarray__filter(&evlist->pollfd, revents_and_mask, in perf_evlist__filter_pollfd()
340 return fdarray__poll(&evlist->pollfd, timeout); in perf_evlist__poll()
589 if (evlist->pollfd.entries == NULL && perf_evlist__alloc_pollfd(evlist) < 0) in perf_evlist__mmap_ops()
/OK3568_Linux_fs/kernel/fs/
H A Dselect.c842 struct pollfd entries[];
845 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
854 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait, in do_pollfd() argument
858 int fd = pollfd->fd; in do_pollfd()
870 filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP; in do_pollfd()
880 pollfd->revents = mangle_poll(mask); in do_pollfd()
908 struct pollfd * pfd, * pfd_end; in do_poll()
971 sizeof(struct pollfd))
973 static int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll()
997 sizeof(struct pollfd) * walk->len)) in do_sys_poll()
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/shared/
H A Dsigio.c87 static struct pollfd *xf86SigIOFds;
93 struct pollfd *n; in xf86SigIOAdd()
95 n = realloc(xf86SigIOFds, (xf86SigIONum + 1) * sizeof (struct pollfd)); in xf86SigIOAdd()
112 … memmove(&xf86SigIOFds[i], &xf86SigIOFds[i+1], (xf86SigIONum - i - 1) * sizeof (struct pollfd)); in xf86SigIORemove()
/OK3568_Linux_fs/external/xserver/include/
H A Dxserver_poll.h42 struct pollfd struct
51 int xserver_poll (struct pollfd *pArray, nfds_t n_fds, int timeout); argument

123456