Home
last modified time | relevance | path

Searched full:poll (Results 1 – 25 of 3365) sorted by relevance

12345678910>>...135

/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/
H A D0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch4 Subject: [PATCH] use POSIX poll.h instead of sys/poll.h
9 POSIX specifies that <poll.h> is the correct header to
10 include for poll()
11 http://pubs.opengroup.org/onlinepubs/009695399/functions/poll.html
12 whereas <sys/poll.h> is only needed for ancient glibc (<2.3),
19 | <sysroot>/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.…
20 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
23 | <sysroot>/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <sys/poll.…
24 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
44 -#include <sys/poll.h>
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dfunc-poll.rst4 .. _func-poll:
7 V4L2 poll()
13 v4l2-poll - Wait for some event on a file descriptor
20 #include <sys/poll.h>
22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
31 With the :c:func:`poll()` function applications can suspend execution
44 On success :c:func:`poll()` returns the number of file descriptors
52 :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>` the :c:func:`poll()`
57 :c:func:`poll()` function succeeds and sets the ``POLLERR`` flag in
59 :c:func:`poll()` to succeed as well, but it sets the ``POLLOUT`` and
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0009-Rename-poll.h-to-vm_poll.h.patch4 Subject: [PATCH] Rename poll.h to vm_poll.h
6 Rename poll.h to vm_poll.h and switch from:
7 #include <sys/poll.h>
9 #include <poll.h>
11 musl libc's system headers pulls in open-vm-tools' poll.h. To avoid this
12 we rename poll.h to vm_poll.h.
24 open-vm-tools/lib/include/{poll.h => vm_poll.h} | 2 +-
27 rename open-vm-tools/lib/include/{poll.h => vm_poll.h} (99%)
37 -#include "poll.h"
50 -#include "poll.h"
[all …]
H A D0001-open-vm-tools-Correct-include-path-for-poll.h.patch4 Subject: [PATCH] open-vm-tools: Correct include path for poll.h
6 sys/poll.h is deprecated and musl calls it out explicitly.
10 …11.3.5-r0/recipe-sysroot/usr/include/sys/poll.h:1:2: error: redirecting incorrect #include <sys/po…
11 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
29 -#include <sys/poll.h>
30 +#include <poll.h>
H A D0008-include-poll.h-instead-of-sys-poll.h.patch4 Subject: [PATCH] include poll.h instead of sys/poll.h
6 including sys/poll.h is deprecated
21 +#include <poll.h>
23 -#include <sys/poll.h>
/OK3568_Linux_fs/kernel/drivers/tty/vt/
H A Dvc_screen.c44 #include <linux/poll.h>
89 struct vcs_poll_data *poll = in vcs_notifier() local
91 int currcons = poll->cons_num; in vcs_notifier()
112 poll->event = code; in vcs_notifier()
113 wake_up_interruptible(&poll->waitq); in vcs_notifier()
114 kill_fasync(&poll->fasync, SIGIO, fa_band); in vcs_notifier()
119 vcs_poll_data_free(struct vcs_poll_data *poll) in vcs_poll_data_free() argument
121 unregister_vt_notifier(&poll->notifier); in vcs_poll_data_free()
122 kfree(poll); in vcs_poll_data_free()
128 struct vcs_poll_data *poll = file->private_data, *kill = NULL; in vcs_poll_data_get() local
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/libpfm/libpfm4/
H A D0001-Include-poll.h-instead-of-sys-poll.h.patch4 Subject: [PATCH] Include poll.h instead of sys/poll.h
7 error: redirecting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings]
27 -#include <sys/poll.h>
28 +#include <poll.h>
40 -#include <sys/poll.h>
41 +#include <poll.h>
53 -#include <sys/poll.h>
54 +#include <poll.h>
66 -#include <sys/poll.h>
67 +#include <poll.h>
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/serial/
H A Dpl011.yaml82 auto-poll:
87 poll-rate-ms:
89 Rate at which poll occurs when auto-poll is set.
94 poll-timeout-ms:
96 Poll timeout when auto-poll is set, default
107 poll-rate-ms: [ auto-poll ]
108 poll-timeout-ms: [ auto-poll ]
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Dsigio.c9 #include <poll.h>
38 struct pollfd *poll; member
61 n = poll(fds->poll, fds->used, -1); in write_sigio_thread()
65 printk(UM_KERN_ERR "write_sigio_thread : poll returned " in write_sigio_thread()
69 p = &fds->poll[i]; in write_sigio_thread()
88 memmove(&fds->poll[i], &fds->poll[i + 1], in write_sigio_thread()
89 (fds->used - i) * sizeof(*fds->poll)); in write_sigio_thread()
117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll()
118 kfree(polls->poll); in need_poll()
120 polls->poll = new; in need_poll()
[all …]
/OK3568_Linux_fs/buildroot/package/openvmtools/
H A D0003-Rename-poll-h-into-vm_poll-h-to-fix-build-failure-on-musl.patch4 Subject: [PATCH] Rename poll.h into vm_poll.h to fix build failure on musl
9 musl libc redirects include of sys/poll.h to poll.h. But since poll.h is
14 …linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include <s…
15 #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
27 So rename poll.h into vm_poll.h as suggested by srowe in
41 lib/include/poll.h | 330 --------------------
46 delete mode 100644 open-vm-tools/lib/include/poll.h
57 +#include <poll.h>
59 -#include <sys/poll.h>
67 -#include "poll.h"
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/mediactl/
H A Drequest-func-poll.rst4 .. _request-func-poll:
7 request poll()
13 request-poll - Wait for some event on a file descriptor
20 #include <sys/poll.h>
22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
39 With the :c:func:`poll()` function applications can wait
42 On success :c:func:`poll()` returns the number of file
50 Attempting to poll for a request that is not yet queued will
56 On success, :c:func:`poll()` returns the number of
/OK3568_Linux_fs/kernel/include/linux/
H A Dpoll.h13 #include <uapi/linux/poll.h>
35 * structures and helpers for f_op->poll implementations
55 * Return true if it is guaranteed that poll will not wait. This is the case
56 * if the poll() of another file descriptor in the set got an event, so there
65 * Return the set of events that the application wants to poll for.
67 * to be started implicitly on poll(). You typically only want to do that
83 return file->f_op->poll; in file_can_poll()
88 if (unlikely(!file->f_op->poll)) in vfs_poll()
90 return file->f_op->poll(file, pt); in vfs_poll()
101 * Structures and helpers for select/poll syscall
[all …]
/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/cec/
H A Dcec-func-poll.rst4 .. _cec-func-poll:
7 cec poll()
13 cec-poll - Wait for some event on a file descriptor
20 #include <sys/poll.h>
22 .. c:function:: int poll( struct pollfd *ufds, unsigned int nfds, int timeout )
39 With the :c:func:`poll()` function applications can wait for CEC
42 On success :c:func:`poll()` returns the number of file descriptors
53 For more details see the :c:func:`poll()` manual page.
58 On success, :c:func:`poll()` returns the number structures which have
/OK3568_Linux_fs/buildroot/package/watchdogd/
H A DConfig.in31 int "Generic script monitor poll interval (sec)"
34 Poll interval for generic script monitor, in seconds. A value
38 int "CPU load average monitor poll interval (sec)"
41 Poll interval for CPU load average monitor, in seconds. A
45 int "File descriptor leak monitor poll interval (sec)"
48 Poll interval for file descriptor leak monitor, in seconds. A
52 int "Memory leak monitor poll interval (sec)"
55 Poll interval for memory leak monitor, in seconds. A value of
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0001-src-Add-missing-header-limits.h-for-_POSIX_HOST_NAME.patch54 -#include <sys/poll.h>
55 #include <poll.h>
66 -#include "sys/poll.h"
67 +#include <poll.h>
79 -#include <sys/poll.h>
80 #include <poll.h>
91 -#include <sys/poll.h>
92 +#include <poll.h>
104 -#include <sys/poll.h>
105 #include <poll.h>
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-extended/kronosnet/kronosnet/
H A D0001-libknet-tests-Correct-include-path-for-poll.h.patch4 Subject: [PATCH] libknet/tests: Correct include path for poll.h
7 /usr/include/sys/poll.h:1:2: error: redirec
8 ting incorrect #include <sys/poll.h> to <poll.h> [-Werror,-W#warnings]
9 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
25 -#include <sys/poll.h>
26 +#include <poll.h>
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/platform/default/
H A Drun_loop.cpp22 static void onEvent(uv_poll_t* poll, int, int event) { in onEvent()
23 auto watch = reinterpret_cast<Watch*>(poll->data); in onEvent()
41 static void onClose(uv_handle_t *poll) { in onClose()
42 auto watch = reinterpret_cast<Watch*>(poll->data); in onClose()
46 uv_poll_t poll; member
165 if (uv_poll_init(impl->loop, &watch->poll, fd)) { in addWatch()
166 throw std::runtime_error("Failed to init poll on file descriptor."); in addWatch()
172 watch->poll.data = watch; in addWatch()
191 if (uv_poll_start(&watch->poll, pollEvent, &Watch::onEvent)) { in addWatch()
192 throw std::runtime_error("Failed to start poll on file descriptor."); in addWatch()
[all …]
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/xcore/
H A Dpoll_thread.cpp2 * poll_thread.cpp - poll thread for event and buffer
45 IspPollThread (PollThread *poll, int type) in IspPollThread() argument
47 , _poll (poll) in IspPollThread()
70 EventPollThread (PollThread *poll) in EventPollThread() argument
72 , _poll (poll) in EventPollThread()
245 XCAM_LOG_ERROR ("Failed to create ispp poll stop pipe: %s", strerror(errno)); in create_stop_fds()
264 XCAM_LOG_ERROR ("Failed to create luma poll stop pipe: %s", strerror(errno)); in create_stop_fds()
283 XCAM_LOG_ERROR ("Failed to create stats poll stop pipe: %s", strerror(errno)); in create_stop_fds()
295 XCAM_LOG_ERROR ("Fail to set stats poll stop pipe flag: %s", strerror(errno)); in create_stop_fds()
302 XCAM_LOG_ERROR ("Failed to create event poll stop pipe: %s", strerror(errno)); in create_stop_fds()
[all …]
/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.h1 /* Compatibility definitions for System V `poll' interface.
24 /* Get the platform dependent bits of `poll'. */
25 #include <bits/poll.h>
38 int fd; /* File descriptor to poll. */
46 /* Poll the file descriptors described by the NFDS structures starting at
54 extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
57 /* Like poll, but before waiting the threads signal mask is replaced
76 #endif /* sys/poll.h */
/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.h1 /* Compatibility definitions for System V `poll' interface.
24 /* Get the platform dependent bits of `poll'. */
25 #include <bits/poll.h>
38 int fd; /* File descriptor to poll. */
46 /* Poll the file descriptors described by the NFDS structures starting at
54 extern int poll (struct pollfd *__fds, nfds_t __nfds, int __timeout);
57 /* Like poll, but before waiting the threads signal mask is replaced
76 #endif /* sys/poll.h */
/OK3568_Linux_fs/external/xserver/os/
H A Dxserver_poll.c6 poll - select(2)-based poll() emulation function for BSD systems.
9 #include "poll.h"
18 int poll (struct pollfd *pArray, unsigned long n_fds, int timeout)
22 This file, and the accompanying "poll.h", implement the System V
23 poll(2) system call for BSD systems (which typically do not provide
24 poll()). Poll() provides a method for multiplexing input and output
27 differ from those of poll(), poll() can be readily emulated in terms
111 Map the poll() structures into the file descriptor sets required in map_poll_spec()
154 Map the poll() timeout value into a select() timeout. The possible in map_timeout()
155 values of the poll() timeout value, and their meanings, are: in map_timeout()
[all …]
/OK3568_Linux_fs/kernel/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c165 st->poll.report_id, in hid_sensor_read_poll_value()
166 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value()
171 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
186 st->poll.report_id, in hid_sensor_read_samp_freq_value()
187 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value()
192 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
194 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
217 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
219 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
224 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dscmi.h12 bool poll),
13 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll),
20 __field(bool, poll)
28 __entry->poll = poll;
31 TP_printk("transfer_id=%d msg_id=%u protocol_id=%u seq=%u poll=%u",
33 __entry->seq, __entry->poll)
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/dynamic-layers/perl-layer/recipes-support/rasdaemon/files/
H A D0001-Fix-system-header-includes.patch6 Use poll.h instead of sys/poll.h
8 warning: #warning redirecting incorrect #include <sys/poll.h> to <poll.h> [-Wcpp]
31 +#include <poll.h>
38 -#include <sys/poll.h>
/OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/linux-atm/linux-atm/
H A D0003-mpoad-Drop-old-hack-to-compile-with-very-old-glibc.patch6 Use poll.h instead of sys/poll.h
24 -#include <sys/poll.h>
27 -#include <linux/poll.h>
29 -_syscall3(int,poll,struct pollfd *,ufds,unsigned int,nfds,int,timeout);
31 +#include <poll.h>

12345678910>>...135