Home
last modified time | relevance | path

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

/freebsd/crypto/heimdal/lib/roken/
H A 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/contrib/ofed/opensm/opensm/
H A 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()
H A Dosm_console.c1845 pollfd[1].fd = p_oct->in_fd; in osm_console()
1875 p_oct->in_fd = -1; in osm_console()
/freebsd/contrib/mandoc/
H A 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/contrib/capsicum-test/
H A Dcapability-fd-pair.cc11 int in_fd = open(TmpFile("cap_sendfile_in"), O_CREAT|O_RDWR, 0644); in TEST() local
12 EXPECT_OK(write(in_fd, "1234", 4)); in TEST()
22 int cap_in_ro = dup(in_fd); in TEST()
25 int cap_in_wo = dup(in_fd); in TEST()
44 close(in_fd); in TEST()
H A Dsyscalls.h37 inline ssize_t sendfile_(int out_fd, int in_fd, off_t *offset, size_t count) { in sendfile_() argument
38 return sendfile(in_fd, out_fd, *offset, count, NULL, offset, 0); in sendfile_()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_console_io.h73 int in_fd; member
/freebsd/contrib/ofed/librdmacm/
H A 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/contrib/llvm-project/compiler-rt/include/sanitizer/
H A 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), \
2452 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset,
2454 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd,
[all …]
/freebsd/crypto/openssh/
H A Dclientloop.c2716 const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd, in client_session2_setup() argument
2736 if (ioctl(in_fd, TIOCGWINSZ, &ws) == -1) in client_session2_setup()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc1462 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {}
1465 (long res, long out_fd, long in_fd, __sanitizer___kernel_off_t *offset,
1473 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {}
1476 (long res, long out_fd, long in_fd, __sanitizer___kernel_loff_t *offset,