Searched refs:tar_fd (Results 1 – 2 of 2) sorted by relevance
/systemd-251/src/import/ |
D | export-tar.c | 28 int tar_fd; member 71 safe_close(e->tar_fd); in tar_export_unref() 95 .tar_fd = -1, in tar_export_new() 145 assert(e->tar_fd >= 0); in tar_export_finish() 155 e->tar_fd = safe_close(e->tar_fd); in tar_export_finish() 168 l = splice(e->tar_fd, NULL, e->output_fd, NULL, COPY_BUFFER_SIZE, 0); in tar_export_process() 195 l = read(e->tar_fd, input, sizeof(input)); in tar_export_process() 319 e->tar_fd = import_fork_tar_c(e->temp_path ?: e->path, &e->tar_pid); in tar_export_start() 320 if (e->tar_fd < 0) { in tar_export_start() 322 return e->tar_fd; in tar_export_start()
|
D | import-tar.c | 46 int tar_fd; member 81 safe_close(i->tar_fd); in tar_import_unref() 112 .tar_fd = -1, in tar_import_new() 163 assert(i->tar_fd >= 0); in tar_import_finish() 165 i->tar_fd = safe_close(i->tar_fd); in tar_import_finish() 203 assert(i->tar_fd < 0); in tar_import_fork_tar() 243 i->tar_fd = import_fork_tar_x(d, &i->tar_pid); in tar_import_fork_tar() 244 if (i->tar_fd < 0) in tar_import_fork_tar() 245 return i->tar_fd; in tar_import_fork_tar() 254 r = loop_write(i->tar_fd, p, sz, false); in tar_import_write()
|