/linux-master/tools/testing/selftests/net/ |
H A D | txtimestamp.c | 299 struct pollfd pollfd; local 302 memset(&pollfd, 0, sizeof(pollfd)); 303 pollfd.fd = fd; 304 ret = poll(&pollfd, 1, cfg_poll_timeout);
|
H A D | so_txtime.c | 231 struct pollfd pfd = { .fd = fdt, .events = POLLERR };
|
H A D | udpgso_bench_rx.c | 94 struct pollfd pfd;
|
H A D | tcp_mmap.c | 214 struct pollfd pfd = { .fd = fd, .events = POLLIN, };
|
H A D | udpgso_bench_tx.c | 243 struct pollfd fds = {0};
|
/linux-master/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 453 struct pollfd fds_route, fds_arp;
|
/linux-master/fs/ |
H A D | select.c | 843 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 D | evlist.h | 19 struct pollfd;
|
/linux-master/tools/perf/ |
H A D | builtin-ftrace.c | 568 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 D | builtin-kvm.c | 1506 struct fdarray *fda = &kvm->evlist->core.pollfd;
|
/linux-master/tools/lib/api/ |
H A D | io.h | 58 struct pollfd pfds[] = {
|
/linux-master/tools/testing/selftests/alsa/ |
H A D | mixer-test.c | 36 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 D | types.h | 167 struct pollfd { struct
|
/linux-master/samples/cgroup/ |
H A D | memcg_event_listener.c | 229 struct pollfd fds[1];
|
/linux-master/include/linux/ |
H A D | restart_block.h | 14 struct pollfd; 50 struct pollfd __user *ufds;
|
H A D | compat.h | 651 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 D | mptcp_connect.c | 619 struct pollfd fds = { 1077 struct pollfd polls;
|
/linux-master/tools/perf/bench/ |
H A D | sched-messaging.c | 82 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; local 89 if (poll(&pollfd, 1, -1) != 1)
|
/linux-master/tools/iio/ |
H A D | iio_generic_buffer.c | 725 struct pollfd pfd = {
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_perf.c | 204 struct pollfd fds = { 0 }; 319 struct pollfd fds = { 0 };
|
/linux-master/tools/testing/selftests/thermal/intel/workload_hint/ |
H A D | workload_hint_test.c | 51 struct pollfd ufd;
|
/linux-master/tools/testing/selftests/thermal/intel/power_floor/ |
H A D | power_floor_test.c | 40 struct pollfd ufd;
|
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | test_unix_oob.c | 109 struct pollfd pfds[1];
|
/linux-master/arch/um/os-Linux/ |
H A D | sigio.c | 38 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 D | virtio_test.c | 41 struct pollfd fds[1];
|