Searched refs:checksum_job (Results 1 – 4 of 4) sorted by relevance
/systemd-251/src/import/ |
D | pull-common.c | 253 _cleanup_(pull_job_unrefp) PullJob *checksum_job = NULL, *signature_job = NULL; in pull_make_verification_jobs() 294 r = pull_job_new(&checksum_job, checksum_url, glue, userdata); in pull_make_verification_jobs() 298 checksum_job->on_finished = on_finished; in pull_make_verification_jobs() 299 … checksum_job->uncompressed_max = checksum_job->compressed_max = 1ULL * 1024ULL * 1024ULL; in pull_make_verification_jobs() 300 …checksum_job->on_not_found = pull_job_restart_with_sha256sum; /* if this fails, look for ubuntu-st… in pull_make_verification_jobs() 319 *ret_checksum_job = TAKE_PTR(checksum_job); in pull_make_verification_jobs() 324 static int verify_one(PullJob *checksum_job, PullJob *job) { in verify_one() argument 329 assert(checksum_job); in verify_one() 360 p = memmem_safe(checksum_job->payload, in verify_one() 361 checksum_job->payload_size, in verify_one() [all …]
|
D | pull-tar.c | 50 PullJob *checksum_job; member 78 pull_job_unref(i->checksum_job); in tar_pull_unref() 160 if (i->checksum_job) { in tar_pull_report_progress() 161 percent += i->checksum_job->progress_percent * 5 / 100; in tar_pull_report_progress() 302 if (i->checksum_job && !PULL_JOB_IS_COMPLETE(i->checksum_job)) in tar_pull_is_done() 328 } else if (j == i->checksum_job) { in tar_pull_job_on_finished() 348 assert(i->checksum_job); in tar_pull_job_on_finished() 350 r = verification_style_from_url(i->checksum_job->url, &style); in tar_pull_job_on_finished() 387 i->checksum_job, in tar_pull_job_on_finished() 634 &i->checksum_job, in tar_pull_start() [all …]
|
D | pull-raw.c | 53 PullJob *checksum_job; member 89 pull_job_unref(i->checksum_job); in raw_pull_unref() 181 if (i->checksum_job) { in raw_pull_report_progress() 182 percent += i->checksum_job->progress_percent * 5 / 100; in raw_pull_report_progress() 449 if (i->checksum_job && !PULL_JOB_IS_COMPLETE(i->checksum_job)) in raw_pull_is_done() 520 } else if (j == i->checksum_job) { in raw_pull_job_on_finished() 551 … verify_job = i->checksum_job ?: i->raw_job; /* if the checksum job doesn't exist this must be in raw_pull_job_on_finished() 583 i->checksum_job, in raw_pull_job_on_finished() 893 &i->checksum_job, in raw_pull_start() 966 i->checksum_job, in raw_pull_start()
|
D | pull-common.h | 34 int pull_verify(ImportVerify verify, const char *checksum, PullJob *main_job, PullJob *checksum_job…
|