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

/freebsd-11-stable/usr.sbin/nandtool/
H A Dnand_writeoob.c46 int fd = -1, fd_in = -1, ret = 0; local
70 if ((fd_in = open(in, O_RDONLY)) == -1) {
89 if (read(fd_in, buf, chip_params.oob_size) == -1) {
107 if (fd_in != -1)
108 close(fd_in);
/freebsd-11-stable/usr.sbin/ppp/
H A Dprompt.c145 if (p->fd_in >= 0) {
147 FD_SET(p->fd_in, r);
148 log_Printf(LogTIMER, "prompt %s: fdset(r) %d\n", p->src.from, p->fd_in);
152 FD_SET(p->fd_in, e);
153 log_Printf(LogTIMER, "prompt %s: fdset(e) %d\n", p->src.from, p->fd_in);
156 if (sets && *n < p->fd_in + 1)
157 *n = p->fd_in + 1;
169 return p->fd_in >= 0 && FD_ISSET(p->fd_in, fdset);
195 n = read(p->fd_in, linebuf
[all...]
H A Dprompt.h44 int fd_in, fd_out; member in struct:prompt
53 unsigned readtilde : 1; /* We've read a ``~'' from fd_in */
/freebsd-11-stable/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-11-stable/contrib/libucl/tests/
H A Dtest_basic.c43 flags, fd_out, fd_in, use_fd = 0; local
99 fd_in = open (fname_in, O_RDONLY);
100 if (fd_in == -1) {
105 fd_in = STDIN_FILENO;
152 ucl_parser_add_fd (parser, fd_in);
153 close (fd_in);
/freebsd-11-stable/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-11-stable/crypto/openssh/
H A Dopacket.c231 packet_set_connection(int fd_in, int fd_out) argument
233 active_state = ssh_packet_set_connection(active_state, fd_in, fd_out);
H A Dsftp-client.c78 int fd_in; member in struct:sftp_conn
141 if (atomicio6(read, conn->fd_in, p, 4,
156 if (atomicio6(read, conn->fd_in, p, msg_len,
383 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, argument
393 ret->fd_in = fd_in;
H A Dpacket.c292 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) argument
309 state->connection_in = fd_in;
/freebsd-11-stable/sys/kern/
H A Dsys_generic.c960 select_check_badfd(fd_set *fd_in, int nd, int ndu, int abi_nfdbits) argument
966 if (nd >= ndu || fd_in == NULL)
974 addr = (char *)fd_in + b;
976 addr = (char *)fd_in;
999 kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou, argument
1024 error = select_check_badfd(fd_in, nd, ndu, abi_nfdbits);
1042 if (fd_in != NULL)
1075 getbits(fd_in, 0);
1162 putbits(fd_in, 0);
/freebsd-11-stable/sys/sys/
H A Dsyscallsubr.h233 int kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou,
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1667 #define __sanitizer_syscall_pre_splice(fd_in, off_in, fd_out, off_out, len, \
1669 __sanitizer_syscall_pre_impl_splice((long)(fd_in), (long)(off_in), \
1672 #define __sanitizer_syscall_post_splice(res, fd_in, off_in, fd_out, off_out, \
1674 __sanitizer_syscall_post_impl_splice(res, (long)(fd_in), (long)(off_in), \
2959 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out,
2961 void __sanitizer_syscall_post_impl_splice(long res, long fd_in, long off_in,
/freebsd-11-stable/sys/amd64/linux/
H A Dlinux_systrace_args.c2392 iarg[0] = p->fd_in; /* l_int */
H A Dlinux_proto.h1179 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member in struct:linux_copy_file_range_args
/freebsd-11-stable/sys/amd64/linux32/
H A Dlinux32_systrace_args.c2653 iarg[0] = p->fd_in; /* l_int */
H A Dlinux32_proto.h1331 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member in struct:linux_copy_file_range_args
/freebsd-11-stable/sys/i386/linux/
H A Dlinux_systrace_args.c2729 iarg[0] = p->fd_in; /* l_int */
H A Dlinux_proto.h1349 char fd_in_l_[PADL_(l_int)]; l_int fd_in; char fd_in_r_[PADR_(l_int)]; member in struct:linux_copy_file_range_args

Completed in 885 milliseconds