Home
last modified time | relevance | path

Searched refs:dfd (Results 1 – 2 of 2) sorted by relevance

/support/
A Dshell-container.c96 int sfd = -1, dfd = -1; in copy_func() local
115 dfd = open (dname, O_WRONLY | O_TRUNC | O_CREAT, 0600); in copy_func()
116 if (dfd < 0) in copy_func()
123 if (support_copy_file_range (sfd, 0, dfd, 0, st.st_size, 0) != st.st_size) in copy_func()
136 if (dfd >= 0) in copy_func()
137 close (dfd); in copy_func()
A Dtest-container.c410 int sfd, dfd; in copy_one_file() local
421 dfd = open (dname, O_WRONLY | O_TRUNC | O_CREAT, 0600); in copy_one_file()
422 if (dfd < 0) in copy_one_file()
425 xcopy_file_range (sfd, 0, dfd, 0, st.st_size, 0); in copy_one_file()
428 xclose (dfd); in copy_one_file()

Completed in 7 milliseconds