/external/selinux/policycoreutils/mcstrans/src/ |
D | mcstransd.c | 285 add_pollfd(struct pollfd **ufds, int *nfds, int connfd) in add_pollfd() 296 struct pollfd *tmp = (struct pollfd *)realloc(*ufds, in add_pollfd() 297 (*nfds+1)*sizeof(struct pollfd)); in add_pollfd() 315 adj_pollfds(struct pollfd **ufds, int *nfds) in adj_pollfds() 331 process_events(struct pollfd **ufds, int *nfds) in process_events() 410 struct pollfd *ufds = (struct pollfd *)malloc(sizeof(struct pollfd)); in process_connections()
|
/external/wpa_supplicant_8/src/utils/ |
D | eloop.c | 78 struct pollfd *pollfds; 79 struct pollfd **pollfds_map; 192 struct pollfd **nmap; in eloop_sock_table_add_sock() 194 sizeof(struct pollfd *)); in eloop_sock_table_add_sock() 203 struct pollfd *n; in eloop_sock_table_add_sock() 206 sizeof(struct pollfd)); in eloop_sock_table_add_sock() 334 static struct pollfd * find_pollfd(struct pollfd **pollfds_map, int fd, int mx) in find_pollfd() 345 struct pollfd *pollfds, in eloop_sock_table_set_fds() 346 struct pollfd **pollfds_map, in eloop_sock_table_set_fds() 352 struct pollfd *pfd; in eloop_sock_table_set_fds() [all …]
|
/external/fio/os/windows/posix/include/sys/ |
D | poll.h | 6 struct pollfd struct 13 int poll(struct pollfd fds[], nfds_t nfds, int timeout); argument
|
/external/valgrind/memcheck/tests/ |
D | badpoll.c | 12 struct pollfd* ufds = malloc(2 * sizeof(struct pollfd) - 1); in main()
|
/external/openssh/openbsd-compat/ |
D | bsd-poll.h | 34 typedef struct pollfd { struct 59 int poll(struct pollfd *, nfds_t, int); argument
|
D | bsd-poll.c | 43 poll(struct pollfd *fds, nfds_t nfds, int timeout) in poll()
|
/external/linux-tools-perf/src/tools/perf/util/ |
D | evlist.h | 12 struct pollfd; 44 struct pollfd *pollfd; member
|
D | evlist.c | 92 free(evlist->pollfd); in perf_evlist__exit() 94 evlist->pollfd = NULL; in perf_evlist__exit() 329 evlist->pollfd = malloc(sizeof(struct pollfd) * nfds); in perf_evlist__alloc_pollfd() 330 return evlist->pollfd != NULL ? 0 : -ENOMEM; in perf_evlist__alloc_pollfd() 336 evlist->pollfd[evlist->nr_fds].fd = fd; in perf_evlist__add_pollfd() 337 evlist->pollfd[evlist->nr_fds].events = POLLIN; in perf_evlist__add_pollfd() 716 if (evlist->pollfd == NULL && perf_evlist__alloc_pollfd(evlist) < 0) in perf_evlist__mmap()
|
/external/libusb/libusb/ |
D | io.c | 1781 struct pollfd *fds; in handle_events() 1795 struct libusb_pollfd *pollfd = &ipollfd->pollfd; in handle_events() local 1796 int fd = pollfd->fd; in handle_events() 1799 fds[i].events = pollfd->events; in handle_events() 2191 ipollfd->pollfd.fd = fd; in usbi_add_pollfd() 2192 ipollfd->pollfd.events = events; in usbi_add_pollfd() 2211 if (ipollfd->pollfd.fd == fd) { in usbi_remove_pollfd()
|
D | libusbi.h | 316 struct libusb_pollfd pollfd; member 764 struct pollfd *fds, nfds_t nfds, int num_ready);
|
/external/linux-tools-perf/src/tools/perf/bench/ |
D | sched-messaging.c | 76 struct pollfd pollfd = { .fd = wakefd, .events = POLLIN }; in ready() local 83 if (poll(&pollfd, 1, -1) != 1) in ready()
|
/external/openssh/ |
D | atomicio.c | 58 struct pollfd pfd; in atomicio6() 108 struct pollfd pfd; in atomiciov6()
|
D | monitor_fdpass.c | 66 struct pollfd pfd; in mm_send_fd() 129 struct pollfd pfd; in mm_receive_fd()
|
/external/fio/engines/ |
D | binject.c | 25 struct pollfd *pfds; 51 static int pollin_events(struct pollfd *pfds, int fds) in pollin_events() 403 bd->pfds = malloc(sizeof(struct pollfd) * td->o.nr_files); in fio_binject_init() 404 memset(bd->pfds, 0, sizeof(struct pollfd) * td->o.nr_files); in fio_binject_init()
|
D | sg.c | 26 struct pollfd *pfds; 53 static int pollin_events(struct pollfd *pfds, int fds) in pollin_events() 333 sd->pfds = malloc(sizeof(struct pollfd) * td->o.nr_files); in fio_sgio_init() 334 memset(sd->pfds, 0, sizeof(struct pollfd) * td->o.nr_files); in fio_sgio_init()
|
/external/toybox/toys/other/ |
D | netcat.c | 86 struct pollfd pollfds[2]; in netcat_main() 88 memset(pollfds, 0, 2*sizeof(struct pollfd)); in netcat_main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | poll.h | 35 struct pollfd { struct
|
/external/blktrace/ |
D | blktrace.c | 166 struct pollfd *pfds; 231 struct pollfd *pfds; 458 static void clear_events(struct pollfd *pfd) in clear_events() 1598 struct pollfd *pfd; in open_ios() 1605 tp->pfds = calloc(ndevs, sizeof(struct pollfd)); in open_ios() 1606 memset(tp->pfds, 0, ndevs * sizeof(struct pollfd)); in open_ios() 1666 struct pollfd *pfd = tp->pfds; in handle_pfds_file() 1710 struct pollfd *pfd = tp->pfds; in handle_pfds_netclient() 1744 struct pollfd *pfd = tp->pfds; in handle_pfds_entries() 2183 ns->pfds = realloc(ns->pfds, (ns->connects+1) * sizeof(struct pollfd)); in ch_add_connection() [all …]
|
/external/netcat/ |
D | atomicio.c | 46 struct pollfd pfd; in atomicio()
|
/external/valgrind/auxprogs/ |
D | valgrind-listener.c | 106 struct pollfd *conn_pollfd; 336 { struct pollfd ufd; in main()
|
/external/valgrind/memcheck/tests/linux/ |
D | syscalls-2007.c | 41 struct pollfd pfd[2]; in main()
|
/external/tinycompress/ |
D | compress.c | 354 struct pollfd fds; in compress_write() 416 struct pollfd fds; in compress_read() 612 struct pollfd fds; in compress_wait()
|
/external/libusb/libusb/os/ |
D | darwin_usb.c | 1384 static int op_handle_events(struct libusb_context *ctx, struct pollfd *fds, nfds_t nfds, int num_re… in op_handle_events() 1393 struct pollfd *pollfd = &fds[i]; in op_handle_events() local 1397 usbi_info (ctx, "checking fd %i with revents = %x", fds[i], pollfd->revents); in op_handle_events() 1399 if (!pollfd->revents) in op_handle_events() 1405 if (hpriv->fds[0] == pollfd->fd) in op_handle_events() 1409 if (!(pollfd->revents & POLLERR)) { in op_handle_events()
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | task-exit.c | 106 poll(evlist->pollfd, evlist->nr_fds, -1); in test__task_exit()
|
D | open-syscall-tp-fields.c | 104 poll(evlist->pollfd, evlist->nr_fds, 10); in test__syscall_open_tp_fields()
|