Home
last modified time | relevance | path

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

/support/
A Dshell-container.c96 int sfd = -1, dfd = -1; in copy_func() local
100 sfd = open (sname, O_RDONLY); in copy_func()
101 if (sfd < 0) in copy_func()
108 if (fstat (sfd, &st) < 0) in copy_func()
123 if (support_copy_file_range (sfd, 0, dfd, 0, st.st_size, 0) != st.st_size) in copy_func()
134 if (sfd >= 0) in copy_func()
135 close (sfd); in copy_func()
A Dtest-container.c410 int sfd, dfd; in copy_one_file() local
414 sfd = open (sname, O_RDONLY); in copy_one_file()
415 if (sfd < 0) in copy_one_file()
418 if (fstat (sfd, &st) < 0) in copy_one_file()
425 xcopy_file_range (sfd, 0, dfd, 0, st.st_size, 0); in copy_one_file()
427 xclose (sfd); in copy_one_file()

Completed in 5 milliseconds