/freebsd-13-stable/usr.sbin/ppp/ |
H A D | prompt.c | 145 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 D | prompt.h | 44 int fd_in, fd_out; member in struct:prompt 53 unsigned readtilde : 1; /* We've read a ``~'' from fd_in */
|
/freebsd-13-stable/crypto/heimdal/lib/krb5/ |
H A D | store_fd.c | 89 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-13-stable/contrib/libucl/tests/ |
H A D | test_basic.c | 43 flags, fd_out, fd_in, use_fd = 0, msgpack_input = 0; local 102 fd_in = open (fname_in, O_RDONLY); 103 if (fd_in == -1) { 108 fd_in = STDIN_FILENO; 157 ucl_parser_add_fd (parser, fd_in); 158 close (fd_in);
|
/freebsd-13-stable/libexec/atrun/ |
H A D | atrun.c | 131 int fd_out, fd_in; local 206 if ((fd_in = dup(fileno(stream))) <0) 209 if (fstat(fd_in, &buf) == -1) 227 if ((fflags = fcntl(fd_in, F_GETFD)) <0) 230 fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC); 287 if (lseek(fd_in, (off_t) 0, SEEK_SET) < 0) 290 if (dup(fd_in) != STDIN_FILENO) 299 close(fd_in); 346 close(fd_in);
|
/freebsd-13-stable/crypto/openssh/ |
H A D | opacket.c | 214 packet_set_connection(int fd_in, int fd_out) argument 216 active_state = ssh_packet_set_connection(active_state, fd_in, fd_out);
|
H A D | sftp-client.c | 78 int fd_in; member in struct:sftp_conn 141 if (atomicio6(read, conn->fd_in, p, 4, 160 if (atomicio6(read, conn->fd_in, p, msg_len, 393 do_init(int fd_in, int fd_out, u_int transfer_buflen, u_int num_requests, argument 403 ret->fd_in = fd_in;
|
H A D | packet.c | 285 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) argument 302 state->connection_in = fd_in;
|
/freebsd-13-stable/tests/sys/fs/fusefs/ |
H A D | default_permissions.cc | 516 int fd_in, fd_out; local 528 fd_in = open(FULLPATH_IN, O_RDONLY); 529 ASSERT_LE(0, fd_in) << strerror(errno); 533 copy_file_range(fd_in, &off_in, fd_out, &off_out, len, 0)) 537 ASSERT_EQ(0, fstat(fd_in, &sb)) << strerror(errno); 540 leak(fd_in); 560 int fd_in, fd_out; local 572 fd_in = open(FULLPATH_IN, O_RDONLY); 573 ASSERT_LE(0, fd_in) << strerror(errno); 577 copy_file_range(fd_in, [all...] |
/freebsd-13-stable/sys/kern/ |
H A D | sys_generic.c | 1028 select_check_badfd(fd_set *fd_in, int nd, int ndu, int abi_nfdbits) argument 1034 if (nd >= ndu || fd_in == NULL) 1042 addr = (char *)fd_in + b; 1044 addr = (char *)fd_in; 1067 kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou, argument 1092 error = select_check_badfd(fd_in, nd, ndu, abi_nfdbits); 1110 if (fd_in != NULL) 1144 getbits(fd_in, 0); 1231 putbits(fd_in, 0);
|
/freebsd-13-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | linux_syscall_hooks.h | 1667 #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), \ 2961 void __sanitizer_syscall_pre_impl_splice(long fd_in, long off_in, long fd_out, 2963 void __sanitizer_syscall_post_impl_splice(long res, long fd_in, long off_in,
|
/freebsd-13-stable/sys/sys/ |
H A D | syscallsubr.h | 270 int kern_select(struct thread *td, int nd, fd_set *fd_in, fd_set *fd_ou,
|
/freebsd-13-stable/sys/arm64/linux/ |
H A D | linux_systrace_args.c | 603 iarg[0] = p->fd_in; /* int */ 2158 iarg[0] = p->fd_in; /* l_int */
|
H A D | linux_proto.h | 325 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member in struct:linux_splice_args 1082 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-13-stable/sys/i386/linux/ |
H A D | linux_proto.h | 1082 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member in struct:linux_splice_args 1410 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
|
H A D | linux_systrace_args.c | 2262 iarg[0] = p->fd_in; /* int */ 2824 iarg[0] = p->fd_in; /* l_int */
|
/freebsd-13-stable/sys/amd64/linux32/ |
H A D | linux32_systrace_args.c | 2219 iarg[0] = p->fd_in; /* int */ 2785 iarg[0] = p->fd_in; /* l_int */
|
H A D | linux32_proto.h | 1085 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member in struct:linux_splice_args 1417 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-13-stable/sys/amd64/linux/ |
H A D | linux_proto.h | 1013 char fd_in_l_[PADL_(int)]; int fd_in; char fd_in_r_[PADR_(int)]; member in struct:linux_splice_args 1270 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
|
H A D | linux_systrace_args.c | 2096 iarg[0] = p->fd_in; /* int */ 2539 iarg[0] = p->fd_in; /* l_int */
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_file.c | 1959 error = kern_copy_file_range(td, args->fd_in, inoffp, args->fd_out,
|