Lines Matching defs:value
45 int parse_proc_cmdline(int (*parse_item)(const char *key, const char *value)) {
59 char *value = NULL;
72 value = strchr(word, '=');
73 if (value)
74 *(value++) = 0;
76 r = parse_item(word, value);
84 int get_proc_cmdline_key(const char *key, char **value) {
112 if (value) {
128 if (value) {
129 *value = ret;
138 _cleanup_free_ char *value = NULL;
141 r = get_proc_cmdline_key("systemd.restore_state=", &value);
147 return parse_boolean(value);