Home
last modified time | relevance | path

Searched refs:ret_value (Results 1 – 14 of 14) sorted by relevance

/systemd-251/src/basic/
Dproc-cmdline.c175 … int cmdline_get_key(const char *line, const char *key, ProcCmdlineFlags flags, char **ret_value) { in cmdline_get_key() argument
194 if (ret_value) { in cmdline_get_key()
219 if (ret_value) in cmdline_get_key()
220 *ret_value = TAKE_PTR(ret); in cmdline_get_key()
225 int proc_cmdline_get_key(const char *key, ProcCmdlineFlags flags, char **ret_value) { in proc_cmdline_get_key() argument
246 if (FLAGS_SET(flags, PROC_CMDLINE_VALUE_OPTIONAL) && !ret_value) 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()
260 if (ret_value) in proc_cmdline_get_key()
261 *ret_value = TAKE_PTR(v); in proc_cmdline_get_key()
[all …]
Defivars.c37 void **ret_value, in efi_get_variable() argument
51 if (!ret_value && !ret_size && !ret_attribute) { in efi_get_variable()
76 if (ret_value || ret_attribute) { in efi_get_variable()
104 if (ret_value) { in efi_get_variable()
136 if (ret_value) in efi_get_variable()
137 *ret_value = TAKE_PTR(buf); in efi_get_variable()
Defivars.h46 int efi_get_variable(const char *variable, uint32_t *attribute, void **ret_value, size_t *ret_size);
/systemd-251/src/shared/
Dfstab-util.c86 char **ret_value, in fstab_filter_options() argument
96 assert(!(ret_value && ret_values)); in fstab_filter_options()
111 if (ret_filtered || ret_value || ret_values) { in fstab_filter_options()
140 if (ret_value || ret_values) { in fstab_filter_options()
143 if (ret_value) { in fstab_filter_options()
205 if (ret_value) in fstab_filter_options()
206 *ret_value = TAKE_PTR(value); in fstab_filter_options()
Dfstab-util.h17 char **ret_value,
Djson-internal.h76 int json_tokenize(const char **p, char **ret_string, JsonValue *ret_value, unsigned *ret_line, unsi…
Dudev-util.h47 int udev_rule_parse_value(char *str, char **ret_value, char **ret_endpos);
Dudev-util.c358 int udev_rule_parse_value(char *str, char **ret_value, char **ret_endpos) { in udev_rule_parse_value() argument
400 *ret_value = str; in udev_rule_parse_value()
Djson.c2596 JsonValue *ret_value, in json_tokenize() argument
2617 assert(ret_value); in json_tokenize()
2643 *ret_value = JSON_VALUE_NULL; in json_tokenize()
2682 *ret_value = JSON_VALUE_NULL; in json_tokenize()
2688 r = json_parse_number(&c, ret_value); in json_tokenize()
2698 ret_value->boolean = true; in json_tokenize()
2706 ret_value->boolean = false; in json_tokenize()
2714 *ret_value = JSON_VALUE_NULL; in json_tokenize()
2759 *ret_value = JSON_VALUE_NULL; in json_tokenize()
/systemd-251/src/udev/
Dudev-netlink.c298 const char **ret_value) { in device_get_sysattr_value_maybe_from_netlink() argument
308 return sd_device_get_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink()
313 return sd_device_get_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink()
315 r = device_get_cached_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink()
329 return sd_device_get_sysattr_value(device, sysattr, ret_value); in device_get_sysattr_value_maybe_from_netlink()
Dudev-netlink.h41 const char **ret_value);
Dudev-rules.c1004 …ine(char **line, char **ret_key, char **ret_attr, UdevRuleOperatorType *ret_op, char **ret_value) { in parse_line() argument
1013 assert(ret_value); in parse_line()
1048 r = udev_rule_parse_value(tmp, ret_value, line); in parse_line()
1427 static int get_property_from_string(char *line, char **ret_key, char **ret_value) { in get_property_from_string() argument
1433 assert(ret_value); in get_property_from_string()
1440 *ret_key = *ret_value = NULL; in get_property_from_string()
1468 *ret_value = val; in get_property_from_string()
/systemd-251/src/libsystemd/sd-device/
Dsd-device.c1988 …lic_ int sd_device_get_property_value(sd_device *device, const char *key, const char **ret_value) { in sd_device_get_property_value() argument
2003 if (ret_value) in sd_device_get_property_value()
2004 *ret_value = value; in sd_device_get_property_value()
2078 int device_get_cached_sysattr_value(sd_device *device, const char *key, const char **ret_value) { in device_get_cached_sysattr_value() argument
2089 if (ret_value) in device_get_cached_sysattr_value()
2090 *ret_value = value; in device_get_cached_sysattr_value()
2096 …_ int sd_device_get_sysattr_value(sd_device *device, const char *sysattr, const char **ret_value) { in sd_device_get_sysattr_value() argument
2106 r = device_get_cached_sysattr_value(device, sysattr, ret_value); in sd_device_get_sysattr_value()
2163 sysattr, value, ret_value ? "" : ", ignoring"); in sd_device_get_sysattr_value()
2164 if (ret_value) in sd_device_get_sysattr_value()
[all …]
Ddevice-private.h29 int device_get_cached_sysattr_value(sd_device *device, const char *key, const char **ret_value);