Home
last modified time | relevance | path

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

12345678910>>...117

/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.c8 #include <linux/poll.h>
20 #include "poll.h"
38 /* output value, set only if arm poll returns >0 */
90 * arming poll and wakeups.
106 /* pure poll stashes this in ->async_data, poll driven retry elsewhere */ in io_poll_get_double()
116 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()
[all …]
/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/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-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/linux/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 …]
/openbmc/linux/Documentation/devicetree/bindings/serial/
H A Dpl011.yaml78 auto-poll:
83 poll-rate-ms:
85 Rate at which poll occurs when auto-poll is set.
89 poll-timeout-ms:
91 Poll timeout when auto-poll is set, default
110 poll-rate-ms: [ auto-poll ]
111 poll-timeout-ms: [ auto-poll ]
/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/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/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;
56 TP_printk("pt=%02X msg_id=%02X seq=%04X transfer_id=%X poll=%u",
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;
[all …]
/openbmc/linux/include/linux/
H A Dpoll.h12 #include <uapi/linux/poll.h>
29 * structures and helpers for f_op->poll implementations
49 * Return true if it is guaranteed that poll will not wait. This is the case
50 * if the poll() of another file descriptor in the set got an event, so there
59 * Return the set of events that the application wants to poll for.
61 * to be started implicitly on poll(). You typically only want to do that
77 return file->f_op->poll; in file_can_poll()
82 if (unlikely(!file->f_op->poll)) in vfs_poll()
84 return file->f_op->poll(file, pt); in vfs_poll()
95 * Structures and helpers for select/poll syscall
[all …]
/openbmc/linux/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 …]
/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/openpower-occ-control/
H A Docc_device.hpp101 * @param[in] poll - Indicates whether or not the error file should
103 * necessary for error files that don't support the poll
106 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()
[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/Documentation/networking/
H A Dnapi.rst16 interrupts first (:ref:`busy polling<poll>`).
29 and the associated poll method. struct napi_struct holds the state
45 A disabled NAPI can't be scheduled and its poll method is guaranteed
57 napi_schedule() is the basic method of scheduling a NAPI poll.
62 Later, after NAPI is scheduled, the driver's poll method will be
69 packets driver can process in a single poll. Rx specific APIs like page
79 The poll method returns the amount of work done. If the driver still
81 the poll method should return exactly ``budget``. In that case,
86 processed) the poll method should call napi_complete_done()
104 of calls. The poll method may be called without the driver scheduling
[all …]
/openbmc/openbmc/meta-ibm/recipes-phosphor/power/power-sequencer/witherspoon/
H A Ducd90160.yaml26 poll: false
31 poll: false
36 poll: false
41 poll: false
46 poll: true
51 poll: false
/openbmc/phosphor-power/power-sequencer/example/
H A Ducd90160.yaml26 poll: false
31 poll: false
36 poll: false
41 poll: false
46 poll: true
51 poll: false
/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/linux/tools/testing/selftests/pidfd/
H A Dpidfd_poll_test.c6 #include <poll.h>
44 ksft_print_msg("running pidfd poll test for %d iterations\n", in main()
86 nevents = poll(&fds, 1, -1); in main()
90 ksft_exit_fail_msg("%s - poll failed\n", in main()
94 ksft_exit_fail_msg("unexpected poll result: %d\n", in main()
114 ksft_test_result_pass("pidfd poll test: pass\n"); in main()
/openbmc/witherspoon-pfault-analysis/power-sequencer/example/
H A Ducd90160.yaml26 poll: false
31 poll: false
36 poll: false
41 poll: false
46 poll: true
51 poll: true
/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>;

12345678910>>...117