Home
last modified time | relevance | path

Searched refs:fdin (Results 1 – 13 of 13) sorted by relevance

/external/toybox/toys/pending/
Dcrontab.c214 int fdin; in do_list() local
217 fdin = xopenro(toybuf); in do_list()
218 xsendfile(fdin, 1); in do_list()
219 xclose(fdin); in do_list()
231 int fdin, fdout; in update_crontab() local
235 fdin = xopenro(src); in update_crontab()
236 xsendfile(fdin, fdout); in update_crontab()
237 xclose(fdin); in update_crontab()
/external/toybox/toys/posix/
Dcp.c264 int fdin; in cp_node() local
266 fdin = openat(tfd, try->name, O_RDONLY); in cp_node()
267 if (fdin < 0) { in cp_node()
272 if (S_ISLNK(try->st.st_mode)) fstat(fdin, &try->st); in cp_node()
275 xsendfile(fdin, fdout); in cp_node()
281 ssize_t listlen = flistxattr(fdin, 0, 0), len; in cp_node()
286 flistxattr(fdin, list, listlen); in cp_node()
291 if ((len = fgetxattr(fdin, name, 0, 0))>0) { in cp_node()
293 if (len == fgetxattr(fdin, name, value, len)) in cp_node()
303 close(fdin); in cp_node()
/external/ltp/testcases/kernel/syscalls/tee/
Dtee02.c47 int *fdin; member
67 TEST(tee(*(tc->fdin), *(tc->fdout), TEE_TEST_LEN, 0)); in tee_verify()
/external/e2fsprogs/lib/ext2fs/
Dqcow2.c134 static int qcow2_copy_data(int fdin, int fdout, ext2_off64_t off_in, in qcow2_copy_data() argument
144 if (ext2fs_llseek(fdin, off_in, SEEK_SET) < 0) in qcow2_copy_data()
147 size = read(fdin, buf, count); in qcow2_copy_data()
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c61 int *fdin; member
94 TEST(splice(*(tc->fdin), tc->offin, *(tc->fdout), in splice_verify()
/external/toybox/lib/
Dlib.c736 int copy_tempfile(int fdin, char *name, char **tempname) in copy_tempfile() argument
746 if (!fstat(fdin, &statbuf)) fchmod(fd, statbuf.st_mode); in copy_tempfile()
759 void delete_tempfile(int fdin, int fdout, char **tempname) in delete_tempfile() argument
761 close(fdin); in delete_tempfile()
770 void replace_tempfile(int fdin, int fdout, char **tempname) in replace_tempfile() argument
775 if (fdin != -1) { in replace_tempfile()
776 xsendfile(fdin, fdout); in replace_tempfile()
777 xclose(fdin); in replace_tempfile()
Dlib.h242 int copy_tempfile(int fdin, char *name, char **tempname);
243 void delete_tempfile(int fdin, int fdout, char **tempname);
244 void replace_tempfile(int fdin, int fdout, char **tempname);
/external/openssh/
Dscp.c123 int do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout);
124 int do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout);
231 do_cmd(char *host, char *remuser, char *cmd, int *fdin, int *fdout) in do_cmd() argument
292 *fdin = pout[0]; in do_cmd()
305 do_cmd2(char *host, char *remuser, char *cmd, int fdin, int fdout) in do_cmd2() argument
319 dup2(fdin, 0); in do_cmd2()
Dsession.c2128 session_set_fds(Session *s, int fdin, int fdout, int fderr, int ignore_fderr, in session_set_fds() argument
2138 fdout, fdin, fderr, in session_set_fds()
/external/syzkaller/sys/freebsd/
Dsys.txt24 sendfile(fdout fd, fdin fd, off ptr[inout, fileoff[int64], opt], count int64)
/external/compiler-rt/include/sanitizer/
Dlinux_syscall_hooks.h1684 #define __sanitizer_syscall_pre_tee(fdin, fdout, len, flags) \ argument
1685 __sanitizer_syscall_pre_impl_tee((long)(fdin), (long)(fdout), (long)(len), \
1687 #define __sanitizer_syscall_post_tee(res, fdin, fdout, len, flags) \ argument
1688 __sanitizer_syscall_post_impl_tee(res, (long)(fdin), (long)(fdout), \
2969 void __sanitizer_syscall_pre_impl_tee(long fdin, long fdout, long len,
2971 void __sanitizer_syscall_post_impl_tee(long res, long fdin, long fdout,
/external/syzkaller/sys/linux/
Dsys.txt87 tee(fdin fd, fdout fd, len intptr, f flags[splice_flags])
88 splice(fdin fd, offin ptr[in, fileoff[int64]], fdout fd, offout ptr[in, fileoff[int64]], len intptr…
90 sendfile(fdout fd, fdin fd, off ptr[inout, fileoff[intptr], opt], count intptr)
91 sendfile64(fdout fd, fdin fd, off ptr[inout, fileoff[int64], opt], count intptr)
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_common_syscalls.inc2658 PRE_SYSCALL(tee)(long fdin, long fdout, long len, long flags) {}
2660 POST_SYSCALL(tee)(long res, long fdin, long fdout, long len, long flags) {}