Searched refs:fd (Results 1 – 12 of 12) sorted by relevance
/sunrpc/ |
A D | tst-udp-error.c | 40 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 D | rtime.c | 74 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 D | svc_run.c | 82 my_pollfd[i].fd = svc_pollfd[i].fd; in libc_hidden_nolink_sunrpc()
|
A D | openchild.c | 46 #define __fdopen(fd,m) _IO_fdopen (fd,m) argument
|
A D | svc.c | 107 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 D | svc_tcp.c | 216 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 D | pmap_rmt.c | 225 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 D | svc_unix.c | 212 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 D | clnt_tcp.c | 470 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 D | key_call.c | 401 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 D | clnt_udp.c | 285 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 D | clnt_unix.c | 538 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