Searched refs:pollfd (Results 1 - 25 of 77) sorted by path

1234

/linux-master/samples/connector/
H A Ducon.c107 struct pollfd pfd;
/linux-master/samples/timers/
H A Dhpet_example.c135 struct pollfd pfd;
/linux-master/tools/firewire/
H A Dnosy-dump.c904 struct pollfd pollfds[2];
/linux-master/tools/leds/
H A Dled_hw_brightness_mon.c30 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 Dpsock_tpacket.c222 struct pollfd pfd;
371 struct pollfd pfd;
584 struct pollfd pfd;
/linux-master/tools/usb/usbip/src/
H A Dusbipd.c497 struct pollfd *fds;
546 fds = calloc(nsockfd, sizeof(struct pollfd));
/linux-master/arch/um/drivers/
H A Dubd_user.c26 struct pollfd kernel_pollfd;
/linux-master/arch/um/os-Linux/
H A Dfile.c684 struct pollfd pollfds[2] = {};
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/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/include/linux/
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,
H A Drestart_block.h14 struct pollfd;
50 struct pollfd __user *ufds;
H A Dsyscalls.h34 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 Dpoll.h36 struct pollfd { struct
/linux-master/samples/bpf/
H A Dxdp_router_ipv4_user.c453 struct pollfd fds_route, fds_arp;
H A Dxdp_sample_user.c1536 struct pollfd pfd[2] = {};
/linux-master/samples/cgroup/
H A Dmemcg_event_listener.c229 struct pollfd fds[1];
/linux-master/samples/nitro_enclaves/
H A Dne_ioctl_sample.c199 struct pollfd fds[1] = {};
656 struct pollfd fds[1] = {};
/linux-master/samples/uhid/
H A Duhid-example.c391 struct pollfd pfds[2];
/linux-master/tools/gpio/
H A Dgpio-watch.c27 struct pollfd pfd;
/linux-master/tools/hv/
H A Dhv_vss_daemon.c213 struct pollfd pfd;
/linux-master/tools/iio/
H A Diio_generic_buffer.c725 struct pollfd pfd = {
/linux-master/tools/include/nolibc/
H A Dsys.h839 * 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 Dtypes.h167 struct pollfd { struct
/linux-master/tools/lib/api/fd/
H A Darray.c26 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;

Completed in 294 milliseconds

1234