Lines Matching refs:resfd
51 int resfd,
68 if ((restiptr = _t_checkfd(resfd, 0, api_semantics)) == NULL)
92 * For fd == resfd, state should be T_INCON
93 * For fd != resfd,
95 * resfd state should be T_IDLE (bound endpoint) or
100 if ((fd == resfd && tiptr->ti_state != T_INCON) ||
101 (fd != resfd &&
113 * If fd != resfd, and a resfd bound to a protocol address is
118 if (fd != resfd && restiptr->ti_state == T_IDLE &&
126 if (fd == resfd && tiptr->ti_ocnt > 1) {
135 * when resfd is bound and fd and resfd are not BOUND to
145 * idea of accepting connections on a resfd that has a qlen > 0
149 if (fd != resfd) {
150 if ((retval = ioctl(resfd, I_NREAD, &size)) < 0) {
262 strfdinsert.fildes = resfd;
292 if (fd == resfd) {
299 * XXX Here we lock the resfd lock also. This
315 if (fd != resfd)
319 if (fd != resfd)
335 if (_t_do_postconn_sync(resfd, restiptr) < 0)