Lines Matching defs:other
161 * JOB_RESTART jobs on the other hand can be merged, because they get
168 static void job_merge_into_installed(Job *j, Job *other) {
170 assert(j->unit == other->unit);
173 job_type_merge_and_collapse(&j->type, other->type, j->unit);
175 assert(other->type == JOB_NOP);
177 j->irreversible = j->irreversible || other->irreversible;
178 j->ignore_order = j->ignore_order || other->ignore_order;
438 Unit *other;
469 SET_FOREACH(other, j->unit->dependencies[UNIT_AFTER], i)
470 if (other->job)
477 SET_FOREACH(other, j->unit->dependencies[UNIT_BEFORE], i)
478 if (other->job &&
479 (other->job->type == JOB_STOP ||
480 other->job->type == JOB_RESTART))
809 Unit *other;
814 SET_FOREACH(other, u->dependencies[d], i) {
815 Job *j = other->job;
828 Unit *other;
896 SET_FOREACH(other, u->dependencies[UNIT_AFTER], i)
897 if (other->job)
898 job_add_to_run_queue(other->job);
899 SET_FOREACH(other, u->dependencies[UNIT_BEFORE], i)
900 if (other->job)
901 job_add_to_run_queue(other->job);
1143 * this magic into PID 1. However all other processes aren't