Searched refs:fd_in (Results 1 - 10 of 10) sorted by relevance

/freebsd-10.0-release/usr.sbin/nandtool/
H A Dnand_writeoob.c44 int fd = -1, fd_in = -1, ret = 0; local
68 if ((fd_in = open(in, O_RDONLY)) == -1) {
87 if (read(fd_in, buf, chip_params.oob_size) == -1) {
105 if (fd_in != -1)
106 close(fd_in);
/freebsd-10.0-release/usr.sbin/ppp/
H A Dprompt.c143 if (p->fd_in >= 0) {
145 FD_SET(p->fd_in, r);
146 log_Printf(LogTIMER, "prompt %s: fdset(r) %d\n", p->src.from, p->fd_in);
150 FD_SET(p->fd_in, e);
151 log_Printf(LogTIMER, "prompt %s: fdset(e) %d\n", p->src.from, p->fd_in);
154 if (sets && *n < p->fd_in + 1)
155 *n = p->fd_in + 1;
167 return p->fd_in >= 0 && FD_ISSET(p->fd_in, fdset);
193 n = read(p->fd_in, linebuf
[all...]
H A Dprompt.h42 int fd_in, fd_out; member in struct:prompt
51 unsigned readtilde : 1; /* We've read a ``~'' from fd_in */
/freebsd-10.0-release/crypto/heimdal/lib/krb5/
H A Dstore_fd.c89 krb5_storage_from_fd(krb5_socket_t fd_in) argument
96 if (_get_osfhandle(fd_in) != -1) {
97 fd = dup(fd_in);
99 fd = _open_osfhandle(fd_in, 0);
105 fd = dup(fd_in);
/freebsd-10.0-release/libexec/atrun/
H A Datrun.c128 int fd_out, fd_in; local
203 if ((fd_in = dup(fileno(stream))) <0)
206 if (fstat(fd_in, &buf) == -1)
224 if ((fflags = fcntl(fd_in, F_GETFD)) <0)
227 fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC);
284 if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0)
287 if (dup(fd_in) != STDIN_FILENO)
296 close(fd_in);
343 close(fd_in);
/freebsd-10.0-release/sys/kern/
H A Dsys_generic.c915 select_check_badfd(fd_set *fd_in, int nd, int ndu, int abi_nfdbits) argument
921 if (nd >= ndu || fd_in == NULL)
929 addr = (char *)fd_in + b;
931 addr = (char *)fd_in;
954 kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou, argument
979 error = select_check_badfd(fd_in, nd, ndu, abi_nfdbits);
997 if (fd_in != NULL)
1030 getbits(fd_in, 0);
1117 putbits(fd_in, 0);
/freebsd-10.0-release/crypto/openssh/
H A Dsftp-client.c69 int fd_in; member in struct:sftp_conn
128 if (atomicio6(read, conn->fd_in, buffer_ptr(m), 4,
141 if (atomicio6(read, conn->fd_in, buffer_ptr(m), msg_len,
333 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, argument
341 ret->fd_in = fd_in;
H A Dpacket.c225 packet_set_connection(int fd_in, int fd_out) argument
233 active_state->connection_in = fd_in;
/freebsd-10.0-release/sys/pc98/cbus/
H A Dfdc.c315 static int fd_in(struct fdc_data *, int *);
453 if (fd_in(fdc, ptr) < 0)
544 if (fd_in(fdc, &cyl) < 0) {
564 * fd_in() gives ints.
568 ret = fd_in(fdc, &status);
608 if ((fd_in(fdc, &status) == 0) && (status & NE7_ST3_RD)) {
1240 fd_in(struct fdc_data *fdc, int *ptr) function
/freebsd-10.0-release/sys/sys/
H A Dsyscallsubr.h196 int kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou,

Completed in 110 milliseconds