Lines Matching refs:master_job
382 struct kcopyd_job *master_job; member
426 if (job->write_offset == job->master_job->write_offset) { in pop_io_job()
427 job->master_job->write_offset += job->source.count; in pop_io_job()
499 if (job->master_job == job) { in run_complete_job()
567 job->master_job->write_err) { in run_io_job()
568 job->write_err = job->master_job->write_err; in run_io_job()
693 struct kcopyd_job *job = sub_job->master_job; in segment_complete()
758 static void split_job(struct kcopyd_job *master_job) in split_job() argument
762 atomic_inc(&master_job->kc->nr_jobs); in split_job()
764 atomic_set(&master_job->sub_jobs, SPLIT_COUNT); in split_job()
766 master_job[i + 1].master_job = master_job; in split_job()
767 segment_complete(0, 0u, &master_job[i + 1]); in split_job()
839 job->master_job = job; in dm_kcopyd_copy()
870 job->master_job = job; in dm_kcopyd_prepare_callback()