Searched refs:skip_dev_prefix (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/test/ |
D | test-path-util.c | 963 TEST(skip_dev_prefix) { in TEST() argument 964 assert_se(streq(skip_dev_prefix("/"), "/")); in TEST() 965 assert_se(streq(skip_dev_prefix("/dev"), "")); in TEST() 966 assert_se(streq(skip_dev_prefix("/dev/"), "")); in TEST() 967 assert_se(streq(skip_dev_prefix("/dev/foo"), "foo")); in TEST() 968 assert_se(streq(skip_dev_prefix("/dev/foo/bar"), "foo/bar")); in TEST() 969 assert_se(streq(skip_dev_prefix("//dev"), "")); in TEST() 970 assert_se(streq(skip_dev_prefix("//dev//"), "")); in TEST() 971 assert_se(streq(skip_dev_prefix("/dev///foo"), "foo")); in TEST() 972 assert_se(streq(skip_dev_prefix("///dev///foo///bar"), "foo///bar")); in TEST() [all …]
|
/systemd-251/src/debug-generator/ |
D | debug-generator.c | 67 t = skip_dev_prefix(value); in parse_proc_cmdline_item() 69 t = skip_dev_prefix(DEBUGTTY); in parse_proc_cmdline_item() 153 if (streq(arg_debug_shell, skip_dev_prefix(DEBUGTTY))) in install_debug_shell_dropin()
|
/systemd-251/src/basic/ |
D | terminal-util.c | 614 return streq(skip_dev_prefix(tty), "console"); in tty_is_console() 622 tty = skip_dev_prefix(tty); in vtnr_from_tty() 762 tty = skip_dev_prefix(tty); in tty_is_vc_resolve() 930 c = strdup(skip_dev_prefix(path)); in getttyname_malloc()
|
D | path-util.h | 178 static inline const char *skip_dev_prefix(const char *p) { in skip_dev_prefix() function
|
/systemd-251/src/login/ |
D | pam_systemd.c | 797 tty = skip_dev_prefix(tty); in pam_sm_open_session()
|
/systemd-251/src/core/ |
D | execute.c | 5678 tty = skip_dev_prefix(tty); in tty_may_match_dev_console()
|