Lines Matching defs:fd
50 int fd,
66 if ((tiptr = _t_checkfd(fd, 0, api_semantics)) == NULL)
92 * For fd == resfd, state should be T_INCON
93 * For fd != resfd,
94 * fd state should be T_INCON
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
149 if (fd != resfd) {
184 if (_t_is_event(fd, tiptr) < 0)
244 if (putmsg(fd, &ctlbuf,
266 if (ioctl(fd, I_FDINSERT, &strfdinsert) < 0) {
275 if (_t_is_ok(fd, tiptr, conn_res_prim) < 0) {
292 if (fd == resfd) {
315 if (fd != resfd)
319 if (fd != resfd)