/freebsd-11-stable/usr.sbin/nandtool/ |
H A D | nand_write.c | 45 int in_fd = -1, ret = 0, done = 0; local 64 if ((in_fd = open(file, O_RDONLY)) == -1) { 115 if ((ret = read(in_fd, buf, chip_params.page_size)) != 138 if (in_fd != -1) 139 close(in_fd);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | simple_exec.c | 147 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-11-stable/contrib/ofed/opensm/opensm/ |
H A D | osm_console_io.c | 111 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 D | osm_console.c | 1845 pollfd[1].fd = p_oct->in_fd; 1875 p_oct->in_fd = -1;
|
/freebsd-11-stable/contrib/mdocml/ |
H A D | catman.c | 124 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-11-stable/contrib/ofed/opensm/include/opensm/ |
H A D | osm_console_io.h | 73 int in_fd; member in struct:osm_console
|
/freebsd-11-stable/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) 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-11-stable/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) \ 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), \ 2443 void __sanitizer_syscall_pre_impl_sendfile(long out_fd, long in_fd, long offset, 2445 void __sanitizer_syscall_post_impl_sendfile(long res, long out_fd, long in_fd, [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | mips-tfile.c | 4868 int in_fd; 4872 in_fd = open (object_name, O_RDONLY, 0666); 4873 if (in_fd < 0) 4880 while ((len = read (in_fd, buffer, 4*PAGE_SIZE)) > 0) 4895 if (close (in_fd) < 0) 4827 int in_fd; local
|
/freebsd-11-stable/crypto/openssh/ |
H A D | clientloop.c | 2593 const char *term, struct termios *tiop, int in_fd, Buffer *cmd, char **env) 2610 if (ioctl(in_fd, TIOCGWINSZ, &ws) < 0) 2592 client_session2_setup(int id, int want_tty, int want_subsystem, const char *term, struct termios *tiop, int in_fd, Buffer *cmd, char **env) argument
|