Home
last modified time | relevance | path

Searched refs:copy_bytes (Results 1 – 17 of 17) sorted by relevance

/systemd-251/src/test/
Dtest-copy.c190 TEST(copy_bytes) { in TEST() argument
203 r = copy_bytes(infd, pipefd[1], UINT64_MAX, 0); in TEST()
216 r = copy_bytes(pipefd[0], pipefd[0], 1, 0); in TEST()
219 r = copy_bytes(pipefd[1], pipefd[1], 1, 0); in TEST()
222 r = copy_bytes(pipefd[1], infd, 1, 0); in TEST()
244 r = copy_bytes(fd, fd2, max_bytes, try_reflink ? COPY_REFLINK : 0); in test_copy_bytes_regular_file_one()
260 r = copy_bytes(fd2, fd3, max_bytes, try_reflink ? COPY_REFLINK : 0); in test_copy_bytes_regular_file_one()
359 assert_se(copy_bytes(fd, fd_copy, UINT64_MAX, COPY_HOLES) >= 0); in TEST_RET()
/systemd-251/src/shared/
Ddata-fd-util.c196 r = copy_bytes(fd, copy_fd, DATA_FD_MEMORY_LIMIT, 0); in copy_data_fd()
274 r = copy_bytes(copy_fd, tmp_fd, UINT64_MAX, 0); in copy_data_fd()
290 … r = copy_bytes(fd, tmp_fd, DATA_FD_TMP_LIMIT - DATA_FD_MEMORY_LIMIT - remains_size, COPY_REFLINK); in copy_data_fd()
319 r = copy_bytes(copy_fd, tmp_fd, UINT64_MAX, COPY_REFLINK); in copy_data_fd()
334 r = copy_bytes(fd, tmp_fd, UINT64_MAX, COPY_REFLINK); in copy_data_fd()
Dcopy.h67 static inline int copy_bytes(int fdf, int fdt, uint64_t max_bytes, CopyFlags copy_flags) { in copy_bytes() function
Dpager.c40 r = copy_bytes(STDIN_FILENO, STDOUT_FILENO, UINT64_MAX, 0); in pager_fallback()
Ddissect-image.c2685 r = copy_bytes(fd, fds[2*k+1], UINT64_MAX, 0); in dissected_image_acquire_metadata()
/systemd-251/src/dissect/
Ddissect.c714 r = copy_bytes(source_fd, STDOUT_FILENO, UINT64_MAX, COPY_REFLINK); in action_copy()
740 r = copy_bytes(source_fd, target_fd, UINT64_MAX, COPY_REFLINK); in action_copy()
771 r = copy_bytes(STDIN_FILENO, target_fd, UINT64_MAX, COPY_REFLINK); in action_copy()
809 r = copy_bytes(source_fd, target_fd, UINT64_MAX, COPY_REFLINK); in action_copy()
/systemd-251/src/analyze/
Danalyze-dump.c63 return copy_bytes(fd, STDOUT_FILENO, UINT64_MAX, 0); in verb_dump()
/systemd-251/src/oom/
Doomctl.c74 return copy_bytes(fd, STDOUT_FILENO, UINT64_MAX, 0); in dump_state()
/systemd-251/src/core/
Dimport-creds.c231 r = copy_bytes(cfd, nfd, st.st_size, 0); in import_credentials_boot()
434 r = copy_bytes(rfd, nfd, sz, 0); in import_credentials_qemu()
/systemd-251/src/import/
Dpull-raw.c395 r = copy_bytes(i->raw_job->disk_fd, dfd, UINT64_MAX, COPY_REFLINK); in raw_pull_make_local_copy()
/systemd-251/src/coredump/
Dcoredump.c449 r = copy_bytes(input_fd, fd, max_size, 0); in save_external_coredump()
/systemd-251/src/machine/
Dmachine-dbus.c415 r = copy_bytes(fd, pair[1], UINT64_MAX, 0); in bus_machine_method_get_os_release()
/systemd-251/src/portable/
Dportable.c1159 r = copy_bytes(m->fd, fd, UINT64_MAX, COPY_REFLINK); in attach_unit_file()
/systemd-251/src/boot/
Dbootctl.c734 r = copy_bytes(fd_from, fd_to, UINT64_MAX, COPY_REFLINK); in copy_file_with_version_check()
/systemd-251/src/sysusers/
Dsysusers.c279 r = copy_bytes(src, fileno(dst), UINT64_MAX, COPY_REFLINK); in make_backup()
/systemd-251/src/nspawn/
Dnspawn.c5867 (void) copy_bytes(master, STDOUT_FILENO, UINT64_MAX, 0); in run()
/systemd-251/src/partition/
Drepart.c2900 r = copy_bytes(sfd, tfd, UINT64_MAX, COPY_REFLINK|COPY_SIGINT); in do_copy_files()