Home
last modified time | relevance | path

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

12345678910>>...47

/openbmc/openbmc/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 …]
/openbmc/linux/io_uring/
H A Dpoll.c116 return &req->apoll->poll; in io_poll_get_single()
170 static void io_init_poll_iocb(struct io_poll *poll, __poll_t events) in io_init_poll_iocb() argument
172 poll->head = NULL; in io_init_poll_iocb()
175 poll->events = events | IO_POLL_UNMASK; in io_init_poll_iocb()
176 INIT_LIST_HEAD(&poll->wait.entry); in io_init_poll_iocb()
177 init_waitqueue_func_entry(&poll->wait, io_poll_wake); in io_init_poll_iocb()
180 static inline void io_poll_remove_entry(struct io_poll *poll) in io_poll_remove_entry() argument
182 struct wait_queue_head *head = smp_load_acquire(&poll->head); in io_poll_remove_entry()
186 list_del_init(&poll->wait.entry); in io_poll_remove_entry()
187 poll->head = NULL; in io_poll_remove_entry()
[all …]
/openbmc/linux/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 …]
/openbmc/linux/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()
173 if (all_sigio_fds.poll[i].fd == fd) in __add_sigio_fd()
179 p = &all_sigio_fds.poll[i]; in __add_sigio_fd()
[all …]
/openbmc/openbmc/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 …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/open-vm-tools/open-vm-tools/
H A D0008-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.
26 open-vm-tools/lib/include/{poll.h => vm_poll.h} | 2 +-
29 rename open-vm-tools/lib/include/{poll.h => vm_poll.h} (99%)
39 -#include "poll.h"
52 -#include "poll.h"
[all …]
H A D0013-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>
30 -#include <sys/poll.h>
31 +#include <poll.h>
H A D0007-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
23 +#include <poll.h>
25 -#include <sys/poll.h>
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/liburing/liburing/
H A D0002-ooo-file-unreg.c-Include-poll.h-instead-of-sys-poll..patch4 Subject: [PATCH 2/2] ooo-file-unreg.c: Include poll.h instead of sys/poll.h
9 …ring/2.7/recipe-sysroot/usr/include/sys/poll.h:1:2: warning: redirecting incorrect #include <sys/p…
10 1 | #warning redirecting incorrect #include <sys/poll.h> to <poll.h>
28 -#include <sys/poll.h>
29 +#include <poll.h>
/openbmc/linux/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 …]
/openbmc/openpower-occ-control/
H A Docc_device.hpp106 inline void addErrorWatch(bool poll = true) in addErrorWatch() argument
109 throttleProcTemp.addWatch(poll); in addErrorWatch()
113 throttleProcTemp.addWatch(poll); in addErrorWatch()
119 throttleProcTemp.addWatch(poll); in addErrorWatch()
126 pmode->addIpsWatch(poll); in addErrorWatch()
130 throttleProcPower.addWatch(poll); in addErrorWatch()
131 throttleMemTemp.addWatch(poll); in addErrorWatch()
135 ffdc.addWatch(poll); in addErrorWatch()
144 timeout.addWatch(poll); in addErrorWatch()
151 error.addWatch(poll); in addErrorWatch()
/openbmc/linux/include/trace/events/
H A Dscmi.h37 bool poll),
38 TP_ARGS(transfer_id, msg_id, protocol_id, seq, poll),
45 __field(bool, poll)
53 __entry->poll = poll;
58 __entry->transfer_id, __entry->poll)
63 u32 timeout, bool poll),
64 TP_ARGS(transfer_id, msg_id, protocol_id, seq, timeout, poll),
72 __field(bool, poll)
81 __entry->poll = poll;
86 __entry->transfer_id, __entry->timeout, __entry->poll)
/openbmc/linux/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
/openbmc/linux/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
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/opensaf/opensaf/
H A D0001-src-Add-missing-header-limits.h-for-_POSIX_HOST_NAME.patch56 -#include <sys/poll.h>
57 #include <poll.h>
68 -#include "sys/poll.h"
69 +#include <poll.h>
81 -#include <sys/poll.h>
82 #include <poll.h>
93 -#include <sys/poll.h>
94 +#include <poll.h>
106 -#include <sys/poll.h>
107 #include <poll.h>
[all …]
/openbmc/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c160 st->poll.report_id, in hid_sensor_read_poll_value()
161 st->poll.index, sizeof(value), &value); in hid_sensor_read_poll_value()
166 if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_poll_value()
181 st->poll.report_id, in hid_sensor_read_samp_freq_value()
182 st->poll.index, sizeof(value), &value); in hid_sensor_read_samp_freq_value()
187 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_read_samp_freq_value()
189 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_read_samp_freq_value()
212 if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) in hid_sensor_write_samp_freq_value()
214 else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) in hid_sensor_write_samp_freq_value()
219 ret = sensor_hub_set_feature(st->hsdev, st->poll.report_id, in hid_sensor_write_samp_freq_value()
[all …]
/openbmc/openbmc/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>
/openbmc/linux/arch/arm/boot/dts/microchip/
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>;
/openbmc/linux/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()
/openbmc/openbmc/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.
23 -#include <sys/poll.h>
24 +#include <poll.h>
/openbmc/linux/Documentation/translations/zh_CN/accounting/
H A Dpsi.rst63 用户可注册触发器,通过poll()监控资源压力是否超过门限。
69 所打开的文件描述符用于等待事件,可使用select()、poll()、epoll()。
102 #include <poll.h>
128 n = poll(&fds, 1, -1);
130 printf("poll error: %s\n", strerror(errno));
/openbmc/u-boot/test/py/
H A Du_boot_spawn.py68 self.poll = select.poll()
69 …self.poll.register(self.fd, select.POLLIN | select.POLLPRI | select.POLLERR | select.POLLHUP | sel…
171 events = self.poll.poll(poll_maxwait)
/openbmc/linux/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()
/openbmc/linux/kernel/
H A Dutsname_sysctl.c65 proc_sys_poll_notify(table->poll); in proc_do_uts_string()
113 .poll = &hostname_poll,
121 .poll = &domainname_poll,
135 proc_sys_poll_notify(table->poll); in uts_proc_notify()
/openbmc/linux/tools/testing/selftests/powerpc/nx-gzip/
H A Dgzip_vas.c137 long poll = 0; in nx_wait_for_csb() local
153 ++poll; in nx_wait_for_csb()
167 if (poll > CSB_MAX_POLL) in nx_wait_for_csb()
186 (int) poll); in nx_wait_for_csb()
188 (int) poll); in nx_wait_for_csb()

12345678910>>...47