Lines Matching defs:other
89 static void transaction_merge_and_delete_job(Transaction *tr, Job *j, Job *other, JobType t) {
93 assert(other);
94 assert(j->unit == other->unit);
97 /* Merges 'other' into 'j' and then deletes 'other'. */
101 j->irreversible = j->irreversible || other->irreversible;
102 j->matters_to_anchor = j->matters_to_anchor || other->matters_to_anchor;
106 LIST_FOREACH(subject, l, other->subject_list) {
107 assert(l->subject == other);
117 j->subject_list = other->subject_list;
122 LIST_FOREACH(object, l, other->object_list) {
123 assert(l->object == other);
133 j->object_list = other->object_list;
136 /* Kill the other job */
137 other->subject_list = NULL;
138 other->object_list = NULL;
139 transaction_delete_job(tr, other, true);
478 /* Drop jobs that are not required by any other job */
812 Job *other = j->object_list->matters ? j->object_list->subject : NULL;
816 if (other && delete_dependencies) {
817 log_unit_debug(other->unit,
819 other->unit->id, job_type_to_string(other->type),
821 transaction_delete_job(tr, other, delete_dependencies);
894 /* If we are following some other unit, make sure we