Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 12 of 12) sorted by relevance

/sunrpc/
A Dtst-udp-error.c40 int fd = xsocket (AF_INET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in do_test() local
41 xbind (fd, (struct sockaddr *) &sin, sizeof (sin)); in do_test()
43 xgetsockname (fd, (struct sockaddr *) &sin, &sinlen); in do_test()
45 close (fd); in do_test()
A Drtime.c74 struct pollfd fd; in rtime() local
104 fd.fd = s; in rtime()
105 fd.events = POLLIN; in rtime()
107 res = __poll (&fd, 1, milliseconds); in rtime()
A Dsvc_run.c82 my_pollfd[i].fd = svc_pollfd[i].fd; in libc_hidden_nolink_sunrpc()
A Dopenchild.c46 #define __fdopen(fd,m) _IO_fdopen (fd,m) argument
A Dsvc.c107 if (svc_pollfd[i].fd == -1) in xprt_register()
109 svc_pollfd[i].fd = sock; in xprt_register()
123 svc_pollfd[svc_max_pollfd - 1].fd = sock; in xprt_register()
145 if (svc_pollfd[i].fd == sock) in libc_hidden_nolink_sunrpc()
146 svc_pollfd[i].fd = -1; in libc_hidden_nolink_sunrpc()
436 if (p->fd != -1 && p->revents) in libc_hidden_nolink_sunrpc()
440 xprt_unregister (xports[p->fd]); in libc_hidden_nolink_sunrpc()
442 svc_getreq_common (p->fd); in libc_hidden_nolink_sunrpc()
457 svc_getreq_common (const int fd) in libc_hidden_def()
466 xprt = xports[fd]; in libc_hidden_def()
A Dsvc_tcp.c216 svcfd_create (int fd, u_int sendsize, u_int recvsize) in libc_hidden_def()
218 return makefd_xprt (fd, sendsize, recvsize); in libc_hidden_def()
223 makefd_xprt (int fd, u_int sendsize, u_int recvsize) in libc_hidden_nolink_sunrpc()
247 xprt->xp_sock = fd; in libc_hidden_nolink_sunrpc()
330 pollfd.fd = sock; in readtcp()
A Dpmap_rmt.c225 struct pollfd fd; in clnt_broadcast() local
256 fd.fd = sock; in clnt_broadcast()
257 fd.events = POLLIN; in clnt_broadcast()
318 switch (__poll(&fd, 1, milliseconds)) in clnt_broadcast()
A Dsvc_unix.c212 svcunixfd_create (int fd, u_int sendsize, u_int recvsize) in libc_hidden_nolink_sunrpc()
214 return makefd_xprt (fd, sendsize, recvsize); in libc_hidden_nolink_sunrpc()
219 makefd_xprt (int fd, u_int sendsize, u_int recvsize) in libc_hidden_nolink_sunrpc()
243 xprt->xp_sock = fd; in libc_hidden_nolink_sunrpc()
432 pollfd.fd = sock; in readunix()
A Dclnt_tcp.c470 struct pollfd fd; in readtcp() local
477 fd.fd = ct->ct_sock; in readtcp()
478 fd.events = POLLIN; in readtcp()
481 switch (__poll(&fd, 1, milliseconds)) in readtcp()
A Dkey_call.c401 int fd; in __libc_lock_define_initialized() local
429 clnt_control (kcp->client, CLGET_FD, (char *)&fd); in __libc_lock_define_initialized()
430 if (__getpeername (fd,(struct sockaddr *)&name,&namelen) == -1) in __libc_lock_define_initialized()
480 if (clnt_control (kcp->client, CLGET_FD, (char *)&fd)) in __libc_lock_define_initialized()
481 __fcntl (fd, F_SETFD, FD_CLOEXEC); /* make it "close on exec" */ in __libc_lock_define_initialized()
A Dclnt_udp.c285 struct pollfd fd; in clntudp_call() local
361 fd.fd = cu->cu_sock; in clntudp_call()
362 fd.events = POLLIN; in clntudp_call()
393 switch (__poll (&fd, 1, milliseconds)) in clntudp_call()
411 if (fd.revents & POLLERR) in clntudp_call()
A Dclnt_unix.c538 struct pollfd fd; in readunix() local
545 fd.fd = ct->ct_sock; in readunix()
546 fd.events = POLLIN; in readunix()
549 switch (__poll (&fd, 1, milliseconds)) in readunix()

Completed in 24 milliseconds