Home
last modified time | relevance | path

Searched refs:ids (Results 1 – 21 of 21) sorted by relevance

/systemd-251/src/basic/ !
Dgenerate-filesystem-switch-case.py36 name, ids = line.split(",", 1) variable
42 ids = ids.strip() variable
43 assert ids[0] == "{"
44 assert ids[-1] == "}"
45 ids = ids[1:-1] variable
47 for id in ids.split(","):
Dunit-file.c389 _cleanup_hashmap_free_ Hashmap *ids = NULL, *names = NULL; in unit_file_build_name_map() local
539 if (hashmap_contains(ids, de->d_name)) in unit_file_build_name_map()
570 r = hashmap_ensure_put(&ids, &string_hash_ops_free_free, key, dst); in unit_file_build_name_map()
580 HASHMAP_FOREACH_KEY(dummy, src, ids) { in unit_file_build_name_map()
584 r = unit_ids_map_get(ids, src, &dst); in unit_file_build_name_map()
621 hashmap_free_and_replace(*unit_ids_map, ids); in unit_file_build_name_map()
/systemd-251/src/test/ !
Dtest-unit-file.c32 char **v, **ids; in TEST() local
36 ids = strv_skip(saved_argv, 1); in TEST()
58 STRV_FOREACH(id, ids) { in TEST()
75 STRV_FOREACH(id, ids) { in TEST()
/systemd-251/src/sysupdate/ !
Dsysupdate-partition.c110 const char *pts, *ids, *label; in read_partition_info() local
162 ids = fdisk_partition_get_uuid(p); in read_partition_info()
163 if (!ids) in read_partition_info()
166 r = sd_id128_from_string(ids, &id); in read_partition_info()
168 return log_error_errno(r, "Failed to parse partition UUID %s: %m", ids); in read_partition_info()
/systemd-251/tools/ !
Dupdate-hwdb.sh19 curl --fail -L -o usb.ids 'http://www.linux-usb.org/usb.ids'
20 curl --fail -L -o pci.ids 'http://pci-ids.ucw.cz/v2.2/pci.ids'
/systemd-251/shell-completion/zsh/ !
D_bootctl10 local -a ids
13 ids+="$b"
16 _wanted id expl 'boot id' compadd "$@" -a ids
D_journalctl56 "bootid:boot ids:compadd -a _bootid"
/systemd-251/hwdb.d/ !
D.gitattributes2 /pci.ids -whitespace
D20-sdio-classes.hwdb3 # Data imported from: hwdb.d/sdio.ids
D20-sdio-vendor-model.hwdb3 # Data imported from: hwdb.d/sdio.ids
D20-pci-classes.hwdb3 # Data imported from: http://pci-ids.ucw.cz/v2.2/pci.ids
D20-usb-classes.hwdb3 # Data imported from: http://www.linux-usb.org/usb.ids
Dusb.ids4 # Maintained by Stephen J. Gowdy <linux.usb.ids@gmail.com>
6 # http://www.linux-usb.org/usb-ids.html
10 # http://www.linux-usb.org/usb.ids
D20-usb-vendor-model.hwdb3 # Data imported from: http://www.linux-usb.org/usb.ids
D20-pci-vendor-model.hwdb3 # Data imported from: http://pci-ids.ucw.cz/v2.2/pci.ids
Dpci.ids8 # the PCI ID Project at https://pci-ids.ucw.cz/.
/systemd-251/src/shared/ !
Duser-record.c1072 int per_machine_id_match(JsonVariant *ids, JsonDispatchFlags flags) { in per_machine_id_match() argument
1078 return json_log(ids, flags, r, "Failed to acquire machine ID: %m"); in per_machine_id_match()
1080 if (json_variant_is_string(ids)) { in per_machine_id_match()
1083 r = sd_id128_from_string(json_variant_string(ids), &k); in per_machine_id_match()
1085 … json_log(ids, flags, r, "%s is not a valid machine ID, ignoring: %m", json_variant_string(ids)); in per_machine_id_match()
1092 if (json_variant_is_array(ids)) { in per_machine_id_match()
1095 JSON_VARIANT_ARRAY_FOREACH(e, ids) { in per_machine_id_match()
1116 json_log(ids, flags, 0, "Machine ID is not a string or array of strings, ignoring: %m"); in per_machine_id_match()
Duser-record.h430 int per_machine_id_match(JsonVariant *ids, JsonDispatchFlags flags);
/systemd-251/src/partition/ !
Drepart.c1498 _cleanup_free_ char *ids = NULL; in fdisk_ask_cb() local
1504 ids = new(char, SD_ID128_UUID_STRING_MAX); in fdisk_ask_cb()
1505 if (!ids) in fdisk_ask_cb()
1508 r = fdisk_ask_string_set_result(ask, sd_id128_to_uuid_string(*(sd_id128_t*) data, ids)); in fdisk_ask_cb()
1512 TAKE_PTR(ids); in fdisk_ask_cb()
1724 const char *pts, *ids, *label; in context_load_partition_table() local
1754 ids = fdisk_partition_get_uuid(p); in context_load_partition_table()
1755 if (!ids) in context_load_partition_table()
1758 r = sd_id128_from_string(ids, &id); in context_load_partition_table()
1760 return log_error_errno(r, "Failed to parse partition UUID %s: %m", ids); in context_load_partition_table()
/systemd-251/src/network/ !
Dnetworkd-nexthop.c310 _cleanup_set_free_ Set *ids = NULL; in nexthop_acquire_id() local
330 r = set_ensure_put(&ids, NULL, UINT32_TO_PTR(tmp->id)); in nexthop_acquire_id()
339 if (set_contains(ids, UINT32_TO_PTR(id))) in nexthop_acquire_id()
/systemd-251/ !
DTODO361 get these IDs (e.g. journal) or similar ids (e.g. MAC addresses, DMI ids, CPU
362 ids), so this knob would only be useful in combination with other lockdown
389 * bootspec: remove tries counter from boot entry ids
813 /proc/self/status. Then add these ids implicitly when logging. Deriving this
1513 services that run under their own user ids, and use User= (but only