/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/include/ |
H A D | nonposix.h | 59 # define pipe(pfd) _pipe((pfd),0,_O_BINARY|_O_NOINHERIT)
|
/netbsd-6-1-5-RELEASE/usr.bin/rfcomm_sppd/ |
H A D | rfcomm_sppd.c | 122 struct pollfd pfd[2]; local 265 pfd[0].fd = tty_in; 266 pfd[1].fd = rfcomm; 267 pfd[0].events = POLLIN|POLLRDNORM; 268 pfd[1].events = POLLIN|POLLRDNORM; 271 if (poll(pfd, 2, INFTIM) == -1) { 277 if (pfd[0].revents & (POLLIN|POLLRDNORM)) 280 if (pfd[1].revents & (POLLIN|POLLRDNORM))
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-run/ |
H A D | io_test.cpp | 194 int pfd[2]; local 196 ATF_REQUIRE(::pipe(pfd) != -1); 197 file_handle rend(pfd[0]); 198 file_handle wend(pfd[1]);
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-run/ |
H A D | io_test.cpp | 194 int pfd[2]; local 196 ATF_REQUIRE(::pipe(pfd) != -1); 197 file_handle rend(pfd[0]); 198 file_handle wend(pfd[1]);
|
/netbsd-6-1-5-RELEASE/sys/rump/net/lib/libvirtif/ |
H A D | if_virt.c | 255 struct pollfd pfd; local 259 pfd.fd = sc->sc_tapfd; 260 pfd.events = POLLIN; 268 rv = rumpuser_poll(&pfd, 1, POLLTIMO_MS, &error);
|
/netbsd-6-1-5-RELEASE/sbin/mount/ |
H A D | mount.c | 369 int pfd[2]; local 472 if (pipe(pfd) == -1) 489 (void)close(pfd[0]); 491 if (dup2(pfd[1], STDOUT_FILENO) == -1) 526 (void)close(pfd[1]); 528 while ((nread = read(pfd[0], ptr, buflen)) > 0) { 534 while (read(pfd[0], &nread, sizeof(nread)) > 0)
|
/netbsd-6-1-5-RELEASE/lib/libc/rpc/ |
H A D | clnt_bcast.c | 286 struct pollfd pfd[MAXBCAST]; local 349 pfd[fdlistno].events = POLLIN | POLLPRI | 351 pfd[fdlistno].fd = fdlist[fdlistno].fd = fd; 527 switch (pollretval = pollts(pfd, fdlistno, &ts, NULL)) { 539 if (pfd[i].revents == 0) 541 else if (pfd[i].revents & POLLNVAL) { 546 * rather than compacting the pfd[] and fdlist[] 549 pfd[i].fd = -1;
|
/netbsd-6-1-5-RELEASE/tests/fs/common/nfsrpc/ |
H A D | clnt_bcast.c | 288 struct pollfd pfd[MAXBCAST]; local 351 pfd[fdlistno].events = POLLIN | POLLPRI | 353 pfd[fdlistno].fd = fdlist[fdlistno].fd = fd; 527 switch (pollretval = rump_sys_pollts(pfd, fdlistno, &ts, NULL)) { 539 if (pfd[i].revents == 0) 541 else if (pfd[i].revents & POLLNVAL) { 546 * rather than compacting the pfd[] and fdlist[] 549 pfd[i].fd = -1;
|
/netbsd-6-1-5-RELEASE/lib/libpam/modules/pam_unix/ |
H A D | pam_unix.c | 360 int tfd, pfd; local 374 pfd = open(_PATH_MASTERPASSWD, O_RDONLY, 0); 375 if (pfd < 0) { 381 if (pw_copyx(pfd, tfd, pwd, opwd, errbuf, sizeof(errbuf)) == 0) {
|
/netbsd-6-1-5-RELEASE/usr.bin/ftp/ |
H A D | ftp.c | 515 struct pollfd pfd[2]; local 519 pfd[nfd].fd = fileno(ecin); 520 pfd[nfd++].events = POLLIN; 524 pfd[nfd].fd = fileno(din); 525 pfd[nfd++].events = POLLIN; 528 if ((nr = ftp_poll(pfd, nfd, sec * 1000)) <= 0) 534 nr |= (pfd[nfd++].revents & POLLIN) ? 1 : 0; 536 nr |= (pfd[nfd++].revents & POLLIN) ? 2 : 0; 1658 struct pollfd pfd[1]; local 1674 pfd[ [all...] |
H A D | util.c | 1359 struct pollfd pfd[1]; local 1409 pfd[0].fd = sock; 1410 pfd[0].events = POLLIN|POLLOUT; 1436 pfd[0].revents = 0; 1437 rv = ftp_poll(pfd, 1, timeout); 1448 } else if (pfd[0].revents & (POLLIN|POLLOUT)) {
|
/netbsd-6-1-5-RELEASE/lib/librumpuser/ |
H A D | sp_common.c | 264 struct pollfd pfd; local 268 pfd.fd = fd; 269 pfd.events = POLLOUT; 276 if (host_poll(&pfd, 1, INFTIM) == -1) {
|
/netbsd-6-1-5-RELEASE/usr.sbin/rwhod/ |
H A D | rwhod.c | 130 struct pollfd pfd[1]; local 226 pfd[0].fd = s; 227 pfd[0].events = POLLIN; 232 n = poll(pfd, 1, 1000);
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | sys_select.c | 663 struct pollfd *pfd = (void *)sip->sel_fdinfo; local 664 int revents = events & (pfd->events | POLLERR | POLLHUP); 667 if (pfd->revents == 0) 669 pfd->revents |= revents;
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/servers/slapd/ |
H A D | daemon.c | 331 # define SLAP_DEVPOLL_WRITE_POLLFD(s, pfd, n, what, shdn) do { \ 335 rc = write( slap_daemon.sd_dpfd, (pfd), size ); \ 351 struct pollfd pfd; \ 353 pfd.fd = SLAP_DEVPOLL_SOCK_FD((s)); \ 354 pfd.events = /* (mode) */ SLAP_DEVPOLL_SOCK_EV((s)); \ 355 SLAP_DEVPOLL_WRITE_POLLFD((s), &pfd, 1, "SET", 0); \ 364 struct pollfd pfd[2]; \ 366 pfd[0].fd = SLAP_DEVPOLL_SOCK_FD((s)); \ 367 pfd[0].events = POLLREMOVE; \ 368 pfd[ [all...] |
/netbsd-6-1-5-RELEASE/dist/dhcp/common/ |
H A D | dlpi.c | 1208 struct pollfd pfd; local 1216 pfd.fd = fd; 1217 pfd.events = POLLPRI; /* We're only interested in knowing 1221 pfd.revents = 0; 1226 count = poll (&pfd, 1, to_msec);
|
/netbsd-6-1-5-RELEASE/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 870 struct pollfd pfd[1]; local 873 pfd[0].fd = sock; 874 pfd[0].events = POLLIN; 875 pfd[0].revents = 0; 877 if (poll(pfd, 1, waittime * 1000) > 0)
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/openssh/dist/ |
H A D | monitor.c | 532 struct pollfd pfd[2]; local 535 bzero(&pfd, sizeof(pfd)); 536 pfd[0].fd = pmonitor->m_sendfd; 537 pfd[0].events = POLLIN; 538 pfd[1].fd = pmonitor->m_log_recvfd; 539 pfd[1].events = pfd[1].fd == -1 ? 0 : POLLIN; 540 if (poll(pfd, pfd[ [all...] |
H A D | mux.c | 1273 struct pollfd pfd; local 1275 pfd.fd = fd; 1276 pfd.events = POLLIN; 1287 (void)poll(&pfd, 1, -1); 1311 struct pollfd pfd; local 1313 pfd.fd = fd; 1314 pfd.events = POLLOUT; 1331 (void)poll(&pfd, 1, -1);
|
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/ |
H A D | filename.c | 822 open_altfile(filename, pf, pfd) 825 void **pfd; 900 *pfd = (void *) fd;
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/lib/libdtrace/common/ |
H A D | dt_proc.c | 501 int pfd = Pctlfd(P); local 518 if (write(pfd, &wstop, sizeof (wstop)) == -1 && errno == EINTR) 573 int pfd = Pctlfd(P); local 670 if (write(pfd, &wstop, sizeof (wstop)) == -1 && errno == EINTR)
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | getifaddrs.c | 405 struct pollfd pfd; local 407 pfd.fd = sd; 408 pfd.events = POLLIN | POLLPRI; 409 pfd.revents = 0; 410 status = poll(&pfd, 1, 1000);
|
/netbsd-6-1-5-RELEASE/lib/librumpclient/ |
H A D | rumpclient.c | 625 struct pollfd pfd; local 669 pfd.fd = s; 670 pfd.events = POLLIN;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/cp/ |
H A D | pt.c | 6802 struct pair_fn_data *pfd = (struct pair_fn_data *) d; 6803 tree_fn_t fn = pfd->fn; 6804 void *data = pfd->data; 6807 && (pfd->include_nondeduced_p || TREE_CODE (t) != TYPENAME_TYPE) 6808 && for_each_template_parm (TYPE_CONTEXT (t), fn, data, pfd->visited, 6809 pfd->include_nondeduced_p)) 6824 fn, data, pfd->visited, 6825 pfd->include_nondeduced_p)) 6831 fn, data, pfd->visited, 6832 pfd 6801 struct pair_fn_data *pfd = (struct pair_fn_data *) d; local 6993 struct pair_fn_data pfd; local [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/cp/ |
H A D | pt.c | 4847 struct pair_fn_data *pfd = (struct pair_fn_data *) d; 4848 tree_fn_t fn = pfd->fn; 4849 void *data = pfd->data; 4852 && for_each_template_parm (TYPE_CONTEXT (t), fn, data, pfd->visited)) 4867 fn, data, pfd->visited)) 4875 pfd->visited)) 4881 if (for_each_template_parm (TREE_TYPE (t), fn, data, pfd->visited)) 4895 pfd->visited)) 4906 pfd->visited)) 4914 pfd 4846 struct pair_fn_data *pfd = (struct pair_fn_data *) d; local 5022 struct pair_fn_data pfd; local [all...] |