HomeSort by: relevance | last modified time | path
    Searched refs:pfds (Results 1 - 18 of 18) sorted by relevancy

  /src/tests/lib/libc/sys/
t_pollts.c 59 struct pollfd pfds[2]; local in function:ATF_TC_BODY
65 pfds[0].fd = fds[0];
66 pfds[0].events = POLLIN;
67 pfds[1].fd = fds[1];
68 pfds[1].events = POLLOUT;
78 pfds[0].revents = -1;
79 pfds[1].revents = -1;
80 ATF_REQUIRE_EQ_MSG(ret = POLLTS(&pfds[0], 1, &timeout, NULL), 0,
82 ATF_REQUIRE_EQ_MSG(pfds[0].revents, 0, "got: %d", pfds[0].revents)
    [all...]
t_poll.c 166 struct pollfd pfds[2]; local in function:ATF_TC_BODY
172 pfds[0].fd = fds[0];
173 pfds[0].events = POLLIN;
174 pfds[1].fd = fds[1];
175 pfds[1].events = POLLOUT;
181 pfds[0].revents = -1;
182 pfds[1].revents = -1;
183 RL(ret = poll(&pfds[0], 1, 1));
185 ATF_REQUIRE_EQ_MSG(pfds[0].revents, 0, "got: %d", pfds[0].revents)
    [all...]
  /src/sys/compat/linux/common/
linux_pipe.c 66 syscallarg(int *) pfds;
73 if ((error = copyout(fd, SCARG(uap, pfds), sizeof(fd))) != 0)
85 syscallarg(int *) pfds;
97 if ((error = copyout(fd, SCARG(uap, pfds), sizeof(fd))) != 0)
  /src/sys/rump/net/lib/libsockin/
sockin.c 340 struct pollfd *pfds = NULL, *npfds; local in function:sockinworker
357 if (pfds)
358 kmem_free(pfds, cursock*sizeof(*pfds));
359 pfds = npfds;
365 pfds[i].fd = SO2S(su_iter->su_so);
366 pfds[i].events = POLLIN;
367 pfds[i].revents = 0;
376 error = rumpcomp_sockin_poll(pfds, cursock, POLLTIMEOUT, &rv);
378 if (pfds[i].revents & POLLIN)
    [all...]
  /src/lib/librumphijack/
hijack.c 2004 struct pollfd *pfds; local in function:REALPSELECT
2036 pfds = calloc(realnfds, sizeof(*pfds));
2037 if (!pfds)
2040 pfds = NULL;
2046 pfds[j].fd = i;
2047 pfds[j].events |= POLLIN;
2051 pfds[j].fd = i;
2052 pfds[j].events |= POLLOUT;
2056 pfds[j].fd = i
2162 struct pollfd *pfds; member in struct:pollarg
    [all...]
  /src/usr.sbin/rpcbind/
rpcb_svc_com.c 1210 check_rmtcalls(struct pollfd *pfds, int nfds)
1220 if ((xprt = find_rmtcallxprt_by_fd(pfds[j].fd)) != NULL) {
1221 if (pfds[j].revents) {
1227 __func__, pfds[j].fd, xprt->xp_netid);
1229 handle_reply(pfds[j].fd, xprt);
1230 pfds[j].revents = 0;
  /src/sys/compat/linux/arch/amd64/
linux_syscallargs.h 134 syscallarg(int *) pfds;
1197 syscallarg(int *) pfds;
linux_systrace_args.c 210 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
2013 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
  /src/sys/compat/linux/arch/arm/
linux_syscallargs.h 150 syscallarg(int *) pfds;
1270 syscallarg(int *) pfds;
linux_systrace_args.c 271 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
2111 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
  /src/sys/compat/linux/arch/i386/
linux_syscallargs.h 155 syscallarg(int *) pfds;
1317 syscallarg(int *) pfds;
linux_systrace_args.c 278 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
2174 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
  /src/sys/compat/linux/arch/m68k/
linux_syscallargs.h 153 syscallarg(int *) pfds;
1269 syscallarg(int *) pfds;
  /src/sys/compat/linux/arch/mips/
linux_syscallargs.h 145 syscallarg(int *) pfds;
1316 syscallarg(int *) pfds;
  /src/sys/compat/linux/arch/powerpc/
linux_syscallargs.h 145 syscallarg(int *) pfds;
1203 syscallarg(int *) pfds;
  /src/sys/compat/linux/arch/aarch64/
linux_syscallargs.h 306 syscallarg(int *) pfds;
linux_systrace_args.c 426 uarg[0] = (intptr_t) SCARG(p, pfds); /* int * */
  /src/sys/compat/linux/arch/alpha/
linux_syscallargs.h 1315 syscallarg(int *) pfds;

Completed in 139 milliseconds