Searched refs:runlevel_to_target (Results 1 – 7 of 7) sorted by relevance
88 TEST(runlevel_to_target) { in TEST() argument90 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 …]
49 else if (!value && runlevel_to_target(key)) in parse_proc_cmdline_item()
62 const char* runlevel_to_target(const char *rl);
804 const char* runlevel_to_target(const char *word) { in runlevel_to_target() function
25 if (runlevel_to_target(key)) in parse_proc_cmdline_item()
83 target = runlevel_to_target(key); in parse_proc_cmdline_item()
500 target = runlevel_to_target(key); in parse_proc_cmdline_item()1728 if (runlevel_to_target(src[i])) in filter_args()