/linux-4.1.27/arch/um/os-Linux/ |
D | sigio.c | 38 struct pollfd *poll; 54 struct pollfd *p; in write_sigio_thread() 105 struct pollfd *new; in need_poll() 110 new = uml_kmalloc(n * sizeof(struct pollfd), UM_GFP_ATOMIC); in need_poll() 117 memcpy(new, polls->poll, polls->used * sizeof(struct pollfd)); in need_poll() 169 struct pollfd *p; in add_sigio_fd() 193 current_poll.used * sizeof(struct pollfd)); in add_sigio_fd() 204 struct pollfd *p; in ignore_sigio_fd() 240 static struct pollfd *setup_initial_poll(int fd) in setup_initial_poll() 242 struct pollfd *p; in setup_initial_poll() [all …]
|
D | irq.c | 19 static struct pollfd *pollfds = NULL; 71 pollfds[pollfds_num] = ((struct pollfd) { .fd = fd, in os_create_pollfd()
|
/linux-4.1.27/arch/tile/gxio/ |
D | iorpc_globals.c | 19 union iorpc_pollfd pollfd; member 27 params->pollfd.kernel.cookie = pollfd_cookie; in __iorpc_arm_pollfd() 36 union iorpc_pollfd pollfd; member 44 params->pollfd.kernel.cookie = pollfd_cookie; in __iorpc_close_pollfd()
|
D | iorpc_mpipe.c | 522 union iorpc_pollfd pollfd; member 530 params->pollfd.kernel.cookie = pollfd_cookie; in gxio_mpipe_arm_pollfd() 539 union iorpc_pollfd pollfd; member 547 params->pollfd.kernel.cookie = pollfd_cookie; in gxio_mpipe_close_pollfd()
|
/linux-4.1.27/fs/ |
D | select.c | 738 struct pollfd entries[0]; 741 #define POLLFD_PER_PAGE ((PAGE_SIZE-sizeof(struct poll_list)) / sizeof(struct pollfd)) 750 static inline unsigned int do_pollfd(struct pollfd *pollfd, poll_table *pwait, in do_pollfd() argument 758 fd = pollfd->fd; in do_pollfd() 765 pwait->_key = pollfd->events|POLLERR|POLLHUP; in do_pollfd() 772 mask &= pollfd->events | POLLERR | POLLHUP; in do_pollfd() 776 pollfd->revents = mask; in do_pollfd() 805 struct pollfd * pfd, * pfd_end; in do_poll() 868 sizeof(struct pollfd)) 870 int do_sys_poll(struct pollfd __user *ufds, unsigned int nfds, in do_sys_poll() [all …]
|
D | compat.c | 1418 COMPAT_SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, in COMPAT_SYSCALL_DEFINE5()
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | syscall.h | 20 struct pollfd; 24 asmlinkage long sys_ppoll(struct pollfd __user *ufds, unsigned int nfds,
|
/linux-4.1.27/tools/lib/api/fd/ |
D | array.h | 6 struct pollfd; 22 struct pollfd *entries;
|
D | array.c | 26 size_t size = sizeof(struct pollfd) * nr_alloc; in fdarray__grow() 27 struct pollfd *entries = realloc(fda->entries, size); in fdarray__grow()
|
/linux-4.1.27/Documentation/networking/timestamping/ |
D | txtimestamp.c | 169 struct pollfd pollfd; in __poll() local 172 memset(&pollfd, 0, sizeof(pollfd)); in __poll() 173 pollfd.fd = fd; in __poll() 174 ret = poll(&pollfd, 1, 100); in __poll()
|
/linux-4.1.27/tools/perf/bench/ |
D | sched-messaging.c | 71 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready() local 78 if (poll(&pollfd, 1, -1) != 1) in ready()
|
/linux-4.1.27/include/uapi/asm-generic/ |
D | poll.h | 35 struct pollfd { struct
|
/linux-4.1.27/tools/perf/util/ |
D | evlist.c | 44 fdarray__init(&evlist->pollfd, 64); in perf_evlist__init() 110 fdarray__exit(&evlist->pollfd); in perf_evlist__exit() 424 if (fdarray__available_entries(&evlist->pollfd) < nfds && in perf_evlist__alloc_pollfd() 425 fdarray__grow(&evlist->pollfd, nfds) < 0) in perf_evlist__alloc_pollfd() 433 int pos = fdarray__add(&evlist->pollfd, fd, POLLIN | POLLERR | POLLHUP); in __perf_evlist__add_pollfd() 439 evlist->pollfd.priv[pos].idx = idx; in __perf_evlist__add_pollfd() 454 struct perf_evlist *evlist = container_of(fda, struct perf_evlist, pollfd); in perf_evlist__munmap_filtered() 461 return fdarray__filter(&evlist->pollfd, revents_and_mask, in perf_evlist__filter_pollfd() 467 return fdarray__poll(&evlist->pollfd, timeout); in perf_evlist__poll() 1008 if (evlist->pollfd.entries == NULL && perf_evlist__alloc_pollfd(evlist) < 0) in perf_evlist__mmap()
|
D | evlist.h | 13 struct pollfd; 49 struct fdarray pollfd; member
|
D | python.c | 756 for (i = 0; i < evlist->pollfd.nr; ++i) { in pyrf_evlist__get_pollfd() 758 FILE *fp = fdopen(evlist->pollfd.entries[i].fd, "r"); in pyrf_evlist__get_pollfd()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
D | mpssd.c | 472 struct pollfd pollfd; in wait_for_card_driver() local 476 pollfd.fd = fd; in wait_for_card_driver() 480 pollfd.events = POLLIN; in wait_for_card_driver() 481 pollfd.revents = 0; in wait_for_card_driver() 482 err = poll(&pollfd, 1, -1); in wait_for_card_driver() 489 if (pollfd.revents) { in wait_for_card_driver() 494 mic->name, __func__, pollfd.revents); in wait_for_card_driver() 534 struct pollfd net_poll[MAX_NET_FD]; in virtio_net() 730 struct pollfd console_poll[MAX_CONSOLE_FD]; in virtio_console() 1139 struct pollfd block_poll; in virtio_block() [all …]
|
/linux-4.1.27/tools/virtio/virtio-trace/ |
D | trace-agent-ctl.c | 52 struct pollfd poll_fd; in wait_order()
|
/linux-4.1.27/include/linux/ |
D | thread_info.h | 42 struct pollfd __user *ufds;
|
D | poll.h | 157 extern int do_sys_poll(struct pollfd __user * ufds, unsigned int nfds,
|
D | syscalls.h | 36 struct pollfd; 622 asmlinkage long sys_poll(struct pollfd __user *ufds, unsigned int nfds, 818 asmlinkage long sys_ppoll(struct pollfd __user *, unsigned int,
|
D | compat.h | 545 asmlinkage long compat_sys_ppoll(struct pollfd __user *ufds,
|
/linux-4.1.27/tools/testing/selftests/net/ |
D | psock_tpacket.c | 234 struct pollfd pfd; in walk_v1_v2_rx() 353 struct pollfd pfd; in walk_v1_v2_tx() 542 struct pollfd pfd; in walk_v3_rx()
|
/linux-4.1.27/Documentation/connector/ |
D | ucon.c | 121 struct pollfd pfd; in main()
|
/linux-4.1.27/tools/usb/usbip/src/ |
D | usbipd.c | 490 struct pollfd *fds; in do_standalone_mode() 542 fds = calloc(nsockfd, sizeof(struct pollfd)); in do_standalone_mode()
|
/linux-4.1.27/Documentation/timers/ |
D | hpet_example.c | 134 struct pollfd pfd; in hpet_poll()
|
/linux-4.1.27/tools/iio/ |
D | generic_buffer.c | 307 struct pollfd pfd = { in main()
|
/linux-4.1.27/tools/usb/ffs-aio-example/simple/device_app/ |
D | aio_simple.c | 169 struct pollfd pfds[1]; in handle_ep0()
|
/linux-4.1.27/samples/uhid/ |
D | uhid-example.c | 390 struct pollfd pfds[2]; in main()
|
/linux-4.1.27/tools/hv/ |
D | hv_vss_daemon.c | 186 struct pollfd pfd; in main()
|
D | hv_kvp_daemon.c | 1431 struct pollfd pfd; in main()
|
/linux-4.1.27/tools/virtio/ |
D | virtio_test.c | 37 struct pollfd fds[1];
|
/linux-4.1.27/arch/um/kernel/ |
D | irq.c | 62 struct pollfd *tmp_pfd; in activate_fd()
|
/linux-4.1.27/Documentation/usb/ |
D | gadget_printer.txt | 195 struct pollfd fd[1]; 245 struct pollfd fd[1];
|
/linux-4.1.27/tools/perf/ |
D | builtin-top.c | 433 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; in perf_top__handle_keypress() 605 struct pollfd stdin_poll = { .fd = 0, .events = POLLIN }; in display_thread()
|
D | builtin-kvm.c | 944 struct fdarray *fda = &kvm->evlist->pollfd; in kvm_events_live_report()
|
/linux-4.1.27/arch/s390/kernel/ |
D | compat_wrapper.c | 128 COMPAT_SYSCALL_WRAP3(poll, struct pollfd __user *, ufds, unsigned int, nfds, int, timeout);
|
/linux-4.1.27/Documentation/networking/ |
D | timestamping.txt | 326 POLLERR in pollfd.revents if any data is ready on the error queue. 327 There is no need to pass this flag in pollfd.events. This flag is
|
D | packet_mmap.txt | 490 struct pollfd pfd; 526 struct pollfd pfd; 936 struct pollfd pfd;
|
D | netlink_mmap.txt | 248 struct pollfd pfds[1];
|
/linux-4.1.27/tools/firewire/ |
D | nosy-dump.c | 917 struct pollfd pollfds[2]; in main()
|