Lines Matching full:jobs
2 * Background jobs (long-running operations)
50 * job_mutex protects the jobs list, but also makes the
56 static QLIST_HEAD(, Job) jobs = QLIST_HEAD_INITIALIZER(jobs);
86 /* Transactional group of jobs */
92 /* List of jobs */
93 QLIST_HEAD(, Job) jobs;
117 QLIST_INIT(&txn->jobs); in job_txn_new()
162 QLIST_INSERT_HEAD(&txn->jobs, job, txn_list); in job_txn_add_job_locked()
191 QLIST_FOREACH_SAFE(other_job, &txn->jobs, txn_list, next) { in job_txn_apply_locked()
342 return QLIST_FIRST(&jobs); in job_next_locked()
357 QLIST_FOREACH(job, &jobs, job_list) { in job_get_locked()
437 QLIST_INSERT_HEAD(&jobs, job, job_list); in job_create()
439 /* Single jobs are modeled as single-job transactions for sake of in job_create()
939 /* Other jobs are effectively cancelled by us, set the status for in job_completed_txn_abort_locked()
942 QLIST_FOREACH(other_job, &txn->jobs, txn_list) { in job_completed_txn_abort_locked()
946 * Therefore, pass force=true to terminate all other jobs as quickly in job_completed_txn_abort_locked()
952 while (!QLIST_EMPTY(&txn->jobs)) { in job_completed_txn_abort_locked()
953 other_job = QLIST_FIRST(&txn->jobs); in job_completed_txn_abort_locked()
1039 * Successful completion, see if there are other running jobs in this in job_completed_txn_success_locked()
1042 QLIST_FOREACH(other_job, &txn->jobs, txn_list) { in job_completed_txn_success_locked()
1051 /* If no jobs need manual finalization, automatically do so */ in job_completed_txn_success_locked()
1093 * All jobs must allow a pause point before entering their job proper. This
1094 * ensures that jobs can be paused prior to being started, then resumed later.
1142 * job_cancel_async() ignores soft-cancel requests for jobs in job_cancel_locked()
1149 * job_completed_txn_abort() only for force-cancelled jobs.) in job_cancel_locked()
1219 /* Should not be reachable via external interface for internal jobs */ in job_complete_locked()