Searched refs:tar_fd (Results 1 - 2 of 2) sorted by relevance

/systemd/src/import/
H A Dimport-tar.c63 int tar_fd; member in struct:TarImport
105 safe_close(i->tar_fd);
131 i->input_fd = i->tar_fd = -1;
187 assert(i->tar_fd >= 0);
191 i->tar_fd = safe_close(i->tar_fd);
225 assert(i->tar_fd < 0);
246 i->tar_fd = import_fork_tar_x(i->temp_path, &i->tar_pid);
247 if (i->tar_fd < 0)
248 return i->tar_fd;
[all...]
H A Dexport-tar.c45 int tar_fd; member in struct:TarExport
90 safe_close(e->tar_fd);
114 e->output_fd = e->tar_fd = -1;
169 l = splice(e->tar_fd, NULL, e->output_fd, NULL, COPY_BUFFER_SIZE, 0);
196 l = read(e->tar_fd, input, sizeof(input));
320 e->tar_fd = import_fork_tar_c(e->temp_path ?: e->path, &e->tar_pid);
321 if (e->tar_fd < 0) {
323 return e->tar_fd;

Completed in 19 milliseconds