Home
last modified time | relevance | path

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

/freebsd-12-stable/crypto/heimdal/lib/roken/
Dsimple_exec.c147 int in_fd[2], out_fd[2], err_fd[2]; in pipe_execv() local
153 pipe(in_fd); in pipe_execv()
169 close(in_fd[1]); in pipe_execv()
177 in_fd[0] = open(_PATH_DEVNULL, O_RDONLY); in pipe_execv()
184 if(in_fd[0] != STDIN_FILENO) { in pipe_execv()
185 dup2(in_fd[0], STDIN_FILENO); in pipe_execv()
186 close(in_fd[0]); in pipe_execv()
203 close(in_fd[0]); in pipe_execv()
204 close(in_fd[1]); in pipe_execv()
217 close(in_fd[0]); in pipe_execv()
[all …]
/freebsd-12-stable/contrib/ofed/opensm/opensm/
Dosm_console_io.c111 if (p_oct && p_oct->in_fd > 0) { in cio_close()
116 p_oct->in_fd = -1; in cio_close()
131 if (p_oct->in_fd >= 0) { in cio_open()
152 p_oct->in_fd = new_fd; in cio_open()
153 p_oct->out_fd = p_oct->in_fd; in cio_open()
154 p_oct->in = fdopen(p_oct->in_fd, "w+"); in cio_open()
193 p_oct->in_fd = fileno(stdin); in osm_console_init()
245 p_oct->in_fd = -1; in osm_console_init()
Dosm_console.c1845 pollfd[1].fd = p_oct->in_fd; in osm_console()
1875 p_oct->in_fd = -1; in osm_console()
/freebsd-12-stable/usr.sbin/nandtool/
Dnand_write.c45 int in_fd = -1, ret = 0, done = 0; in nand_write() local
64 if ((in_fd = open(file, O_RDONLY)) == -1) { in nand_write()
115 if ((ret = read(in_fd, buf, chip_params.page_size)) != in nand_write()
138 if (in_fd != -1) in nand_write()
139 close(in_fd); in nand_write()
/freebsd-12-stable/contrib/mandoc/
Dcatman.c124 int in_fd, out_fd; in process_manpage() local
127 if ((in_fd = open(path, O_RDONLY)) == -1) { in process_manpage()
136 close(in_fd); in process_manpage()
140 irc = sock_fd_write(srv_fd, in_fd, out_fd, STDERR_FILENO); in process_manpage()
142 close(in_fd); in process_manpage()
/freebsd-12-stable/contrib/ofed/opensm/include/opensm/
Dosm_console_io.h73 int in_fd; member
/freebsd-12-stable/contrib/ofed/librdmacm/
Dpreload.c89 ssize_t (*sendfile)(int out_fd, int in_fd, off_t *offset, size_t count);
1153 ssize_t sendfile(int out_fd, int in_fd, off_t *offset, size_t count) in sendfile() argument
1160 return real.sendfile(fd, in_fd, offset, count); in sendfile()
1162 file_addr = mmap(NULL, count, PROT_READ, 0, in_fd, offset ? *offset : 0); in sendfile()
1168 lseek(in_fd, ret, SEEK_CUR); in sendfile()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h782 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \ argument
783 __sanitizer_syscall_pre_impl_sendfile((long)(out_fd), (long)(in_fd), \
785 #define __sanitizer_syscall_post_sendfile(res, out_fd, in_fd, offset, count) \ argument
786 __sanitizer_syscall_post_impl_sendfile(res, (long)(out_fd), (long)(in_fd), \
788 #define __sanitizer_syscall_pre_sendfile64(out_fd, in_fd, offset, count) \ argument
789 __sanitizer_syscall_pre_impl_sendfile64((long)(out_fd), (long)(in_fd), \
791 #define __sanitizer_syscall_post_sendfile64(res, out_fd, in_fd, offset, count) \ argument
792 __sanitizer_syscall_post_impl_sendfile64(res, (long)(out_fd), (long)(in_fd), \
2445 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset,
2447 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd,
[all …]
/freebsd-12-stable/contrib/gcc/
Dmips-tfile.c4827 int in_fd; in main() local
4831 in_fd = open (object_name, O_RDONLY, 0666); in main()
4832 if (in_fd < 0) in main()
4839 while ((len = read (in_fd, buffer, 4*PAGE_SIZE)) > 0) in main()
4854 if (close (in_fd) < 0) in main()
/freebsd-12-stable/crypto/openssh/
Dclientloop.c2467 const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd, in client_session2_setup() argument
2487 if (ioctl(in_fd, TIOCGWINSZ, &ws) == -1) in client_session2_setup()
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc1359 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {}
1361 POST_SYSCALL(sendfile)(long res, long out_fd, long in_fd,
1368 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {}
1370 POST_SYSCALL(sendfile64)(long res, long out_fd, long in_fd,