Home
last modified time | relevance | path

Searched refs:fdin (Results 1 – 11 of 11) sorted by relevance

/freebsd/tools/test/stress2/testcases/mmap/
H A Dmmap.c101 int fdin, fdout; in test() local
109 if ((fdin = open(INPUTFILE, O_RDONLY)) < 0) in test()
115 if (fstat(fdin, &statbuf) < 0) in test()
125 if ((src = mmap(0, statbuf.st_size, PROT_READ, MAP_SHARED, fdin, 0)) == in test()
137 close(fdin); in test()
/freebsd/tools/test/stress2/misc/
H A Dnfs12.sh96 int fdin, fdout;
104 if ((fdin = open(INPUTFILE, O_RDONLY)) < 0)
110 if (fstat(fdin, &statbuf) < 0)
120 if ((src = mmap(0, statbuf.st_size, PROT_READ, MAP_SHARED, fdin, 0)) ==
132 close(fdin);
H A Dvunref.sh138 int fdin, fdout;
146 if ((fdin = open(INPUTFILE, O_RDONLY)) < 0)
152 if (fstat(fdin, &statbuf) < 0)
162 if ((src = mmap(0, statbuf.st_size, PROT_READ, MAP_SHARED, fdin, 0)) ==
174 close(fdin);
/freebsd/contrib/libedit/
H A Del.c72 int fdin, int fdout, int fderr, int flags) in el_init_internal() argument
83 el->el_infd = fdin; in el_init_internal()
122 int fdin, int fdout, int fderr) in el_init_fd() argument
124 return el_init_internal(prog, fin, fout, ferr, fdin, fdout, fderr, 0); in el_init_fd()
/freebsd/crypto/heimdal/appl/rcp/
H A Drcp.c54 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
714 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) in do_cmd() argument
787 *fdin = pout[0]; in do_cmd()
/freebsd/contrib/ntp/sntp/libopts/
H A Dmakeshell.c192 emit_var_text(char const * prog, char const * var, int fdin) in emit_var_text() argument
194 FILE * fp = fdopen(fdin, "r" FOPEN_BINARY_FLAG); in emit_var_text()
H A Dproto.h263 emit_var_text(char const * prog, char const * var, int fdin);
/freebsd/crypto/openssh/
H A Dscp.c280 char *cmd, int *fdin, int *fdout, pid_t *pid) in do_cmd() argument
360 *fdin = pout[0]; in do_cmd()
363 *fdin = sv[1]; in do_cmd()
380 int fdin, int fdout) in do_cmd2() argument
397 if (dup2(fdin, 0) == -1) in do_cmd2()
H A Dsession.c2270 int fdin, int fdout, int fderr, int ignore_fderr, int is_tty) in session_set_fds() argument
2279 fdout, fdin, fderr, in session_set_fds()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h1692 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \ argument
1693 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \
1695 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \ argument
1696 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \
2984 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2986 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2907 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {}
2909 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}