Searched refs:pollfd (Results 26 - 50 of 76) sorted by last modified time

1234

/linux-master/tools/testing/selftests/net/
H A Dtxtimestamp.c299 struct pollfd pollfd; local
302 memset(&pollfd, 0, sizeof(pollfd));
303 pollfd.fd = fd;
304 ret = poll(&pollfd, 1, cfg_poll_timeout);
H A Dso_txtime.c231 struct pollfd pfd = { .fd = fdt, .events = POLLERR };
H A Dudpgso_bench_rx.c94 struct pollfd pfd;
H A Dtcp_mmap.c214 struct pollfd pfd = { .fd = fd, .events = POLLIN, };
H A Dudpgso_bench_tx.c243 struct pollfd fds = {0};
/linux-master/samples/bpf/
H A Dxdp_router_ipv4_user.c453 struct pollfd fds_route, fds_arp;
/linux-master/fs/
H A Dselect.c843 struct pollfd entries[];
846 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd))
849 * Fish for pollable events on the pollfd->fd file descriptor. We're only
850 * interested in events matching the pollfd->events mask, and the result
851 * matching that mask is both recorded in pollfd->revents and returned. The
855 static inline __poll_t do_pollfd(struct pollfd *pollfd, poll_table *pwait, argument
859 int fd = pollfd->fd;
871 filter = demangle_poll(pollfd->events) | EPOLLERR | EPOLLHUP;
881 pollfd
[all...]
/linux-master/tools/perf/util/
H A Devlist.h19 struct pollfd;
/linux-master/tools/perf/
H A Dbuiltin-ftrace.c568 struct pollfd pollfd = { local
621 pollfd.fd = trace_fd;
644 if (poll(&pollfd, 1, -1) < 0)
647 if (pollfd.revents & POLLIN) {
883 struct pollfd pollfd = { local
905 pollfd.fd = trace_fd;
914 if (poll(&pollfd, 1, -1) < 0)
917 if (pollfd
[all...]
H A Dbuiltin-kvm.c1506 struct fdarray *fda = &kvm->evlist->core.pollfd;
/linux-master/tools/lib/api/
H A Dio.h58 struct pollfd pfds[] = {
/linux-master/tools/testing/selftests/alsa/
H A Dmixer-test.c36 struct pollfd pollfd; member in struct:card_data
167 &card_data->pollfd, 1);
198 err = poll(&(ctl->card->pollfd), 1, timeout);
209 &(ctl->card->pollfd),
/linux-master/tools/include/nolibc/
H A Dtypes.h167 struct pollfd { struct
/linux-master/samples/cgroup/
H A Dmemcg_event_listener.c229 struct pollfd fds[1];
/linux-master/include/linux/
H A Drestart_block.h14 struct pollfd;
50 struct pollfd __user *ufds;
H A Dcompat.h651 asmlinkage long compat_sys_ppoll_time32(struct pollfd __user *ufds,
656 asmlinkage long compat_sys_ppoll_time64(struct pollfd __user *ufds,
/linux-master/tools/testing/selftests/net/mptcp/
H A Dmptcp_connect.c619 struct pollfd fds = {
1077 struct pollfd polls;
/linux-master/tools/perf/bench/
H A Dsched-messaging.c82 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; local
89 if (poll(&pollfd, 1, -1) != 1)
/linux-master/tools/iio/
H A Diio_generic_buffer.c725 struct pollfd pfd = {
/linux-master/tools/testing/vsock/
H A Dvsock_perf.c204 struct pollfd fds = { 0 };
319 struct pollfd fds = { 0 };
/linux-master/tools/testing/selftests/thermal/intel/workload_hint/
H A Dworkload_hint_test.c51 struct pollfd ufd;
/linux-master/tools/testing/selftests/thermal/intel/power_floor/
H A Dpower_floor_test.c40 struct pollfd ufd;
/linux-master/tools/testing/selftests/net/af_unix/
H A Dtest_unix_oob.c109 struct pollfd pfds[1];
/linux-master/arch/um/os-Linux/
H A Dsigio.c38 struct pollfd *poll;
54 struct pollfd *p;
105 struct pollfd *new;
110 new = uml_kmalloc(n * sizeof(struct pollfd), UM_GFP_ATOMIC);
117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd));
169 struct pollfd *p;
192 current_poll.used * sizeof(struct pollfd));
214 struct pollfd *p;
259 static struct pollfd *setup_initial_poll(int fd)
261 struct pollfd *
[all...]
/linux-master/tools/virtio/
H A Dvirtio_test.c41 struct pollfd fds[1];

Completed in 307 milliseconds

1234