Lines Matching refs:line
81 int proc_cmdline_parse_given(const char *line, proc_cmdline_parse_t parse_item, void *data, ProcCmd… in proc_cmdline_parse_given() argument
91 p = line; in proc_cmdline_parse_given()
115 _cleanup_free_ char *line = NULL; in proc_cmdline_parse() local
123 r = systemd_efi_options_variable(&line); in proc_cmdline_parse()
128 r = proc_cmdline_parse_given(line, parse_item, data, flags); in proc_cmdline_parse()
132 line = mfree(line); in proc_cmdline_parse()
136 r = proc_cmdline(&line); in proc_cmdline_parse()
140 return proc_cmdline_parse_given(line, parse_item, data, flags); in proc_cmdline_parse()
175 static int cmdline_get_key(const char *line, const char *key, ProcCmdlineFlags flags, char **ret_va… in cmdline_get_key() argument
181 assert(line); in cmdline_get_key()
184 p = line; in cmdline_get_key()
226 _cleanup_free_ char *line = NULL, *v = NULL; in proc_cmdline_get_key() local
249 r = proc_cmdline(&line); in proc_cmdline_get_key()
254 return cmdline_get_key(line, key, flags, ret_value); in proc_cmdline_get_key()
256 r = cmdline_get_key(line, key, flags, ret_value ? &v : NULL); in proc_cmdline_get_key()
266 line = mfree(line); in proc_cmdline_get_key()
267 r = systemd_efi_options_variable(&line); in proc_cmdline_get_key()
277 return cmdline_get_key(line, key, flags, ret_value); in proc_cmdline_get_key()
306 _cleanup_free_ char *line = NULL; in proc_cmdline_get_key_many_internal() local
319 r = systemd_efi_options_variable(&line); in proc_cmdline_get_key_many_internal()
324 p = line; in proc_cmdline_get_key_many_internal()
336 line = mfree(line); in proc_cmdline_get_key_many_internal()
337 r = proc_cmdline(&line); in proc_cmdline_get_key_many_internal()
341 p = line; in proc_cmdline_get_key_many_internal()