Searched refs:n_running_jobs (Results 1 - 3 of 3) sorted by relevance

/systemd/src/core/
H A Djob.c115 j->unit->manager->n_running_jobs++;
118 assert(j->unit->manager->n_running_jobs > 0);
120 j->unit->manager->n_running_jobs--;
122 if (j->unit->manager->n_running_jobs <= 0)
252 j->unit->manager->n_running_jobs++;
H A Dmanager.h274 unsigned n_running_jobs; member in struct:Manager
H A Dmanager.c179 assert(m->n_running_jobs > 0);
183 print_nr = (m->jobs_in_progress_iteration / JOBS_IN_PROGRESS_PERIOD_DIVISOR) % m->n_running_jobs;
189 /* m->n_running_jobs must be consistent with the contents of m->jobs,
201 if (m->n_running_jobs > 1) {
202 if (asprintf(&job_of_n, "(%u of %u) ", counter, m->n_running_jobs) < 0)
923 m->n_running_jobs = 0;
1447 if (m->n_running_jobs > 0)

Completed in 1654 milliseconds