/systemd/src/core/ |
H A D | dbus-unit.c | 640 SD_BUS_PROPERTY("Requires", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_REQUIRES]), SD_BUS_VTABLE_PROPERTY_CONST), 641 SD_BUS_PROPERTY("Requisite", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_REQUISITE]), SD_BUS_VTABLE_PROPERTY_CONST), 642 SD_BUS_PROPERTY("Wants", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_WANTS]), SD_BUS_VTABLE_PROPERTY_CONST), 643 SD_BUS_PROPERTY("BindsTo", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_BINDS_TO]), SD_BUS_VTABLE_PROPERTY_CONST), 644 SD_BUS_PROPERTY("PartOf", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_PART_OF]), SD_BUS_VTABLE_PROPERTY_CONST), 645 SD_BUS_PROPERTY("RequiredBy", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_REQUIRED_BY]), SD_BUS_VTABLE_PROPERTY_CONST), 646 SD_BUS_PROPERTY("RequisiteOf", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_REQUISITE_OF]), SD_BUS_VTABLE_PROPERTY_CONST), 647 SD_BUS_PROPERTY("WantedBy", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_WANTED_BY]), SD_BUS_VTABLE_PROPERTY_CONST), 648 SD_BUS_PROPERTY("BoundBy", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_BOUND_BY]), SD_BUS_VTABLE_PROPERTY_CONST), 649 SD_BUS_PROPERTY("ConsistsOf", "as", property_get_dependencies, offsetof(Unit, dependencies[UNIT_CONSISTS_O [all...] |
H A D | unit.c | 401 set_remove(other->dependencies[d], u); 513 bidi_set_free(u, u->dependencies[d]); 640 if (!u->dependencies[d]) 644 n_reserve = set_size(other->dependencies[d]) - !!set_get(other->dependencies[d], u); 646 return set_reserve(u->dependencies[d], n_reserve); 659 SET_FOREACH(back, other->dependencies[d], i) { 663 /* Do not add dependencies between u and itself */ 665 if (set_remove(back->dependencies[k], other)) 668 r = set_remove_and_put(back->dependencies[ [all...] |
H A D | transaction.c | 267 "Probably contradicting requirement dependencies configured.", 421 /* We assume that the dependencies are bidirectional, and 423 SET_FOREACH(u, j->unit->dependencies[UNIT_BEFORE], i) { 610 /* Clean the job dependencies */ 703 * collect its dependencies. */ 895 * add all dependencies of everybody following. */ 908 /* Finally, recursively add in all dependencies. */ 910 SET_FOREACH(dep, ret->unit->dependencies[UNIT_REQUIRES], i) { 920 SET_FOREACH(dep, ret->unit->dependencies[UNIT_BINDS_TO], i) { 930 SET_FOREACH(dep, ret->unit->dependencies[UNIT_WANT [all...] |
H A D | target.c | 66 /* Imply ordering for requirement dependencies on target 72 SET_FOREACH(other, UNIT(t)->dependencies[deps[k]], i) {
|
H A D | job.c | 466 * dependencies, regardless whether they are 469 SET_FOREACH(other, j->unit->dependencies[UNIT_AFTER], i) 477 SET_FOREACH(other, j->unit->dependencies[UNIT_BEFORE], i) 814 SET_FOREACH(other, u->dependencies[d], i) { 874 /* Trigger OnFailure dependencies that are not generated by 896 SET_FOREACH(other, u->dependencies[UNIT_AFTER], i) 899 SET_FOREACH(other, u->dependencies[UNIT_BEFORE], i) 1219 [JOB_IGNORE_DEPENDENCIES] = "ignore-dependencies",
|
H A D | unit.h | 83 Set *dependencies[_UNIT_DEPENDENCY_MAX]; member in struct:Unit 198 /* Create default dependencies */ 440 #define UNIT_TRIGGER(u) ((Unit*) set_first((u)->dependencies[UNIT_TRIGGERS]))
|
H A D | path.c | 345 if (set_isempty(u->dependencies[UNIT_TRIGGERS])) {
|
H A D | cgroup.c | 576 SET_FOREACH(member, u->dependencies[UNIT_BEFORE], i) { 976 SET_FOREACH(m, slice->dependencies[UNIT_BEFORE], i) {
|
H A D | busname.c | 582 SET_FOREACH(other, UNIT(n)->dependencies[UNIT_TRIGGERS], i)
|
H A D | timer.c | 182 if (set_isempty(u->dependencies[UNIT_TRIGGERS])) {
|
H A D | mount.c | 396 /* We do not add any default dependencies to / and /usr, since 576 SET_FOREACH(p, UNIT(m)->dependencies[UNIT_TRIGGERED_BY], i) 1349 * dependencies ever. */ 1419 * remount. Add remote-fs dependencies, even though
|
H A D | manager.c | 833 SET_FOREACH(other, u->dependencies[UNIT_REFERENCED_BY], i) {
|
H A D | socket.c | 1925 SET_FOREACH(other, UNIT(s)->dependencies[UNIT_TRIGGERS], i)
|
H A D | load-fragment.c | 1441 if (!set_isempty(u->dependencies[UNIT_TRIGGERS])) {
|
H A D | service.c | 525 /* Add a number of automatic dependencies useful for the 1069 SET_FOREACH(u, UNIT(s)->dependencies[UNIT_TRIGGERED_BY], i) { 2004 * trigger BindsTo and/or OnFailure dependencies. If a user
|
/systemd/test/TEST-03-JOBS/ |
H A D | test-jobs.sh | 3 # Test merging of a --job-mode=ignore-dependencies job into a previously 17 systemctl start --job-mode=ignore-dependencies hello
|
/systemd/src/systemctl/ |
H A D | systemctl.c | 1502 static const char *dependencies[_DEPENDENCY_MAX] = { local 1526 assert_cc(ELEMENTSOF(dependencies) == _DEPENDENCY_MAX); 1555 if (!nulstr_contains(dependencies[arg_dependency], prop)) { 6188 " --reverse Show reverse dependencies with 'list-dependencies'\n" 6216 " --plain Print unit dependencies as a list instead of a tree\n\n" 6242 " list-dependencies [NAME] Recursively show units which are required\n" 6482 { "ignore-dependencies", no_argument, NULL, ARG_IGNORE_DEPENDENCIES }, /* compatibility only */ 6648 arg_job_mode = "ignore-dependencies"; 7375 { "list-dependencies", VERB_AN [all...] |