Searched defs:unit_name (Results 1 - 3 of 3) sorted by relevance
/systemd/src/test/ |
H A D | test-execute.c | 69 static void test(Manager *m, const char *unit_name, int status_expected, int code_expected) { argument 72 assert_se(unit_name); 74 assert_se(manager_load_unit(m, unit_name, NULL, NULL, &unit) >= 0);
|
/systemd/src/login/ |
H A D | logind-dbus.c | 1360 const char *unit_name) { 1365 assert(unit_name); 1370 if (streq(unit_name, SPECIAL_POWEROFF_TARGET)) { 1373 } else if (streq(unit_name, SPECIAL_HALT_TARGET)) { 1376 } else if (streq(unit_name, SPECIAL_REBOOT_TARGET)) { 1379 } else if (streq(unit_name, SPECIAL_KEXEC_TARGET)) { 1461 const char *unit_name, 1472 assert(unit_name); 1474 bus_manager_log_shutdown(m, w, unit_name); 1488 "ss", unit_name, "replac 1357 bus_manager_log_shutdown( Manager *m, InhibitWhat w, const char *unit_name) argument 1458 execute_shutdown_or_sleep( Manager *m, InhibitWhat w, const char *unit_name, sd_bus_error *error) argument 1565 delay_shutdown_or_sleep( Manager *m, InhibitWhat w, const char *unit_name) argument 1623 bus_manager_shutdown_or_sleep_now_or_later( Manager *m, const char *unit_name, InhibitWhat w, sd_bus_error *error) argument 1719 method_do_shutdown_or_sleep( Manager *m, sd_bus_message *message, const char *unit_name, InhibitWhat w, const char *action, const char *action_multiple_sessions, const char *action_ignore_inhibit, const char *sleep_verb, sd_bus_error *error) argument [all...] |
/systemd/src/systemctl/ |
H A D | systemctl.c | 2277 static int unit_file_find_path(LookupPaths *lp, const char *unit_name, char **unit_path) { argument 2281 assert(unit_name); 2287 path = path_join(arg_root, *p, unit_name); 2303 const char *unit_name, 2320 assert(unit_name); 2324 if (!install_client_side() && !unit_name_is_valid(unit_name, UNIT_NAME_TEMPLATE)) { 2328 unit = unit_dbus_path_from_name(unit_name); 2362 r = set_put(names, unit_name); 2366 r = unit_file_find_path(lp, unit_name, &path); 2373 r = unit_name_template(unit_name, 2301 unit_find_paths( sd_bus *bus, const char *unit_name, LookupPaths *lp, char **fragment_path, char ***dropin_paths) argument 5903 unit_file_create_dropin(const char *unit_name, const char *user_home, const char *user_runtime, char **ret_new_path, char **ret_tmp_path) argument 5928 unit_file_create_copy( const char *unit_name, const char *fragment_path, const char *user_home, const char *user_runtime, char **ret_new_path, char **ret_tmp_path) argument [all...] |
Completed in 1597 milliseconds