Lines Matching refs:jobs
2052 static void output_jobs_list(const struct job_info* jobs, unsigned n, bool skipped) {
2058 assert(n == 0 || jobs);
2065 printf("%sNo jobs %s.%s\n", on, skipped ? "listed" : "running", off);
2077 for (j = jobs; j < jobs + n; j++) {
2099 for (j = jobs; j < jobs + n; j++) {
2120 printf("\n%s%u jobs listed%s.\n", on, n, off);
2132 _cleanup_free_ struct job_info *jobs = NULL;
2156 return log_error_errno(r, "Failed to list jobs: %s", bus_error_message(&error, r));
2170 if (!GREEDY_REALLOC(jobs, size, c + 1))
2173 jobs[c++] = job;
2182 output_jobs_list(jobs, c, skipped);
2768 return log_error_errno(r, "Could not watch jobs: %m");
4910 streq(argv[0], "clear-jobs") ||
6189 " --job-mode=MODE Specify how to deal with already queued jobs, when\n"
6236 " units/jobs or the manager\n"
6269 " list-jobs [PATTERN...] List jobs\n"
6270 " cancel [JOB...] Cancel all, one, or more jobs\n\n"
7322 { "list-jobs", VERB_ANY, VERB_ANY, VERB_NOCHROOT, list_jobs },
7324 { "clear-jobs", VERB_ANY, 1, VERB_NOCHROOT, daemon_reload },