Searched refs:proc_cmdline_get_key (Results 1 – 12 of 12) sorted by relevance
/systemd-251/src/test/ |
D | test-proc-cmdline.c | 38 assert_se(proc_cmdline_get_key("foo_bar", 0, &value) > 0 && streq_ptr(value, "quux")); in TEST() 41 …assert_se(proc_cmdline_get_key("some_arg_with_space", 0, &value) > 0 && streq_ptr(value, "foo bar"… in TEST() 44 … assert_se(proc_cmdline_get_key("and_one_more", 0, &value) > 0 && streq_ptr(value, "zzz aaa")); in TEST() 51 assert_se(proc_cmdline_get_key("foo_bar", 0, &value) > 0 && streq_ptr(value, "quux")); in TEST() 54 …assert_se(proc_cmdline_get_key("some_arg_with_space", 0, &value) > 0 && streq_ptr(value, "foo bar"… in TEST() 57 … assert_se(proc_cmdline_get_key("and_one_more", 0, &value) > 0 && streq_ptr(value, "zzz aaa")); in TEST() 109 TEST(proc_cmdline_get_key) { in TEST() argument 114 assert_se(proc_cmdline_get_key("", 0, &value) == -EINVAL); in TEST() 115 assert_se(proc_cmdline_get_key("abc", 0, NULL) == 0); in TEST() 116 assert_se(proc_cmdline_get_key("abc", 0, &value) == 0 && value == NULL); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | proc-cmdline.c | 225 int proc_cmdline_get_key(const char *key, ProcCmdlineFlags flags, char **ret_value) { in proc_cmdline_get_key() function 286 r = proc_cmdline_get_key(key, PROC_CMDLINE_VALUE_OPTIONAL, &v); in proc_cmdline_get_bool()
|
D | proc-cmdline.h | 22 int proc_cmdline_get_key(const char *parameter, ProcCmdlineFlags flags, char **value);
|
D | terminal-util.c | 1331 (void) proc_cmdline_get_key("TERM", 0, &s); in dev_console_colors_enabled()
|
/systemd-251/src/shared/ |
D | volatile-util.c | 17 r = proc_cmdline_get_key("systemd.volatile", PROC_CMDLINE_VALUE_OPTIONAL, &mode); in query_volatile_mode()
|
D | netif-naming-scheme.c | 56 (void) proc_cmdline_get_key("net.naming-scheme", 0, &buffer); in naming_scheme()
|
D | hostname-setup.c | 150 r = proc_cmdline_get_key("systemd.hostname", 0, &b); in hostname_setup()
|
D | cgroup-setup.c | 104 r = proc_cmdline_get_key("cgroup_no_v1", 0, &c); in cg_is_unified_wanted()
|
/systemd-251/src/systemctl/ |
D | systemctl-switch-root.c | 32 r = proc_cmdline_get_key("init", 0, &cmdline_init); in verb_switch_root()
|
/systemd-251/src/core/ |
D | import-creds.c | 530 … r = proc_cmdline_get_key("systemd.import_credentials", PROC_CMDLINE_STRIP_RD_PREFIX, &v); in import_credentials()
|
D | main.c | 1404 r = proc_cmdline_get_key("TERM", 0, &term); in fixup_environment()
|
/systemd-251/src/udev/ |
D | udev-rules.c | 1930 …r = proc_cmdline_get_key(token->value, PROC_CMDLINE_VALUE_OPTIONAL|PROC_CMDLINE_IGNORE_EFI_OPTIONS… in udev_rule_apply_token_to_event()
|