Lines Matching refs:kcopyd_job
347 struct kcopyd_job { struct
388 struct kcopyd_job *master_job; argument
396 sizeof(struct kcopyd_job) * (SPLIT_COUNT + 1), in dm_kcopyd_init()
397 __alignof__(struct kcopyd_job), 0, NULL); in dm_kcopyd_init()
417 static struct kcopyd_job *pop_io_job(struct list_head *jobs, in pop_io_job()
420 struct kcopyd_job *job; in pop_io_job()
443 static struct kcopyd_job *pop(struct list_head *jobs, in pop()
446 struct kcopyd_job *job = NULL; in pop()
454 job = list_entry(jobs->next, struct kcopyd_job, list); in pop()
463 static void push(struct list_head *jobs, struct kcopyd_job *job) in push()
474 static void push_head(struct list_head *jobs, struct kcopyd_job *job) in push_head()
492 static int run_complete_job(struct kcopyd_job *job) in run_complete_job()
522 struct kcopyd_job *job = context; in complete_io()
555 static int run_io_job(struct kcopyd_job *job) in run_io_job()
588 static int run_pages_job(struct kcopyd_job *job) in run_pages_job()
612 int (*fn)(struct kcopyd_job *)) in process_jobs() argument
614 struct kcopyd_job *job; in process_jobs()
679 static void dispatch_job(struct kcopyd_job *job) in dispatch_job()
699 struct kcopyd_job *sub_job = context; in segment_complete()
700 struct kcopyd_job *job = sub_job->master_job; in segment_complete()
765 static void split_job(struct kcopyd_job *master_job) in split_job()
782 struct kcopyd_job *job; in dm_kcopyd_copy()
869 struct kcopyd_job *job; in dm_kcopyd_prepare_callback()
873 memset(job, 0, sizeof(struct kcopyd_job)); in dm_kcopyd_prepare_callback()
887 struct kcopyd_job *job = j; in dm_kcopyd_do_callback()
903 int kcopyd_cancel(struct kcopyd_job *job, int block)