Lines Matching defs:mode
496 static int transaction_is_destructive(Transaction *tr, JobMode mode, sd_bus_error *e) {
511 if (j->unit->job && (mode == JOB_FAIL || j->unit->job->irreversible) &&
573 static int transaction_apply(Transaction *tr, Manager *m, JobMode mode) {
580 if (mode == JOB_ISOLATE || mode == JOB_FLUSH) {
639 int transaction_activate(Transaction *tr, Manager *m, JobMode mode, sd_bus_error *e) {
662 if (mode == JOB_FAIL)
671 if (mode != JOB_ISOLATE)
704 if (mode != JOB_ISOLATE)
715 r = transaction_is_destructive(tr, mode, e);
722 r = transaction_apply(tr, m, mode);