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()
348 return QLIST_FIRST(&jobs); in job_next_locked()
363 QLIST_FOREACH(job, &jobs, job_list) { in job_get_locked()
443 QLIST_INSERT_HEAD(&jobs, job, job_list); in job_create()
445 /* Single jobs are modeled as single-job transactions for sake of in job_create()
945 /* Other jobs are effectively cancelled by us, set the status for in job_completed_txn_abort_locked()
948 QLIST_FOREACH(other_job, &txn->jobs, txn_list) { in job_completed_txn_abort_locked()
952 * Therefore, pass force=true to terminate all other jobs as quickly in job_completed_txn_abort_locked()
958 while (!QLIST_EMPTY(&txn->jobs)) { in job_completed_txn_abort_locked()
959 other_job = QLIST_FIRST(&txn->jobs); in job_completed_txn_abort_locked()
1045 * Successful completion, see if there are other running jobs in this in job_completed_txn_success_locked()
1048 QLIST_FOREACH(other_job, &txn->jobs, txn_list) { in job_completed_txn_success_locked()
1057 /* If no jobs need manual finalization, automatically do so */ in job_completed_txn_success_locked()
1099 * All jobs must allow a pause point before entering their job proper. This
1100 * ensures that jobs can be paused prior to being started, then resumed later.
1148 * job_cancel_async() ignores soft-cancel requests for jobs in job_cancel_locked()
1155 * job_completed_txn_abort() only for force-cancelled jobs.) in job_cancel_locked()
1225 /* Should not be reachable via external interface for internal jobs */ in job_complete_locked()