/freebsd/crypto/heimdal/lib/roken/ |
H A D | simple_exec.c | 147 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 D | osm_console_io.c | 111 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 D | osm_console.c | 1845 pollfd[1].fd = p_oct->in_fd; in osm_console() 1875 p_oct->in_fd = -1; in osm_console()
|
/freebsd/contrib/mandoc/ |
H A D | catman.c | 124 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 D | capability-fd-pair.cc | 11 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 D | syscalls.h | 37 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 D | osm_console_io.h | 73 int in_fd; member
|
/freebsd/contrib/ofed/librdmacm/ |
H A D | preload.c | 89 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 D | linux_syscall_hooks.h | 782 #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), \ 2459 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset, 2461 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd, [all …]
|
/freebsd/crypto/openssh/ |
H A D | clientloop.c | 2680 const char *term, struct termios *tiop, int in_fd, struct sshbuf *cmd, in client_session2_setup() argument 2700 if (ioctl(in_fd, TIOCGWINSZ, &ws) == -1) in client_session2_setup()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_syscalls.inc | 1476 PRE_SYSCALL(sendfile)(long out_fd, long in_fd, void *offset, long count) {} 1479 (long res, long out_fd, long in_fd, __sanitizer___kernel_off_t *offset, 1487 PRE_SYSCALL(sendfile64)(long out_fd, long in_fd, void *offset, long count) {} 1490 (long res, long out_fd, long in_fd, __sanitizer___kernel_loff_t *offset,
|