Searched refs:in_fd (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/crypto/heimdal/lib/roken/
H A Dsimple_exec.c147 int in_fd[2], out_fd[2], err_fd[2]; local
153 pipe(in_fd);
169 close(in_fd[1]);
177 in_fd[0] = open(_PATH_DEVNULL, O_RDONLY);
184 if(in_fd[0] != STDIN_FILENO) {
185 dup2(in_fd[0], STDIN_FILENO);
186 close(in_fd[0]);
203 close(in_fd[0]);
204 close(in_fd[1]);
217 close(in_fd[
[all...]
/freebsd-current/contrib/ofed/opensm/opensm/
H A Dosm_console_io.c111 if (p_oct && p_oct->in_fd > 0) {
116 p_oct->in_fd = -1;
131 if (p_oct->in_fd >= 0) {
152 p_oct->in_fd = new_fd;
153 p_oct->out_fd = p_oct->in_fd;
154 p_oct->in = fdopen(p_oct->in_fd, "w+");
193 p_oct->in_fd = fileno(stdin);
245 p_oct->in_fd = -1;
H A Dosm_console.c1845 pollfd[1].fd = p_oct->in_fd;
1875 p_oct->in_fd = -1;
/freebsd-current/contrib/mandoc/
H A Dcatman.c124 int in_fd, out_fd; local
127 if ((in_fd = open(path, O_RDONLY)) == -1) {
136 close(in_fd);
140 irc = sock_fd_write(srv_fd, in_fd, out_fd, STDERR_FILENO);
142 close(in_fd);
/freebsd-current/contrib/ofed/opensm/include/opensm/
H A Dosm_console_io.h73 int in_fd; member in struct:osm_console
/freebsd-current/contrib/capsicum-test/
H A Dcapability-fd-pair.cc11 int in_fd = open(TmpFile("cap_sendfile_in"), O_CREAT|O_RDWR, 0644); local
12 EXPECT_OK(write(in_fd, "1234", 4));
22 int cap_in_ro = dup(in_fd);
25 int cap_in_wo = dup(in_fd);
44 close(in_fd);
H A Dsyscalls.h37 inline ssize_t sendfile_(int out_fd, int in_fd, off_t *offset, size_t count) { argument
38 return sendfile(in_fd, out_fd, *offset, count, NULL, offset, 0);
/freebsd-current/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) argument
1160 return real.sendfile(fd, in_fd, offset, count);
1162 file_addr = mmap(NULL, count, PROT_READ, 0, in_fd, offset ? *offset : 0);
1168 lseek(in_fd, ret, SEEK_CUR);
/freebsd-current/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h782 #define __sanitizer_syscall_pre_sendfile(out_fd, in_fd, offset, count) \
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) \
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) \
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) \
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-current/crypto/openssh/
H A Dclientloop.c2716 const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd,
2736 if (ioctl(in_fd, TIOCGWINSZ, &ws) == -1)
2715 client_session2_setup(struct ssh *ssh, int id, int want_tty, int want_subsystem, const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd, char **env) argument

Completed in 167 milliseconds