Lines Matching refs:destfd
736 int destfd; in do_accept() local
750 destfd = t_open(tpname, O_RDWR, &tinfo); in do_accept()
752 if (destfd == -1 && t_errno == TSYSERR && errno == EMFILE) { in do_accept()
762 destfd = t_open(tpname, O_RDWR, &tinfo); in do_accept()
775 if (destfd == -1) { in do_accept()
785 if (RPC_FD_NOTIN_FDSET(destfd)) { in do_accept()
787 (void) t_close(destfd); in do_accept()
792 (void) fcntl(destfd, F_SETFD, FD_CLOEXEC); in do_accept()
797 (void) t_close(destfd); in do_accept()
804 if (t_bind(destfd, NULL, r->t_bind) == -1) { in do_accept()
810 (void) t_close(destfd); in do_accept()
817 (void) __td_setnodelay(destfd); in do_accept()
833 while (t_accept(srcfd, destfd, &t_call) == -1) { in do_accept()
856 (void) t_close(destfd); in do_accept()
873 (void) t_close(destfd); in do_accept()
917 (void) t_close(destfd); in do_accept()
927 (void) t_close(destfd); in do_accept()
940 (void) t_close(destfd); in do_accept()
972 (void) t_optmgmt(destfd, &optreq, &optret); in do_accept()
982 xprt = makefd_xprt(destfd, r->sendsize, r->recvsize, r->cf_tsdu, in do_accept()
1007 if (t_getname(destfd, &xprt->xp_ltaddr, LOCALNAME) < 0) { in do_accept()
1017 if (t_getname(destfd, &xprt->xp_ltaddr, LOCALNAME) < 0) { in do_accept()
1085 (void) t_close(destfd); in do_accept()