Lines Matching defs:tar_job
62 PullJob *tar_job;
95 pull_job_unref(i->tar_job);
195 if (i->tar_job)
196 percent += i->tar_job->progress_percent * remain / 100;
224 assert(i->tar_job);
230 r = pull_make_path(i->tar_job->url, i->tar_job->etag, i->image_root, ".tar-", NULL, &i->final_path);
265 assert(i->tar_job);
267 if (!PULL_JOB_IS_COMPLETE(i->tar_job))
310 i->tar_job->disk_fd = safe_close(i->tar_job->disk_fd);
325 if (!i->tar_job->etag_exists) {
330 r = pull_verify(i->tar_job, i->settings_job, i->checksum_job, i->signature_job);
397 assert(i->tar_job == j);
488 if (i->tar_job)
500 r = pull_job_new(&i->tar_job, url, i->glue, i);
504 i->tar_job->on_finished = tar_pull_job_on_finished;
505 i->tar_job->on_open_disk = tar_pull_job_on_open_disk_tar;
506 i->tar_job->on_progress = tar_pull_job_on_progress;
507 i->tar_job->calc_checksum = verify != IMPORT_VERIFY_NO;
508 i->tar_job->grow_machine_directory = i->grow_machine_directory;
510 r = pull_find_old_etags(url, i->image_root, DT_DIR, ".tar-", NULL, &i->tar_job->old_etags);
534 r = pull_job_begin(i->tar_job);