/linux-master/samples/connector/ |
H A D | ucon.c | 107 struct pollfd pfd;
|
/linux-master/samples/timers/ |
H A D | hpet_example.c | 135 struct pollfd pfd;
|
/linux-master/tools/firewire/ |
H A D | nosy-dump.c | 904 struct pollfd pollfds[2];
|
/linux-master/tools/leds/ |
H A D | led_hw_brightness_mon.c | 30 struct pollfd pollfd; local 55 pollfd.fd = fd; 56 pollfd.events = POLLPRI; 59 ret = poll(&pollfd, 1, -1); 73 ret = lseek(pollfd.fd, 0, SEEK_SET);
|
/linux-master/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 222 struct pollfd pfd; 371 struct pollfd pfd; 584 struct pollfd pfd;
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbipd.c | 497 struct pollfd *fds; 546 fds = calloc(nsockfd, sizeof(struct pollfd));
|
/linux-master/arch/um/drivers/ |
H A D | ubd_user.c | 26 struct pollfd kernel_pollfd;
|
/linux-master/arch/um/os-Linux/ |
H A D | file.c | 684 struct pollfd pollfds[2] = {};
|
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/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/include/linux/ |
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,
|
H A D | restart_block.h | 14 struct pollfd; 50 struct pollfd __user *ufds;
|
H A D | syscalls.h | 34 struct pollfd; 487 asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int, 490 asmlinkage long sys_ppoll_time32(struct pollfd __user *, unsigned int, 1066 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-master/include/uapi/asm-generic/ |
H A D | poll.h | 36 struct pollfd { struct
|
/linux-master/samples/bpf/ |
H A D | xdp_router_ipv4_user.c | 453 struct pollfd fds_route, fds_arp;
|
H A D | xdp_sample_user.c | 1536 struct pollfd pfd[2] = {};
|
/linux-master/samples/cgroup/ |
H A D | memcg_event_listener.c | 229 struct pollfd fds[1];
|
/linux-master/samples/nitro_enclaves/ |
H A D | ne_ioctl_sample.c | 199 struct pollfd fds[1] = {}; 656 struct pollfd fds[1] = {};
|
/linux-master/samples/uhid/ |
H A D | uhid-example.c | 391 struct pollfd pfds[2];
|
/linux-master/tools/gpio/ |
H A D | gpio-watch.c | 27 struct pollfd pfd;
|
/linux-master/tools/hv/ |
H A D | hv_vss_daemon.c | 213 struct pollfd pfd;
|
/linux-master/tools/iio/ |
H A D | iio_generic_buffer.c | 725 struct pollfd pfd = {
|
/linux-master/tools/include/nolibc/ |
H A D | sys.h | 839 * int poll(struct pollfd *fds, int nfds, int timeout); 843 int sys_poll(struct pollfd *fds, int nfds, int timeout) 861 int poll(struct pollfd *fds, int nfds, int timeout)
|
H A D | types.h | 167 struct pollfd { struct
|
/linux-master/tools/lib/api/fd/ |
H A D | array.c | 26 size_t size = sizeof(struct pollfd) * nr_alloc; 27 struct pollfd *entries = realloc(fda->entries, size); 38 memset(&entries[fda->nr_alloc], 0, sizeof(struct pollfd) * nr); 93 struct pollfd *entry;
|