Home
last modified time | relevance | path

Searched refs:poll (Results 1 – 25 of 1312) sorted by relevance

12345678910>>...53

/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/drivers/tty/vt/
H A Dvc_screen.c89 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
130 if (poll) in vcs_poll_data_get()
[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/arch/um/os-Linux/
H A Dsigio.c38 struct pollfd *poll; member
61 n = poll(fds->poll, fds->used, -1); 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()
174 if (all_sigio_fds.poll[i].fd == fd) in add_sigio_fd()
180 p = &all_sigio_fds.poll[i]; in add_sigio_fd()
[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/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-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/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/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/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()
172 watch->poll.data = watch; in addWatch()
191 if (uv_poll_start(&watch->poll, pollEvent, &Watch::onEvent)) { in addWatch()
211 if (uv_poll_stop(&watch->poll)) { in removeWatch()
215 uv_close(reinterpret_cast<uv_handle_t*>(&watch->poll), &Watch::onClose); in removeWatch()
/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/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/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>
/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/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;
33 __entry->seq, __entry->poll)
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dat91-natte.dtsi74 poll-interval = <20000>;
90 poll-interval = <20000>;
106 poll-interval = <20000>;
122 poll-interval = <20000>;
138 poll-interval = <20000>;
154 poll-interval = <20000>;
170 poll-interval = <20000>;
186 poll-interval = <20000>;
/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/drivers/input/misc/
H A Dwm831x-on.c45 int poll, ret; in wm831x_poll_on() local
49 poll = !(ret & WM831X_ON_PIN_STS); in wm831x_poll_on()
51 input_report_key(wm831x_on->dev, KEY_POWER, poll); in wm831x_poll_on()
55 poll = 1; in wm831x_poll_on()
58 if (poll) in wm831x_poll_on()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/supply/
H A Drockchip-charger-manager.txt11 - cm-poll-mode : polling mode - 0 for disabled, 1 for always, 2 for when
14 - cm-poll-interval : polling interval (in ms)
19 cm-poll-mode = <2>;
20 cm-poll-interval = <5000>;
/OK3568_Linux_fs/yocto/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/
H A D0002-avoid-including-sys-poll.h-directly.patch4 Subject: [PATCH] avoid including <sys/poll.h> directly
6 musl libc generates warnings if <sys/poll.h> is included directly.
24 -#include <sys/poll.h>
25 +#include <poll.h>
/OK3568_Linux_fs/u-boot/test/py/
H A Du_boot_spawn.py69 self.poll = select.poll()
70 …self.poll.register(self.fd, select.POLLIN | select.POLLPRI | select.POLLERR | select.POLLHUP | sel…
172 events = self.poll.poll(poll_maxwait)
/OK3568_Linux_fs/kernel/drivers/vhost/
H A Dvhost.c157 struct vhost_poll *poll; in vhost_poll_func() local
159 poll = container_of(pt, struct vhost_poll, table); in vhost_poll_func()
160 poll->wqh = wqh; in vhost_poll_func()
161 add_wait_queue(wqh, &poll->wait); in vhost_poll_func()
167 struct vhost_poll *poll = container_of(wait, struct vhost_poll, wait); in vhost_poll_wakeup() local
168 struct vhost_work *work = &poll->work; in vhost_poll_wakeup()
170 if (!(key_to_poll(key) & poll->mask)) in vhost_poll_wakeup()
173 if (!poll->dev->use_worker) in vhost_poll_wakeup()
176 vhost_poll_queue(poll); in vhost_poll_wakeup()
189 void vhost_poll_init(struct vhost_poll *poll, vhost_work_fn_t fn, in vhost_poll_init() argument
[all …]
/OK3568_Linux_fs/kernel/sound/core/
H A Dmisc.c163 int poll; member
181 kill_fasync(&fasync->fasync, fasync->signal, fasync->poll); in snd_fasync_work_fn()
218 void snd_kill_fasync(struct snd_fasync *fasync, int signal, int poll) in snd_kill_fasync() argument
226 fasync->poll = poll; in snd_kill_fasync()

12345678910>>...53