/systemd-251/src/systemctl/ |
D | systemctl-is-active.c | 46 static const UnitActiveState states[] = { in verb_is_active() local 52 …return check_unit_generic(EXIT_PROGRAM_NOT_RUNNING, states, ELEMENTSOF(states), strv_skip(argv, 1)… in verb_is_active() 56 static const UnitActiveState states[] = { in verb_is_failed() local 60 …return check_unit_generic(EXIT_PROGRAM_DEAD_AND_PID_EXISTS, states, ELEMENTSOF(states), strv_skip(… in verb_is_failed()
|
D | systemctl-list-unit-files.c | 28 static bool output_show_unit_file(const UnitFileList *u, char **states, char **patterns) { in output_show_unit_file() argument 45 if (!strv_isempty(states) && in output_show_unit_file() 46 !strv_contains(states, unit_file_state_to_string(u->state))) in output_show_unit_file()
|
/systemd-251/src/shared/ |
D | sleep-config.c | 55 …{ "Sleep", "SuspendState", config_parse_strv, 0, sc->states + SLEEP_SUSPEND … in parse_sleep_config() 57 …{ "Sleep", "HibernateState", config_parse_strv, 0, sc->states + SLEEP_HIBERNATE … in parse_sleep_config() 59 …{ "Sleep", "HybridSleepState", config_parse_strv, 0, sc->states + SLEEP_HYBRID_SLEEP … in parse_sleep_config() 82 if (!sc->states[SLEEP_SUSPEND]) in parse_sleep_config() 83 sc->states[SLEEP_SUSPEND] = strv_new("mem", "standby", "freeze"); in parse_sleep_config() 86 if (!sc->states[SLEEP_HIBERNATE]) in parse_sleep_config() 87 sc->states[SLEEP_HIBERNATE] = strv_new("disk"); in parse_sleep_config() 90 if (!sc->states[SLEEP_HYBRID_SLEEP]) in parse_sleep_config() 91 sc->states[SLEEP_HYBRID_SLEEP] = strv_new("disk"); in parse_sleep_config() 96 if (!sc->states[SLEEP_SUSPEND] || !sc->modes[SLEEP_HIBERNATE] in parse_sleep_config() [all …]
|
D | sleep-config.h | 19 char **states[_SLEEP_OPERATION_MAX]; member
|
D | install.h | 191 int unit_file_get_list(LookupScope scope, const char *root_dir, Hashmap *h, char **states, char **p…
|
D | install.c | 3554 char **states, in unit_file_get_list() argument 3610 if (!strv_isempty(states) && in unit_file_get_list() 3611 !strv_contains(states, unit_file_state_to_string(f->state))) in unit_file_get_list()
|
/systemd-251/src/sleep/ |
D | sleep.c | 104 static int write_state(FILE **f, char **states) { in write_state() argument 110 STRV_FOREACH(state, states) { in write_state() 188 char **modes, **states; in execute() local 196 states = sleep_config->states[operation]; in execute() 199 if (strv_isempty(states)) in execute() 247 r = write_state(&f, states); in execute()
|
/systemd-251/src/network/ |
D | networkd-util.c | 28 static const char* states[] = { in network_config_state_to_string_alloc() local 40 for (size_t i = 0; i < ELEMENTSOF(states); i++) in network_config_state_to_string_alloc() 42 assert(states[i]); in network_config_state_to_string_alloc() 44 if (!strextend_with_separator(&buf, ",", states[i])) in network_config_state_to_string_alloc()
|
/systemd-251/src/test/ |
D | test-sleep.c | 28 sus = strv_join(sleep_config->states[SLEEP_SUSPEND], ", "); in TEST() 30 his = strv_join(sleep_config->states[SLEEP_HIBERNATE], ", "); in TEST() 32 hys = strv_join(sleep_config->states[SLEEP_HYBRID_SLEEP], ", "); in TEST()
|
/systemd-251/src/core/ |
D | dbus-manager.c | 1180 …red(sd_bus_message *message, void *userdata, sd_bus_error *error, char **states, char **patterns) { in list_units_filtered() argument 1208 if (!strv_isempty(states) && in list_units_filtered() 1209 !strv_contains(states, unit_load_state_to_string(u->load_state)) && in list_units_filtered() 1210 !strv_contains(states, unit_active_state_to_string(unit_active_state(u))) && in list_units_filtered() 1211 !strv_contains(states, unit_sub_state_to_string(u))) in list_units_filtered() 1235 _cleanup_strv_free_ char **states = NULL; in method_list_units_filtered() local 1238 r = sd_bus_message_read_strv(message, &states); in method_list_units_filtered() 1242 return list_units_filtered(message, userdata, error, states, NULL); in method_list_units_filtered() 1246 _cleanup_strv_free_ char **states = NULL; in method_list_units_by_patterns() local 1250 r = sd_bus_message_read_strv(message, &states); in method_list_units_by_patterns() [all …]
|
/systemd-251/docs/ |
D | PORTABILITY_AND_STABILITY.md | 28 …states of the various state machines used in systemd**, e.g. the high-level unit states inactive, …
|
/systemd-251/ |
D | LICENSE.LGPL2.1 | 250 Section 6 states terms for distribution of such executables.
|
D | NEWS | 11136 with the states "starting", "running", "degraded", 11137 "maintenance", "stopping". These states are bound to system 11599 devices. More specifically, the rfkill and backlight states 13943 * systemd and logind now handle system sleep states, in 14340 the START or START_PRE states are now killed with
|
/systemd-251/LICENSES/ |
D | LGPL-2.0-or-later.txt | 88 …library". The executable is therefore covered by this License. Section 6 states terms for distribu…
|