Searched refs:proc_cmdline_get_bool (Results 1 – 9 of 9) sorted by relevance
/systemd-251/src/test/ |
D | test-proc-cmdline.c | 154 TEST(proc_cmdline_get_bool) { in TEST() argument 160 assert_se(proc_cmdline_get_bool("", &value) == -EINVAL); in TEST() 161 assert_se(proc_cmdline_get_bool("abc", &value) == 0 && value == false); in TEST() 162 assert_se(proc_cmdline_get_bool("foo_bar", &value) > 0 && value == true); in TEST() 163 assert_se(proc_cmdline_get_bool("foo-bar", &value) > 0 && value == true); in TEST() 164 assert_se(proc_cmdline_get_bool("bar-waldo", &value) > 0 && value == true); in TEST() 165 assert_se(proc_cmdline_get_bool("bar_waldo", &value) > 0 && value == true); in TEST() 166 assert_se(proc_cmdline_get_bool("x_y-z", &value) > 0 && value == false); in TEST() 167 assert_se(proc_cmdline_get_bool("x-y-z", &value) > 0 && value == false); in TEST() 168 assert_se(proc_cmdline_get_bool("x-y_z", &value) > 0 && value == false); in TEST() [all …]
|
/systemd-251/src/basic/ |
D | proc-cmdline.h | 23 int proc_cmdline_get_bool(const char *key, bool *ret);
|
D | proc-cmdline.c | 280 int proc_cmdline_get_bool(const char *key, bool *ret) { in proc_cmdline_get_bool() function
|
/systemd-251/src/shared/ |
D | reboot-util.c | 104 r = proc_cmdline_get_bool("systemd.restore_state", &ret); in shall_restore_state()
|
D | cgroup-setup.c | 98 r = proc_cmdline_get_bool("systemd.unified_cgroup_hierarchy", &b); in cg_is_unified_wanted() 149 r = proc_cmdline_get_bool("systemd.legacy_systemd_cgroup_controller", &b); in cg_is_hybrid_wanted()
|
D | condition.c | 715 r = proc_cmdline_get_bool("systemd.condition-needs-update", &b); in condition_test_needs_update() 799 r = proc_cmdline_get_bool("systemd.condition-first-boot", &b); in condition_test_first_boot()
|
/systemd-251/src/firstboot/ |
D | firstboot.c | 1346 r = proc_cmdline_get_bool("systemd.firstboot", &enabled); in run()
|
/systemd-251/src/udev/net/ |
D | link-config.c | 705 r = proc_cmdline_get_bool("net.ifnames", &b); in enable_name_policy()
|
/systemd-251/src/partition/ |
D | repart.c | 4416 r = proc_cmdline_get_bool("systemd.factory_reset", &b); in parse_proc_cmdline_factory_reset()
|