Lines Matching full:job
34 * A class type for block job driver.
48 * Returns whether the job has pending requests for the child or will
50 * in the context of draining a job node after requesting that the job be
53 bool (*drained_poll)(BlockJob *job);
63 * If the callback is not NULL, it will be invoked before the job is
65 * besides job->blk to the new AioContext.
67 void (*attached_aio_context)(BlockJob *job, AioContext *new_context);
69 void (*set_speed)(BlockJob *job, int64_t speed);
72 * Change the @job's options according to @opts.
74 * Note that this can already be called before the job coroutine is running.
76 void (*change)(BlockJob *job, BlockJobChangeOptions *opts, Error **errp);
79 * Query information specific to this kind of block job.
81 void (*query)(BlockJob *job, BlockJobInfo *info);
93 * @job_id: The id of the newly-created job, or %NULL to have one
95 * @driver: The class object for the newly-created job.
96 * @txn: The transaction this job belongs to, if any. %NULL otherwise.
100 * @flags: Creation flags for the Block Job. See @JobCreateFlags.
101 * @cb: Completion function for the job.
105 * Create a new long-running block device job and return it. The job
106 * will call @cb asynchronously when the job completes. Note that
108 * this is the case, the job may be reported as either cancelled or
111 * This function is not part of the public job interface; it should be
112 * called from a wrapper that is specific to the job type.
122 * Callback to be used for JobDriver.free in all block jobs. Frees block job
123 * specific resources in @job.
125 void block_job_free(Job *job);
130 * iostatus when the user resumes @job.
132 void block_job_user_resume(Job *job);
147 void block_job_ratelimit_processed_bytes(BlockJob *job, uint64_t n);
150 * Put the job to sleep (assuming that it wasn't canceled) to throttle it to the
153 void block_job_ratelimit_sleep(BlockJob *job);
157 * @job: The job to signal an error for.
162 * Report an I/O error for a block job and possibly stop the VM. Return the
165 BlockErrorAction block_job_error_action(BlockJob *job, BlockdevOnError on_err,