Home
last modified time | relevance | path

Searched refs:runlevel_to_target (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-unit-file.c88 TEST(runlevel_to_target) { in TEST() argument
90 assert_se(streq_ptr(runlevel_to_target(NULL), NULL)); in TEST()
91 assert_se(streq_ptr(runlevel_to_target("unknown-runlevel"), NULL)); in TEST()
92 assert_se(streq_ptr(runlevel_to_target("rd.unknown-runlevel"), NULL)); in TEST()
93 assert_se(streq_ptr(runlevel_to_target("3"), SPECIAL_MULTI_USER_TARGET)); in TEST()
94 assert_se(streq_ptr(runlevel_to_target("rd.rescue"), NULL)); in TEST()
97 assert_se(streq_ptr(runlevel_to_target(NULL), NULL)); in TEST()
98 assert_se(streq_ptr(runlevel_to_target("unknown-runlevel"), NULL)); in TEST()
99 assert_se(streq_ptr(runlevel_to_target("rd.unknown-runlevel"), NULL)); in TEST()
100 assert_se(streq_ptr(runlevel_to_target("3"), NULL)); in TEST()
[all …]
/systemd-251/src/system-update-generator/
Dsystem-update-generator.c49 else if (!value && runlevel_to_target(key)) in parse_proc_cmdline_item()
/systemd-251/src/basic/
Dunit-file.h62 const char* runlevel_to_target(const char *rl);
Dunit-file.c804 const char* runlevel_to_target(const char *word) { in runlevel_to_target() function
/systemd-251/src/systemctl/
Dsystemctl-set-default.c25 if (runlevel_to_target(key)) in parse_proc_cmdline_item()
/systemd-251/src/debug-generator/
Ddebug-generator.c83 target = runlevel_to_target(key); in parse_proc_cmdline_item()
/systemd-251/src/core/
Dmain.c500 target = runlevel_to_target(key); in parse_proc_cmdline_item()
1728 if (runlevel_to_target(src[i])) in filter_args()