Lines Matching refs:ct_fd
103 int ct_fd; /* connection's fd */ member
253 ct->ct_fd = fd; in clnt_vc_create()
332 elem = vc_fd_find(ct->ct_fd); in clnt_vc_call()
481 elem = vc_fd_find(ct->ct_fd); in clnt_vc_freeres()
527 elem = vc_fd_find(ct->ct_fd); in clnt_vc_control()
565 *(int *)info = ct->ct_fd; in clnt_vc_control()
629 int ct_fd = ct->ct_fd; in clnt_vc_destroy() local
640 elem = vc_fd_find(ct_fd); in clnt_vc_destroy()
642 if (ct->ct_closeit && ct->ct_fd != -1) { in clnt_vc_destroy()
643 (void)_close(ct->ct_fd); in clnt_vc_destroy()
674 fd.fd = ct->ct_fd; in read_vc()
693 if ((_getpeername(ct->ct_fd, &sa, &sal) == 0) && in read_vc()
695 len = __msgread(ct->ct_fd, buf, (size_t)len); in read_vc()
697 len = _read(ct->ct_fd, buf, (size_t)len); in read_vc()
725 if ((_getpeername(ct->ct_fd, &sa, &sal) == 0) && in write_vc()
728 if ((i = __msgwrite(ct->ct_fd, buf, in write_vc()
737 if ((i = _write(ct->ct_fd, buf, (size_t)cnt)) == -1) { in write_vc()