key 1189 build2/src/core/load-fragment-gperf.c register int key = load_fragment_gperf_hash (str, len); key 1191 build2/src/core/load-fragment-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 1193 build2/src/core/load-fragment-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 1196 build2/src/core/load-fragment-gperf.c return &wordlist[key]; key 158 build2/src/journal/journald-gperf.c register int key = journald_gperf_hash (str, len); key 160 build2/src/journal/journald-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 162 build2/src/journal/journald-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 165 build2/src/journal/journald-gperf.c return &wordlist[key]; key 164 build2/src/libsystemd/sd-bus/bus-error-mapping.c register int key = bus_error_mapping_hash (str, len); key 166 build2/src/libsystemd/sd-bus/bus-error-mapping.c if (key <= MAX_HASH_VALUE && key >= 0) key 168 build2/src/libsystemd/sd-bus/bus-error-mapping.c register const char *s = wordlist[key].name; key 171 build2/src/libsystemd/sd-bus/bus-error-mapping.c return &wordlist[key]; key 130 build2/src/login/logind-gperf.c register int key = logind_gperf_hash (str, len); key 132 build2/src/login/logind-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 134 build2/src/login/logind-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 137 build2/src/login/logind-gperf.c return &wordlist[key]; key 176 build2/src/network/networkd-netdev-gperf.c register int key = network_netdev_gperf_hash (str, len); key 178 build2/src/network/networkd-netdev-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 180 build2/src/network/networkd-netdev-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 183 build2/src/network/networkd-netdev-gperf.c return &wordlist[key]; key 180 build2/src/network/networkd-network-gperf.c register int key = network_network_gperf_hash (str, len); key 182 build2/src/network/networkd-network-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 184 build2/src/network/networkd-network-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 187 build2/src/network/networkd-network-gperf.c return &wordlist[key]; key 56 build2/src/resolve/resolved-gperf.c register int key = resolved_gperf_hash (str, len); key 58 build2/src/resolve/resolved-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 60 build2/src/resolve/resolved-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 63 build2/src/resolve/resolved-gperf.c return &wordlist[key]; key 217 build2/src/shared/af-from-name.h register int key = hash_af_name (str, len); key 219 build2/src/shared/af-from-name.h if (key <= MAX_HASH_VALUE && key >= 0) key 221 build2/src/shared/af-from-name.h register const char *s = wordlist[key].name; key 224 build2/src/shared/af-from-name.h return &wordlist[key]; key 367 build2/src/shared/errno-from-name.h register int key = hash_errno_name (str, len); key 369 build2/src/shared/errno-from-name.h if (key <= MAX_HASH_VALUE && key >= 0) key 371 build2/src/shared/errno-from-name.h register const char *s = wordlist[key].name; key 374 build2/src/shared/errno-from-name.h return &wordlist[key]; key 54 build2/src/timesync/timesyncd-gperf.c register int key = timesyncdd_gperf_hash (str, len); key 56 build2/src/timesync/timesyncd-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 58 build2/src/timesync/timesyncd-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 61 build2/src/timesync/timesyncd-gperf.c return &wordlist[key]; key 122 build2/src/udev/keyboard-keys-from-name.h const struct key * key 125 build2/src/udev/keyboard-keys-from-name.h static const struct key wordlist[] = key 1009 build2/src/udev/keyboard-keys-from-name.h register int key = hash_key_name (str, len); key 1011 build2/src/udev/keyboard-keys-from-name.h if (key <= MAX_HASH_VALUE && key >= 0) key 1013 build2/src/udev/keyboard-keys-from-name.h register const char *s = wordlist[key].name; key 1016 build2/src/udev/keyboard-keys-from-name.h return &wordlist[key]; key 133 build2/src/udev/net/link-config-gperf.c register int key = link_config_gperf_hash (str, len); key 135 build2/src/udev/net/link-config-gperf.c if (key <= MAX_HASH_VALUE && key >= 0) key 137 build2/src/udev/net/link-config-gperf.c register const char *s = wordlist[key].section_and_lvalue; key 140 build2/src/udev/net/link-config-gperf.c return &wordlist[key]; key 116 src/bootchart/store.c char key[256]; key 163 src/bootchart/store.c if (sscanf(m, "%s %s", key, val) < 2) key 165 src/bootchart/store.c if (streq(key, "pgpgin")) key 167 src/bootchart/store.c if (streq(key, "pgpgout")) { key 197 src/bootchart/store.c if (sscanf(m, "%s %*s %*s %*s %*s %*s %*s %s %s", key, rt, wt) < 3) key 200 src/bootchart/store.c if (strstr(key, "cpu")) { key 201 src/bootchart/store.c r = safe_atoi((const char*)(key+3), &c); key 295 src/bootchart/store.c if (!sscanf(buf, "%s %*s %*s", key)) key 298 src/bootchart/store.c strscpy(ps->name, sizeof(ps->name), key); key 501 src/bootchart/store.c if (!sscanf(buf, "%s %*s %*s", key)) key 504 src/bootchart/store.c strscpy(ps->name, sizeof(ps->name), key); key 933 src/bus-proxyd/bus-proxyd.c const char *key; key 936 src/bus-proxyd/bus-proxyd.c r = sd_bus_message_read(m, "ss", &key, &value); key 940 src/bus-proxyd/bus-proxyd.c s = strjoin(key, "=", value, NULL); key 715 src/cgtop/cgtop.c char key; key 746 src/cgtop/cgtop.c r = read_one_char(stdin, &key, key 762 src/cgtop/cgtop.c switch (key) { key 831 src/cgtop/cgtop.c fprintf(stdout, "\nUnknown key '%c'. Ignoring.", key); key 650 src/core/automount.c static int automount_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 657 src/core/automount.c if (streq(key, "state")) { key 665 src/core/automount.c } else if (streq(key, "result")) { key 674 src/core/automount.c } else if (streq(key, "dev-id")) { key 681 src/core/automount.c } else if (streq(key, "token")) { key 695 src/core/automount.c } else if (streq(key, "pipe-fd")) { key 705 src/core/automount.c log_debug_unit(u->id, "Unknown serialization key '%s'", key); key 38 src/core/bus-endpoint.c _cleanup_free_ char *key = NULL; key 67 src/core/bus-endpoint.c key = strdup(name); key 68 src/core/bus-endpoint.c if (!key) key 71 src/core/bus-endpoint.c po->name = key; key 74 src/core/bus-endpoint.c r = hashmap_put(ep->policy_hash, key, po); key 79 src/core/bus-endpoint.c key = NULL; key 669 src/core/busname.c static int busname_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 673 src/core/busname.c assert(key); key 676 src/core/busname.c if (streq(key, "state")) { key 685 src/core/busname.c } else if (streq(key, "result")) { key 694 src/core/busname.c } else if (streq(key, "control-pid")) { key 701 src/core/busname.c } else if (streq(key, "starter-fd")) { key 711 src/core/busname.c log_debug_unit(u->id, "Unknown serialization key '%s'", key); key 2739 src/core/execute.c int exec_runtime_deserialize_item(ExecRuntime **rt, Unit *u, const char *key, const char *value, FDSet *fds) { key 2743 src/core/execute.c assert(key); key 2746 src/core/execute.c if (streq(key, "tmp-dir")) { key 2760 src/core/execute.c } else if (streq(key, "var-tmp-dir")) { key 2774 src/core/execute.c } else if (streq(key, "netns-socket-0")) { key 2787 src/core/execute.c } else if (streq(key, "netns-socket-1")) { key 257 src/core/execute.h int exec_runtime_deserialize_item(ExecRuntime **rt, Unit *u, const char *key, const char *value, FDSet *fds); key 267 src/core/main.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 285 src/core/main.c assert(key); key 287 src/core/main.c if (streq(key, "systemd.unit") && value) { key 292 src/core/main.c } else if (streq(key, "rd.systemd.unit") && value) { key 297 src/core/main.c } else if (streq(key, "systemd.dump_core") && value) { key 305 src/core/main.c } else if (streq(key, "systemd.crash_shell") && value) { key 313 src/core/main.c } else if (streq(key, "systemd.crash_chvt") && value) { key 320 src/core/main.c } else if (streq(key, "systemd.confirm_spawn") && value) { key 328 src/core/main.c } else if (streq(key, "systemd.show_status") && value) { key 334 src/core/main.c } else if (streq(key, "systemd.default_standard_output") && value) { key 342 src/core/main.c } else if (streq(key, "systemd.default_standard_error") && value) { key 350 src/core/main.c } else if (streq(key, "systemd.setenv") && value) { key 363 src/core/main.c } else if (streq(key, "quiet") && !value) { key 370 src/core/main.c } else if (streq(key, "debug") && !value) { key 383 src/core/main.c if (streq(key, rlmap[i])) key 1074 src/core/mount.c static int mount_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 1078 src/core/mount.c assert(key); key 1082 src/core/mount.c if (streq(key, "state")) { key 1089 src/core/mount.c } else if (streq(key, "result")) { key 1099 src/core/mount.c } else if (streq(key, "reload-result")) { key 1109 src/core/mount.c } else if (streq(key, "control-pid")) { key 1117 src/core/mount.c } else if (streq(key, "control-command")) { key 1129 src/core/mount.c "Unknown serialization key '%s'", key); key 622 src/core/path.c static int path_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 626 src/core/path.c assert(key); key 630 src/core/path.c if (streq(key, "state")) { key 639 src/core/path.c } else if (streq(key, "result")) { key 649 src/core/path.c log_debug("Unknown serialization key '%s'", key); key 363 src/core/scope.c static int scope_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 367 src/core/scope.c assert(key); key 371 src/core/scope.c if (streq(key, "state")) { key 381 src/core/scope.c log_debug("Unknown serialization key '%s'", key); key 1819 src/core/service.c static int service_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 1823 src/core/service.c assert(key); key 1827 src/core/service.c if (streq(key, "state")) { key 1835 src/core/service.c } else if (streq(key, "result")) { key 1844 src/core/service.c } else if (streq(key, "reload-result")) { key 1853 src/core/service.c } else if (streq(key, "control-pid")) { key 1860 src/core/service.c } else if (streq(key, "main-pid")) { key 1869 src/core/service.c } else if (streq(key, "main-pid-known")) { key 1877 src/core/service.c } else if (streq(key, "status-text")) { key 1888 src/core/service.c } else if (streq(key, "control-command")) { key 1898 src/core/service.c } else if (streq(key, "socket-fd")) { key 1907 src/core/service.c } else if (streq(key, "endpoint-fd")) { key 1916 src/core/service.c } else if (streq(key, "main-exec-status-pid")) { key 1923 src/core/service.c } else if (streq(key, "main-exec-status-code")) { key 1930 src/core/service.c } else if (streq(key, "main-exec-status-status")) { key 1937 src/core/service.c } else if (streq(key, "main-exec-status-start")) key 1939 src/core/service.c else if (streq(key, "main-exec-status-exit")) key 1941 src/core/service.c else if (streq(key, "watchdog-timestamp")) key 1943 src/core/service.c else if (streq(key, "forbid-restart")) { key 1952 src/core/service.c log_debug_unit(u->id, "Unknown serialization key '%s'", key); key 221 src/core/slice.c static int slice_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 225 src/core/slice.c assert(key); key 229 src/core/slice.c if (streq(key, "state")) { key 239 src/core/slice.c log_debug("Unknown serialization key '%s'", key); key 144 src/core/snapshot.c static int snapshot_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 149 src/core/snapshot.c assert(key); key 153 src/core/snapshot.c if (streq(key, "state")) { key 162 src/core/snapshot.c } else if (streq(key, "cleanup")) { key 170 src/core/snapshot.c } else if (streq(key, "wants")) { key 176 src/core/snapshot.c log_debug_unit(u->id, "Unknown serialization key '%s'", key); key 2042 src/core/socket.c static int socket_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 2046 src/core/socket.c assert(key); key 2049 src/core/socket.c if (streq(key, "state")) { key 2057 src/core/socket.c } else if (streq(key, "result")) { key 2066 src/core/socket.c } else if (streq(key, "n-accepted")) { key 2073 src/core/socket.c } else if (streq(key, "control-pid")) { key 2080 src/core/socket.c } else if (streq(key, "control-command")) { key 2090 src/core/socket.c } else if (streq(key, "fifo")) { key 2109 src/core/socket.c } else if (streq(key, "special")) { key 2128 src/core/socket.c } else if (streq(key, "mqueue")) { key 2147 src/core/socket.c } else if (streq(key, "socket")) { key 2165 src/core/socket.c } else if (streq(key, "netlink")) { key 2183 src/core/socket.c log_debug_unit(UNIT(s)->id, "Unknown serialization key '%s'", key); key 873 src/core/swap.c static int swap_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 879 src/core/swap.c if (streq(key, "state")) { key 887 src/core/swap.c } else if (streq(key, "result")) { key 895 src/core/swap.c } else if (streq(key, "control-pid")) { key 903 src/core/swap.c } else if (streq(key, "control-command")) { key 914 src/core/swap.c log_debug_unit(u->id, "Unknown serialization key '%s'", key); key 164 src/core/target.c static int target_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 168 src/core/target.c assert(key); key 172 src/core/target.c if (streq(key, "state")) { key 182 src/core/target.c log_debug("Unknown serialization key '%s'", key); key 585 src/core/timer.c static int timer_deserialize_item(Unit *u, const char *key, const char *value, FDSet *fds) { key 590 src/core/timer.c assert(key); key 594 src/core/timer.c if (streq(key, "state")) { key 602 src/core/timer.c } else if (streq(key, "result")) { key 610 src/core/timer.c } else if (streq(key, "last-trigger-realtime")) { key 616 src/core/timer.c } else if (streq(key, "last-trigger-monotonic")) { key 623 src/core/timer.c log_debug_unit(u->id, "Unknown serialization key '%s'", key); key 2531 src/core/unit.c void unit_serialize_item_format(Unit *u, FILE *f, const char *key, const char *format, ...) { key 2536 src/core/unit.c assert(key); key 2539 src/core/unit.c fputs(key, f); key 2549 src/core/unit.c void unit_serialize_item(Unit *u, FILE *f, const char *key, const char *value) { key 2552 src/core/unit.c assert(key); key 2555 src/core/unit.c fprintf(f, "%s=%s\n", key, value); key 318 src/core/unit.h int (*deserialize_item)(Unit *u, const char *key, const char *data, FDSet *fds); key 523 src/core/unit.h void unit_serialize_item_format(Unit *u, FILE *f, const char *key, const char *value, ...) _printf_(4,5); key 524 src/core/unit.h void unit_serialize_item(Unit *u, FILE *f, const char *key, const char *value); key 266 src/cryptsetup/cryptsetup-generator.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 269 src/cryptsetup/cryptsetup-generator.c if (STR_IN_SET(key, "luks", "rd.luks") && value) { key 277 src/cryptsetup/cryptsetup-generator.c } else if (STR_IN_SET(key, "luks.crypttab", "rd.luks.crypttab") && value) { key 285 src/cryptsetup/cryptsetup-generator.c } else if (STR_IN_SET(key, "luks.uuid", "rd.luks.uuid") && value) { key 290 src/cryptsetup/cryptsetup-generator.c } else if (STR_IN_SET(key, "luks.options", "rd.luks.options") && value) { key 295 src/cryptsetup/cryptsetup-generator.c } else if (STR_IN_SET(key, "luks.key", "rd.luks.key") && value) { key 32 src/debug-generator/debug-generator.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 35 src/debug-generator/debug-generator.c assert(key); key 37 src/debug-generator/debug-generator.c if (streq(key, "systemd.mask")) { key 53 src/debug-generator/debug-generator.c } else if (streq(key, "systemd.wants")) { key 69 src/debug-generator/debug-generator.c } else if (streq(key, "systemd.debug-shell")) { key 362 src/delta/delta.c char *key; key 396 src/delta/delta.c HASHMAP_FOREACH_KEY(f, key, top, i) { key 399 src/delta/delta.c o = hashmap_get(bottom, key); key 414 src/delta/delta.c h = hashmap_get(drops, key); key 427 src/delta/delta.c HASHMAP_FOREACH_KEY(h, key, drops, i){ key 428 src/delta/delta.c hashmap_free_free(hashmap_remove(drops, key)); key 429 src/delta/delta.c hashmap_remove(drops, key); key 430 src/delta/delta.c free(key); key 78 src/fsck/fsck.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 80 src/fsck/fsck.c if (streq(key, "fsck.mode") && value) { key 91 src/fsck/fsck.c } else if (streq(key, "fsck.repair") && value) { key 104 src/fsck/fsck.c else if (streq(key, "fastboot") && !value) { key 108 src/fsck/fsck.c } else if (streq(key, "forcefsck") && !value) { key 495 src/fstab-generator/fstab-generator.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 502 src/fstab-generator/fstab-generator.c if (STR_IN_SET(key, "fstab", "rd.fstab") && value) { key 510 src/fstab-generator/fstab-generator.c } else if (streq(key, "root") && value) { key 515 src/fstab-generator/fstab-generator.c } else if (streq(key, "rootfstype") && value) { key 520 src/fstab-generator/fstab-generator.c } else if (streq(key, "rootflags") && value) { key 532 src/fstab-generator/fstab-generator.c } else if (streq(key, "mount.usr") && value) { key 537 src/fstab-generator/fstab-generator.c } else if (streq(key, "mount.usrfstype") && value) { key 542 src/fstab-generator/fstab-generator.c } else if (streq(key, "mount.usrflags") && value) { key 554 src/fstab-generator/fstab-generator.c } else if (streq(key, "rw") && !value) key 556 src/fstab-generator/fstab-generator.c else if (streq(key, "ro") && !value) key 674 src/gpt-auto-generator/gpt-auto-generator.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 677 src/gpt-auto-generator/gpt-auto-generator.c assert(key); key 679 src/gpt-auto-generator/gpt-auto-generator.c if (STR_IN_SET(key, "systemd.gpt_auto", "rd.systemd.gpt_auto") && value) { key 687 src/gpt-auto-generator/gpt-auto-generator.c } else if (streq(key, "root") && value) { key 694 src/gpt-auto-generator/gpt-auto-generator.c } else if (streq(key, "rw") && !value) key 696 src/gpt-auto-generator/gpt-auto-generator.c else if (streq(key, "ro") && !value) key 34 src/hibernate-resume/hibernate-resume-generator.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 35 src/hibernate-resume/hibernate-resume-generator.c if (streq(key, "resume") && value) { key 334 src/journal-remote/journal-gatewayd.c const char *key, key 343 src/journal-remote/journal-gatewayd.c if (isempty(key)) { key 348 src/journal-remote/journal-gatewayd.c if (streq(key, "follow")) { key 364 src/journal-remote/journal-gatewayd.c if (streq(key, "discrete")) { key 380 src/journal-remote/journal-gatewayd.c if (streq(key, "boot")) { key 412 src/journal-remote/journal-gatewayd.c p = strjoin(key, "=", strempty(value), NULL); key 241 src/journal-remote/journal-remote.c const void *key; key 247 src/journal-remote/journal-remote.c key = "one and only"; key 252 src/journal-remote/journal-remote.c key = host; key 259 src/journal-remote/journal-remote.c w = hashmap_get(s->writers, key); key 268 src/journal-remote/journal-remote.c w->hashmap_key = strdup(key); key 277 src/journal-remote/journal-remote.c r = hashmap_put(s->writers, w->hashmap_key ?: key, w); key 639 src/journal-remote/journal-remote.c const char *key, key 669 src/journal-remote/journal-remote.c if (key) { key 673 src/journal-remote/journal-remote.c {MHD_OPTION_HTTPS_MEM_KEY, 0, (char*) key}; key 702 src/journal-remote/journal-remote.c key ? "HTTPS" : "HTTP", fd, d); key 757 src/journal-remote/journal-remote.c const char *key, key 766 src/journal-remote/journal-remote.c return setup_microhttpd_server(s, fd, key, cert, trust); key 837 src/journal-remote/journal-remote.c const char* key, key 885 src/journal-remote/journal-remote.c r = setup_microhttpd_server(s, fd, key, cert, trust); key 952 src/journal-remote/journal-remote.c r = setup_microhttpd_socket(s, arg_listen_https, key, cert, trust); key 1468 src/journal-remote/journal-remote.c static int load_certificates(char **key, char **cert, char **trust) { key 1471 src/journal-remote/journal-remote.c r = read_full_file(arg_key ?: PRIV_KEY_FILE, key, NULL); key 1527 src/journal-remote/journal-remote.c _cleanup_free_ char *key = NULL, *cert = NULL, *trust = NULL; key 1545 src/journal-remote/journal-remote.c if (load_certificates(&key, &cert, &trust) < 0) key 1548 src/journal-remote/journal-remote.c if (remoteserver_init(&s, key, cert, trust) < 0) key 528 src/journal/catalog.c CatalogItem key, *f = NULL; key 532 src/journal/catalog.c zero(key); key 533 src/journal/catalog.c key.id = id; key 537 src/journal/catalog.c strncpy(key.language, loc, sizeof(key.language)); key 538 src/journal/catalog.c key.language[strcspn(key.language, ".@")] = 0; key 540 src/journal/catalog.c f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func); key 544 src/journal/catalog.c e = strchr(key.language, '_'); key 547 src/journal/catalog.c f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func); key 553 src/journal/catalog.c zero(key.language); key 554 src/journal/catalog.c f = bsearch(&key, (const uint8_t*) p + le64toh(h->header_size), le64toh(h->n_items), le64toh(h->catalog_item_size), catalog_compare_func); key 383 src/journal/fsprg.c void FSPRG_GetKey(const void *state, void *key, size_t keylen, uint32_t idx) { key 389 src/journal/fsprg.c det_randomize(key, keylen, state + 2, 2 * secpar / 8 + 8, idx); key 81 src/journal/journal-authenticate.c uint8_t key[256 / 8]; /* Let's pass 256 bit from FSPRG to HMAC */ key 92 src/journal/journal-authenticate.c FSPRG_GetKey(f->fsprg_state, key, sizeof(key), 0); key 93 src/journal/journal-authenticate.c gcry_md_setkey(f->hmac, key, sizeof(key)); key 492 src/journal/journal-authenticate.c int journal_file_parse_verification_key(JournalFile *f, const char *key) { key 504 src/journal/journal-authenticate.c k = key; key 793 src/journal/journal-verify.c const char *key, key 813 src/journal/journal-verify.c if (key) { key 815 src/journal/journal-verify.c r = journal_file_parse_verification_key(f, key); key 155 src/journal/journald-server.h const struct ConfigPerfItem* journald_gperf_lookup(const char *key, unsigned length); key 287 src/journal/lookup3.c uint32_t jenkins_hashlittle( const void *key, size_t length, uint32_t initval) key 295 src/journal/lookup3.c u.ptr = key; key 297 src/journal/lookup3.c const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ key 364 src/journal/lookup3.c const uint16_t *k = (const uint16_t *)key; /* read 16-bit chunks */ key 411 src/journal/lookup3.c const uint8_t *k = (const uint8_t *)key; key 469 src/journal/lookup3.c const void *key, /* the key to hash */ key 481 src/journal/lookup3.c u.ptr = key; key 483 src/journal/lookup3.c const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ key 550 src/journal/lookup3.c const uint16_t *k = (const uint16_t *)key; /* read 16-bit chunks */ key 597 src/journal/lookup3.c const uint8_t *k = (const uint8_t *)key; key 651 src/journal/lookup3.c uint32_t jenkins_hashbig( const void *key, size_t length, uint32_t initval) key 659 src/journal/lookup3.c u.ptr = key; key 661 src/journal/lookup3.c const uint32_t *k = (const uint32_t *)key; /* read 32-bit chunks */ key 728 src/journal/lookup3.c const uint8_t *k = (const uint8_t *)key; key 13 src/journal/lookup3.h uint32_t jenkins_hashlittle(const void *key, size_t length, uint32_t initval) _pure_; key 14 src/journal/lookup3.h void jenkins_hashlittle2(const void *key, size_t length, uint32_t *pc, uint32_t *pb); key 16 src/journal/lookup3.h uint32_t jenkins_hashbig(const void *key, size_t length, uint32_t initval) _pure_; key 385 src/libsystemd-network/network-internal.c void serialize_dhcp_routes(FILE *f, const char *key, struct sd_dhcp_route *routes, size_t size) { key 389 src/libsystemd-network/network-internal.c assert(key); key 393 src/libsystemd-network/network-internal.c fprintf(f, "%s=", key); key 1843 src/libsystemd/sd-bus/bus-objects.c struct vtable_member key = {}; key 1872 src/libsystemd/sd-bus/bus-objects.c key.path = prefix; key 1873 src/libsystemd/sd-bus/bus-objects.c key.interface = interface; key 1902 src/libsystemd/sd-bus/bus-objects.c key.member = *property; key 1903 src/libsystemd/sd-bus/bus-objects.c v = hashmap_get(bus->vtable_properties, &key); key 1995 src/libsystemd/sd-bus/bus-objects.c key.member = *property; key 1996 src/libsystemd/sd-bus/bus-objects.c assert_se(v = hashmap_get(bus->vtable_properties, &key)); key 146 src/libsystemd/sd-bus/bus-slot.c struct vtable_member key; key 148 src/libsystemd/sd-bus/bus-slot.c key.path = slot->node_vtable.node->path; key 149 src/libsystemd/sd-bus/bus-slot.c key.interface = slot->node_vtable.interface; key 150 src/libsystemd/sd-bus/bus-slot.c key.member = v->x.method.member; key 152 src/libsystemd/sd-bus/bus-slot.c x = hashmap_remove(slot->bus->vtable_methods, &key); key 158 src/libsystemd/sd-bus/bus-slot.c struct vtable_member key; key 160 src/libsystemd/sd-bus/bus-slot.c key.path = slot->node_vtable.node->path; key 161 src/libsystemd/sd-bus/bus-slot.c key.interface = slot->node_vtable.interface; key 162 src/libsystemd/sd-bus/bus-slot.c key.member = v->x.method.member; key 165 src/libsystemd/sd-bus/bus-slot.c x = hashmap_remove(slot->bus->vtable_properties, &key); key 407 src/libsystemd/sd-bus/sd-bus.c static int parse_address_key(const char **p, const char *key, char **value) { key 416 src/libsystemd/sd-bus/sd-bus.c if (key) { key 417 src/libsystemd/sd-bus/sd-bus.c l = strlen(key); key 418 src/libsystemd/sd-bus/sd-bus.c if (strncmp(*p, key, l) != 0) key 57 src/libsystemd/sd-network/sd-network.c static int network_get_strv(const char *key, char ***ret) { key 64 src/libsystemd/sd-network/sd-network.c r = parse_env_file("/run/systemd/netif/state", NEWLINE, key, &s, NULL); key 195 src/libsystemd/sd-network/sd-network.c static int network_get_link_strv(const char *key, int ifindex, char ***ret) { key 206 src/libsystemd/sd-network/sd-network.c r = parse_env_file(p, NEWLINE, key, &s, NULL); key 735 src/libsystemd/sd-rtnl/rtnl-message.c int sd_rtnl_message_open_container_union(sd_rtnl_message *m, unsigned short type, const char *key) { key 748 src/libsystemd/sd-rtnl/rtnl-message.c key); key 752 src/libsystemd/sd-rtnl/rtnl-message.c r = sd_rtnl_message_append_string(m, type_system_union->match, key); key 974 src/libsystemd/sd-rtnl/rtnl-message.c const char *key; key 982 src/libsystemd/sd-rtnl/rtnl-message.c r = sd_rtnl_message_read_string(m, type_system_union->match, &key); key 988 src/libsystemd/sd-rtnl/rtnl-message.c key); key 395 src/libsystemd/sd-rtnl/rtnl-types.c int type_system_union_get_type_system(const NLTypeSystemUnion *type_system_union, const NLTypeSystem **ret, const char *key) { key 402 src/libsystemd/sd-rtnl/rtnl-types.c assert(key); key 404 src/libsystemd/sd-rtnl/rtnl-types.c type = type_system_union->lookup(key); key 65 src/libsystemd/sd-rtnl/rtnl-types.h int type_system_union_get_type_system(const NLTypeSystemUnion *type_system_union, const NLTypeSystem **ret, const char *key); key 364 src/libudev/libudev-device.c struct udev_list_entry *udev_device_add_property(struct udev_device *udev_device, const char *key, const char *value) key 371 src/libudev/libudev-device.c list_entry = udev_list_entry_get_by_name(list_entry, key); key 376 src/libudev/libudev-device.c return udev_list_entry_add(&udev_device->properties_list, key, value); key 501 src/libudev/libudev-device.c _public_ const char *udev_device_get_property_value(struct udev_device *udev_device, const char *key) key 507 src/libudev/libudev-device.c if (key == NULL) key 511 src/libudev/libudev-device.c list_entry = udev_list_entry_get_by_name(list_entry, key); key 1844 src/libudev/libudev-device.c const char *key; key 1846 src/libudev/libudev-device.c key = udev_list_entry_get_name(list_entry); key 1848 src/libudev/libudev-device.c if (key[0] == '.') key 1857 src/libudev/libudev-device.c l = strpcpyl(&s, l, key, "=", udev_list_entry_get_value(list_entry), NULL); key 142 src/libudev/libudev-hwdb.c static int hwdb_add_property(struct udev_hwdb *hwdb, const char *key, const char *value) { key 147 src/libudev/libudev-hwdb.c if (key[0] != ' ') key 150 src/libudev/libudev-hwdb.c if (udev_list_entry_add(&hwdb->properties_list, key+1, value) == NULL) key 685 src/libudev/libudev-monitor.c char *key; key 688 src/libudev/libudev-monitor.c key = &buf[bufpos]; key 689 src/libudev/libudev-monitor.c keylen = strlen(key); key 693 src/libudev/libudev-monitor.c udev_device_add_property_from_string_parse(udev_device, key); key 52 src/libudev/libudev-private.h struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, const char *value); key 65 src/libudev/libudev-private.h struct udev_list_entry *udev_device_add_property(struct udev_device *udev_device, const char *key, const char *value); key 167 src/libudev/libudev-private.h unsigned int util_string_hash32(const char *key); key 139 src/libudev/libudev.c char *key; key 145 src/libudev/libudev.c key = line; key 146 src/libudev/libudev.c while (isspace(key[0])) key 147 src/libudev/libudev.c key++; key 150 src/libudev/libudev.c if (key[0] == '#' || key[0] == '\0') key 154 src/libudev/libudev.c val = strchr(key, '='); key 167 src/libudev/libudev.c len = strlen(key); key 170 src/libudev/libudev.c while (isspace(key[len-1])) key 172 src/libudev/libudev.c key[len] = '\0'; key 195 src/libudev/libudev.c if (streq(key, "udev_log")) { key 310 src/libudev/libudev.c struct udev_list_entry *udev_add_property(struct udev *udev, const char *key, const char *value) key 316 src/libudev/libudev.c list_entry = udev_list_entry_get_by_name(list_entry, key); key 321 src/libudev/libudev.c return udev_list_entry_add(&udev->properties_list, key, value); key 2161 src/login/logind-dbus.c char *key; key 2172 src/login/logind-dbus.c key = set_remove(m->busnames, (char*) old); key 2173 src/login/logind-dbus.c if (!key) key 2178 src/login/logind-dbus.c free(key); key 188 src/login/logind.h const struct ConfigPerfItem* logind_gperf_lookup(const char *key, unsigned length); key 72 src/modules-load/modules-load.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 75 src/modules-load/modules-load.c if (STR_IN_SET(key, "modules-load", "rd.modules-load") && value) { key 192 src/network/networkd-netdev.h const struct ConfigPerfItem* network_netdev_gperf_lookup(const char *key, unsigned length); key 263 src/network/networkd.h const struct ConfigPerfItem* network_network_gperf_lookup(const char *key, unsigned length); key 2642 src/nspawn/nspawn.c static int spawn_getent(const char *database, const char *key, pid_t *rpid) { key 2647 src/nspawn/nspawn.c assert(key); key 2687 src/nspawn/nspawn.c execle("/usr/bin/getent", "getent", database, key, NULL, &empty_env); key 2688 src/nspawn/nspawn.c execle("/bin/getent", "getent", database, key, NULL, &empty_env); key 34 src/quotacheck/quotacheck.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 36 src/quotacheck/quotacheck.c if (streq(key, "quotacheck.mode") && value) { key 49 src/quotacheck/quotacheck.c else if (streq(key, "forcequotacheck") && !value) { key 272 src/resolve/dns_type-from-name.h register int key = hash_dns_type_name (str, len); key 274 src/resolve/dns_type-from-name.h if (key <= MAX_HASH_VALUE && key >= 0) key 276 src/resolve/dns_type-from-name.h register const char *s = wordlist[key].name; key 279 src/resolve/dns_type-from-name.h return &wordlist[key]; key 104 src/resolve/resolved-bus.c if (rr->key->type == DNS_TYPE_A) { key 111 src/resolve/resolved-bus.c } else if (rr->key->type == DNS_TYPE_AAAA) { key 246 src/resolve/resolved-bus.c r = sd_bus_message_append(reply, "st", DNS_RESOURCE_KEY_NAME(canonical->key), SD_RESOLVED_FLAGS_MAKE(q->answer_protocol, q->answer_family)); key 309 src/resolve/resolved-bus.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 311 src/resolve/resolved-bus.c key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_A, hostname); key 312 src/resolve/resolved-bus.c if (!key) key 315 src/resolve/resolved-bus.c r = dns_question_add(question, key); key 321 src/resolve/resolved-bus.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 323 src/resolve/resolved-bus.c key = dns_resource_key_new(DNS_CLASS_IN, DNS_TYPE_AAAA, hostname); key 324 src/resolve/resolved-bus.c if (!key) key 327 src/resolve/resolved-bus.c r = dns_question_add(question, key); key 430 src/resolve/resolved-bus.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 475 src/resolve/resolved-bus.c key = dns_resource_key_new_consume(DNS_CLASS_IN, DNS_TYPE_PTR, reverse); key 476 src/resolve/resolved-bus.c if (!key) key 481 src/resolve/resolved-bus.c r = dns_question_add(question, key); key 561 src/resolve/resolved-bus.c r = sd_bus_message_append(reply, "qq", answer->rrs[i]->key->class, answer->rrs[i]->key->type); key 602 src/resolve/resolved-bus.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 631 src/resolve/resolved-bus.c key = dns_resource_key_new(class, type, name); key 632 src/resolve/resolved-bus.c if (!key) key 635 src/resolve/resolved-bus.c r = dns_question_add(question, key); key 126 src/resolve/resolved-dns-answer.c int dns_answer_contains(DnsAnswer *a, DnsResourceKey *key) { key 131 src/resolve/resolved-dns-answer.c assert(key); key 134 src/resolve/resolved-dns-answer.c r = dns_resource_key_match_rr(key, a->rrs[i]); key 144 src/resolve/resolved-dns-answer.c int dns_answer_find_soa(DnsAnswer *a, DnsResourceKey *key, DnsResourceRecord **ret) { key 148 src/resolve/resolved-dns-answer.c assert(key); key 152 src/resolve/resolved-dns-answer.c if (key->type == DNS_TYPE_SOA) key 157 src/resolve/resolved-dns-answer.c if (a->rrs[i]->key->class != DNS_CLASS_IN) key 160 src/resolve/resolved-dns-answer.c if (a->rrs[i]->key->type != DNS_TYPE_SOA) key 163 src/resolve/resolved-dns-answer.c if (dns_name_endswith(DNS_RESOURCE_KEY_NAME(key), DNS_RESOURCE_KEY_NAME(a->rrs[i]->key))) { key 226 src/resolve/resolved-dns-answer.c if (a->rrs[i]->key->class == DNS_CLASS_IN && key 227 src/resolve/resolved-dns-answer.c ((a->rrs[i]->key->type == DNS_TYPE_A && in_addr_is_link_local(AF_INET, (union in_addr_union*) &a->rrs[i]->a.in_addr) != prefer_link_local) || key 228 src/resolve/resolved-dns-answer.c (a->rrs[i]->key->type == DNS_TYPE_AAAA && in_addr_is_link_local(AF_INET6, (union in_addr_union*) &a->rrs[i]->aaaa.in6_addr) != prefer_link_local))) key 42 src/resolve/resolved-dns-answer.h int dns_answer_contains(DnsAnswer *a, DnsResourceKey *key); key 43 src/resolve/resolved-dns-answer.h int dns_answer_find_soa(DnsAnswer *a, DnsResourceKey *key, DnsResourceRecord **ret); key 41 src/resolve/resolved-dns-cache.c DnsResourceKey *key; key 56 src/resolve/resolved-dns-cache.c dns_resource_key_unref(i->key); key 70 src/resolve/resolved-dns-cache.c first = hashmap_get(c->by_key, i->key); key 74 src/resolve/resolved-dns-cache.c assert_se(hashmap_replace(c->by_key, first->key, first) >= 0); key 76 src/resolve/resolved-dns-cache.c hashmap_remove(c->by_key, i->key); key 101 src/resolve/resolved-dns-cache.c static void dns_cache_remove(DnsCache *c, DnsResourceKey *key) { key 105 src/resolve/resolved-dns-cache.c assert(key); key 107 src/resolve/resolved-dns-cache.c while ((i = hashmap_get(c->by_key, key))) key 123 src/resolve/resolved-dns-cache.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 137 src/resolve/resolved-dns-cache.c key = dns_resource_key_ref(i->key); key 138 src/resolve/resolved-dns-cache.c dns_cache_remove(c, key); key 150 src/resolve/resolved-dns-cache.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 165 src/resolve/resolved-dns-cache.c key = dns_resource_key_ref(i->key); key 166 src/resolve/resolved-dns-cache.c dns_cache_remove(c, key); key 207 src/resolve/resolved-dns-cache.c first = hashmap_get(c->by_key, i->key); key 210 src/resolve/resolved-dns-cache.c assert_se(hashmap_replace(c->by_key, first->key, first) >= 0); key 212 src/resolve/resolved-dns-cache.c r = hashmap_put(c->by_key, i->key, i); key 228 src/resolve/resolved-dns-cache.c LIST_FOREACH(by_key, i, hashmap_get(c->by_key, rr->key)) key 246 src/resolve/resolved-dns-cache.c assert_se(hashmap_replace(c->by_key, rr->key, i) >= 0); key 253 src/resolve/resolved-dns-cache.c dns_resource_key_unref(i->key); key 254 src/resolve/resolved-dns-cache.c i->key = dns_resource_key_ref(rr->key); key 278 src/resolve/resolved-dns-cache.c dns_cache_remove(c, rr->key); key 282 src/resolve/resolved-dns-cache.c if (rr->key->class == DNS_CLASS_ANY) key 284 src/resolve/resolved-dns-cache.c if (rr->key->type == DNS_TYPE_ANY) key 306 src/resolve/resolved-dns-cache.c i->key = dns_resource_key_ref(rr->key); key 323 src/resolve/resolved-dns-cache.c DnsResourceKey *key, key 334 src/resolve/resolved-dns-cache.c assert(key); key 337 src/resolve/resolved-dns-cache.c dns_cache_remove(c, key); key 339 src/resolve/resolved-dns-cache.c if (key->class == DNS_CLASS_ANY) key 341 src/resolve/resolved-dns-cache.c if (key->type == DNS_TYPE_ANY) key 360 src/resolve/resolved-dns-cache.c i->key = dns_resource_key_ref(key); key 399 src/resolve/resolved-dns-cache.c dns_cache_remove(c, answer->rrs[i]->key); key 451 src/resolve/resolved-dns-cache.c dns_cache_remove(c, answer->rrs[i]->key); key 541 src/resolve/resolved-dns-cache.c first = hashmap_get(cache->by_key, rr->key); key 503 src/resolve/resolved-dns-packet.c r = dns_packet_append_key(p, rr->key, NULL); key 516 src/resolve/resolved-dns-packet.c switch (rr->unparseable ? _DNS_TYPE_INVALID : rr->key->type) { key 644 src/resolve/resolved-dns-packet.c r = dns_packet_append_blob(p, rr->sshfp.key, rr->sshfp.key_size, NULL); key 660 src/resolve/resolved-dns-packet.c r = dns_packet_append_blob(p, rr->dnskey.key, rr->dnskey.key_size, NULL); key 964 src/resolve/resolved-dns-packet.c DnsResourceKey *key; key 985 src/resolve/resolved-dns-packet.c key = dns_resource_key_new_consume(class, type, name); key 986 src/resolve/resolved-dns-packet.c if (!key) { key 992 src/resolve/resolved-dns-packet.c *ret = key; key 1042 src/resolve/resolved-dns-packet.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 1053 src/resolve/resolved-dns-packet.c r = dns_packet_read_key(p, &key, NULL); key 1057 src/resolve/resolved-dns-packet.c if (key->class == DNS_CLASS_ANY || key 1058 src/resolve/resolved-dns-packet.c key->type == DNS_TYPE_ANY) { key 1063 src/resolve/resolved-dns-packet.c rr = dns_resource_record_new(key); key 1084 src/resolve/resolved-dns-packet.c switch (rr->key->type) { key 1244 src/resolve/resolved-dns-packet.c &rr->sshfp.key, &rr->sshfp.key_size, key 1275 src/resolve/resolved-dns-packet.c &rr->dnskey.key, &rr->dnskey.key_size, key 1374 src/resolve/resolved-dns-packet.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 1376 src/resolve/resolved-dns-packet.c r = dns_packet_read_key(p, &key, NULL); key 1380 src/resolve/resolved-dns-packet.c r = dns_question_add(question, key); key 150 src/resolve/resolved-dns-packet.h int dns_packet_append_key(DnsPacket *p, const DnsResourceKey *key, size_t *start); key 139 src/resolve/resolved-dns-query.c static int dns_query_add_transaction(DnsQuery *q, DnsScope *s, DnsResourceKey *key) { key 151 src/resolve/resolved-dns-query.c if (key) { key 156 src/resolve/resolved-dns-query.c r = dns_question_add(question, key); key 67 src/resolve/resolved-dns-question.c int dns_question_add(DnsQuestion *q, DnsResourceKey *key) { key 72 src/resolve/resolved-dns-question.c assert(key); key 75 src/resolve/resolved-dns-question.c r = dns_resource_key_equal(q->keys[i], key); key 85 src/resolve/resolved-dns-question.c q->keys[q->n_keys++] = dns_resource_key_ref(key); key 40 src/resolve/resolved-dns-question.h int dns_question_add(DnsQuestion *q, DnsResourceKey *key); key 110 src/resolve/resolved-dns-rr.c int dns_resource_key_match_rr(const DnsResourceKey *key, const DnsResourceRecord *rr) { key 111 src/resolve/resolved-dns-rr.c assert(key); key 114 src/resolve/resolved-dns-rr.c if (rr->key->class != key->class && key->class != DNS_CLASS_ANY) key 117 src/resolve/resolved-dns-rr.c if (rr->key->type != key->type && key->type != DNS_TYPE_ANY) key 120 src/resolve/resolved-dns-rr.c return dns_name_equal(DNS_RESOURCE_KEY_NAME(rr->key), DNS_RESOURCE_KEY_NAME(key)); key 123 src/resolve/resolved-dns-rr.c int dns_resource_key_match_cname(const DnsResourceKey *key, const DnsResourceRecord *rr) { key 124 src/resolve/resolved-dns-rr.c assert(key); key 127 src/resolve/resolved-dns-rr.c if (rr->key->class != key->class && key->class != DNS_CLASS_ANY) key 130 src/resolve/resolved-dns-rr.c if (rr->key->type != DNS_TYPE_CNAME) key 133 src/resolve/resolved-dns-rr.c return dns_name_equal(DNS_RESOURCE_KEY_NAME(rr->key), DNS_RESOURCE_KEY_NAME(key)); key 173 src/resolve/resolved-dns-rr.c int dns_resource_key_to_string(const DnsResourceKey *key, char **ret) { key 178 src/resolve/resolved-dns-rr.c c = dns_class_to_string(key->class); key 180 src/resolve/resolved-dns-rr.c sprintf(cbuf, "%i", key->class); key 184 src/resolve/resolved-dns-rr.c t = dns_type_to_string(key->type); key 186 src/resolve/resolved-dns-rr.c sprintf(tbuf, "%i", key->type); key 190 src/resolve/resolved-dns-rr.c if (asprintf(&s, "%s %s %-5s", DNS_RESOURCE_KEY_NAME(key), c, t) < 0) key 197 src/resolve/resolved-dns-rr.c DnsResourceRecord* dns_resource_record_new(DnsResourceKey *key) { key 205 src/resolve/resolved-dns-rr.c rr->key = dns_resource_key_ref(key); key 211 src/resolve/resolved-dns-rr.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 213 src/resolve/resolved-dns-rr.c key = dns_resource_key_new(class, type, name); key 214 src/resolve/resolved-dns-rr.c if (!key) key 217 src/resolve/resolved-dns-rr.c return dns_resource_record_new(key); key 241 src/resolve/resolved-dns-rr.c if (rr->key) { key 242 src/resolve/resolved-dns-rr.c switch(rr->key->type) { key 275 src/resolve/resolved-dns-rr.c free(rr->sshfp.key); key 279 src/resolve/resolved-dns-rr.c free(rr->dnskey.key); key 296 src/resolve/resolved-dns-rr.c dns_resource_key_unref(rr->key); key 305 src/resolve/resolved-dns-rr.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 318 src/resolve/resolved-dns-rr.c key = dns_resource_key_new_consume(DNS_CLASS_IN, DNS_TYPE_PTR, ptr); key 319 src/resolve/resolved-dns-rr.c if (!key) key 324 src/resolve/resolved-dns-rr.c rr = dns_resource_record_new(key); key 344 src/resolve/resolved-dns-rr.c r = dns_resource_key_equal(a->key, b->key); key 351 src/resolve/resolved-dns-rr.c switch (a->unparseable ? _DNS_TYPE_INVALID : a->key->type) { key 422 src/resolve/resolved-dns-rr.c memcmp(a->sshfp.key, b->sshfp.key, a->sshfp.key_size) == 0; key 429 src/resolve/resolved-dns-rr.c memcmp(a->dnskey.key, b->dnskey.key, a->dnskey.key_size) == 0; key 490 src/resolve/resolved-dns-rr.c r = dns_resource_key_to_string(rr->key, &k); key 494 src/resolve/resolved-dns-rr.c switch (rr->unparseable ? _DNS_TYPE_INVALID : rr->key->type) { key 599 src/resolve/resolved-dns-rr.c t = hexmem(rr->sshfp.key, rr->sshfp.key_size); key 617 src/resolve/resolved-dns-rr.c t = hexmem(rr->dnskey.key, rr->dnskey.key_size); key 51 src/resolve/resolved-dns-rr.h DnsResourceKey *key; key 116 src/resolve/resolved-dns-rr.h void *key; key 125 src/resolve/resolved-dns-rr.h void* key; key 145 src/resolve/resolved-dns-rr.h static inline const char* DNS_RESOURCE_KEY_NAME(const DnsResourceKey *key) { key 146 src/resolve/resolved-dns-rr.h if (_unlikely_(!key)) key 149 src/resolve/resolved-dns-rr.h if (key->_name) key 150 src/resolve/resolved-dns-rr.h return key->_name; key 152 src/resolve/resolved-dns-rr.h return (char*) key + sizeof(DnsResourceKey); key 157 src/resolve/resolved-dns-rr.h DnsResourceKey* dns_resource_key_ref(DnsResourceKey *key); key 158 src/resolve/resolved-dns-rr.h DnsResourceKey* dns_resource_key_unref(DnsResourceKey *key); key 160 src/resolve/resolved-dns-rr.h int dns_resource_key_match_rr(const DnsResourceKey *key, const DnsResourceRecord *rr); key 161 src/resolve/resolved-dns-rr.h int dns_resource_key_match_cname(const DnsResourceKey *key, const DnsResourceRecord *rr); key 162 src/resolve/resolved-dns-rr.h int dns_resource_key_to_string(const DnsResourceKey *key, char **ret); key 165 src/resolve/resolved-dns-rr.h DnsResourceRecord* dns_resource_record_new(DnsResourceKey *key); key 346 src/resolve/resolved-dns-scope.c int dns_scope_good_key(DnsScope *s, DnsResourceKey *key) { key 348 src/resolve/resolved-dns-scope.c assert(key); key 356 src/resolve/resolved-dns-scope.c if (s->family == AF_INET && key->class == DNS_CLASS_IN && key->type == DNS_TYPE_AAAA) key 359 src/resolve/resolved-dns-scope.c if (s->family == AF_INET6 && key->class == DNS_CLASS_IN && key->type == DNS_TYPE_A) key 513 src/resolve/resolved-dns-scope.c dns_zone_verify_conflicts(&s->zone, p->answer->rrs[n]->key); key 658 src/resolve/resolved-dns-scope.c r = dns_packet_append_key(p, rr->key, NULL); key 721 src/resolve/resolved-dns-scope.c r = ordered_hashmap_put(scope->conflict_queue, rr->key, rr); key 75 src/resolve/resolved-dns-scope.h int dns_scope_good_key(DnsScope *s, DnsResourceKey *key); key 65 src/resolve/resolved-dns-zone.c first = hashmap_get(z->by_key, i->rr->key); key 68 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0); key 70 src/resolve/resolved-dns-zone.c hashmap_remove(z->by_key, i->rr->key); key 72 src/resolve/resolved-dns-zone.c first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key)); key 75 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0); key 77 src/resolve/resolved-dns-zone.c hashmap_remove(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key)); key 106 src/resolve/resolved-dns-zone.c LIST_FOREACH(by_key, i, hashmap_get(z->by_key, rr->key)) key 144 src/resolve/resolved-dns-zone.c first = hashmap_get(z->by_key, i->rr->key); key 147 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0); key 149 src/resolve/resolved-dns-zone.c r = hashmap_put(z->by_key, i->rr->key, i); key 154 src/resolve/resolved-dns-zone.c first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key)); key 157 src/resolve/resolved-dns-zone.c assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first->rr->key), first) >= 0); key 159 src/resolve/resolved-dns-zone.c r = hashmap_put(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key), i); key 168 src/resolve/resolved-dns-zone.c _cleanup_(dns_resource_key_unrefp) DnsResourceKey *key = NULL; key 178 src/resolve/resolved-dns-zone.c key = dns_resource_key_new(i->rr->key->class, DNS_TYPE_ANY, DNS_RESOURCE_KEY_NAME(i->rr->key)); key 179 src/resolve/resolved-dns-zone.c if (!key) key 186 src/resolve/resolved-dns-zone.c r = dns_question_add(question, key); key 237 src/resolve/resolved-dns-zone.c if (rr->key->class == DNS_CLASS_ANY) key 239 src/resolve/resolved-dns-zone.c if (rr->key->type == DNS_TYPE_ANY) key 508 src/resolve/resolved-dns-zone.c if (dns_name_equal(i->scope->manager->hostname, DNS_RESOURCE_KEY_NAME(i->rr->key)) > 0) key 593 src/resolve/resolved-dns-zone.c first = hashmap_get(zone->by_name, DNS_RESOURCE_KEY_NAME(rr->key)); key 615 src/resolve/resolved-dns-zone.c int dns_zone_verify_conflicts(DnsZone *zone, DnsResourceKey *key) { key 624 src/resolve/resolved-dns-zone.c first = hashmap_get(zone->by_name, DNS_RESOURCE_KEY_NAME(key)); key 76 src/resolve/resolved-dns-zone.h int dns_zone_verify_conflicts(DnsZone *zone, DnsResourceKey *key); key 37 src/shared/MurmurHash2.c uint32_t MurmurHash2 ( const void * key, int len, uint32_t seed ) key 51 src/shared/MurmurHash2.c const unsigned char * data = (const unsigned char *)key; key 133 src/shared/conf-parser.c char *key; key 135 src/shared/conf-parser.c key = strjoin(section, ".", lvalue, NULL); key 136 src/shared/conf-parser.c if (!key) key 139 src/shared/conf-parser.c p = lookup(key, strlen(key)); key 140 src/shared/conf-parser.c free(key); key 299 src/shared/fileio.c const char *key, char *value, void *userdata, int *n_pushed), key 303 src/shared/fileio.c _cleanup_free_ char *contents = NULL, *key = NULL; key 344 src/shared/fileio.c if (!GREEDY_REALLOC(key, key_alloc, n_key+2)) { key 349 src/shared/fileio.c key[n_key++] = c; key 367 src/shared/fileio.c if (!GREEDY_REALLOC(key, key_alloc, n_key+2)) { key 372 src/shared/fileio.c key[n_key++] = c; key 381 src/shared/fileio.c key[n_key] = 0; key 388 src/shared/fileio.c key[last_key_whitespace] = 0; key 390 src/shared/fileio.c r = push(fname, line, key, value, userdata, n_pushed); key 422 src/shared/fileio.c key[n_key] = 0; key 433 src/shared/fileio.c key[last_key_whitespace] = 0; key 435 src/shared/fileio.c r = push(fname, line, key, value, userdata, n_pushed); key 557 src/shared/fileio.c key[n_key] = 0; key 568 src/shared/fileio.c key[last_key_whitespace] = 0; key 570 src/shared/fileio.c r = push(fname, line, key, value, userdata, n_pushed); key 584 src/shared/fileio.c const char *key, char *value, key 591 src/shared/fileio.c if (!utf8_is_valid(key)) { key 594 src/shared/fileio.c p = utf8_escape_invalid(key); key 603 src/shared/fileio.c log_error("%s:%u: invalid UTF-8 value for key %s: '%s', ignoring.", strna(filename), line, key, p); key 614 src/shared/fileio.c if (streq(key, k)) { key 651 src/shared/fileio.c const char *key, char *value, key 658 src/shared/fileio.c if (!utf8_is_valid(key)) { key 659 src/shared/fileio.c _cleanup_free_ char *t = utf8_escape_invalid(key); key 668 src/shared/fileio.c log_error("%s:%u: invalid UTF-8 value for key %s: '%s', ignoring.", strna(filename), line, key, t); key 672 src/shared/fileio.c p = strjoin(key, "=", strempty(value), NULL); key 706 src/shared/fileio.c const char *key, char *value, key 712 src/shared/fileio.c if (!utf8_is_valid(key)) { key 713 src/shared/fileio.c _cleanup_free_ char *t = utf8_escape_invalid(key); key 722 src/shared/fileio.c log_error("%s:%u: invalid UTF-8 value for key %s: '%s', ignoring.", strna(filename), line, key, t); key 726 src/shared/fileio.c r = strv_extend(m, key); key 41 src/shared/gunicode.c interval_compare (const void *key, const void *elt) key 43 src/shared/gunicode.c unichar c = (unichar) (long) (key); key 36 src/shared/hashmap.c const void *key; key 277 src/shared/hashmap.c hash = bucket_hash(h, e->key); key 353 src/shared/hashmap.c b = (void*) h->iterate_list_head->key; key 360 src/shared/hashmap.c static struct hashmap_entry *hash_scan(Hashmap *h, unsigned hash, const void *key) { key 366 src/shared/hashmap.c if (h->hash_ops->compare(e->key, key) == 0) key 406 src/shared/hashmap.c old_bucket = h->hash_ops->hash(i->key, h->hash_key) % h->n_buckets; key 418 src/shared/hashmap.c new_bucket = h->hash_ops->hash(i->key, nkey) % m; key 438 src/shared/hashmap.c static int __hashmap_put(Hashmap *h, const void *key, void *value, unsigned hash) { key 444 src/shared/hashmap.c hash = bucket_hash(h, key); key 454 src/shared/hashmap.c e->key = key; key 462 src/shared/hashmap.c int hashmap_put(Hashmap *h, const void *key, void *value) { key 468 src/shared/hashmap.c hash = bucket_hash(h, key); key 469 src/shared/hashmap.c e = hash_scan(h, hash, key); key 476 src/shared/hashmap.c return __hashmap_put(h, key, value, hash); key 479 src/shared/hashmap.c int hashmap_replace(Hashmap *h, const void *key, void *value) { key 485 src/shared/hashmap.c hash = bucket_hash(h, key); key 486 src/shared/hashmap.c e = hash_scan(h, hash, key); key 488 src/shared/hashmap.c e->key = key; key 493 src/shared/hashmap.c return __hashmap_put(h, key, value, hash); key 496 src/shared/hashmap.c int hashmap_update(Hashmap *h, const void *key, void *value) { key 502 src/shared/hashmap.c hash = bucket_hash(h, key); key 503 src/shared/hashmap.c e = hash_scan(h, hash, key); key 511 src/shared/hashmap.c void* hashmap_get(Hashmap *h, const void *key) { key 518 src/shared/hashmap.c hash = bucket_hash(h, key); key 519 src/shared/hashmap.c e = hash_scan(h, hash, key); key 526 src/shared/hashmap.c void* hashmap_get2(Hashmap *h, const void *key, void **key2) { key 533 src/shared/hashmap.c hash = bucket_hash(h, key); key 534 src/shared/hashmap.c e = hash_scan(h, hash, key); key 539 src/shared/hashmap.c *key2 = (void*) e->key; key 544 src/shared/hashmap.c bool hashmap_contains(Hashmap *h, const void *key) { key 550 src/shared/hashmap.c hash = bucket_hash(h, key); key 551 src/shared/hashmap.c return !!hash_scan(h, hash, key); key 554 src/shared/hashmap.c void* hashmap_remove(Hashmap *h, const void *key) { key 562 src/shared/hashmap.c hash = bucket_hash(h, key); key 563 src/shared/hashmap.c e = hash_scan(h, hash, key); key 573 src/shared/hashmap.c void* hashmap_remove2(Hashmap *h, const void *key, void **rkey) { key 584 src/shared/hashmap.c hash = bucket_hash(h, key); key 585 src/shared/hashmap.c e = hash_scan(h, hash, key); key 594 src/shared/hashmap.c *rkey = (void*) e->key; key 619 src/shared/hashmap.c e->key = new_key; key 647 src/shared/hashmap.c e->key = new_key; key 655 src/shared/hashmap.c void* hashmap_remove_value(Hashmap *h, const void *key, void *value) { key 662 src/shared/hashmap.c hash = bucket_hash(h, key); key 664 src/shared/hashmap.c e = hash_scan(h, hash, key); key 676 src/shared/hashmap.c void *hashmap_iterate(Hashmap *h, Iterator *i, const void **key) { key 697 src/shared/hashmap.c if (key) key 698 src/shared/hashmap.c *key = e->key; key 705 src/shared/hashmap.c if (key) key 706 src/shared/hashmap.c *key = NULL; key 730 src/shared/hashmap.c return (void*) h->iterate_list_head->key; key 749 src/shared/hashmap.c void *key; key 757 src/shared/hashmap.c key = (void*) h->iterate_list_head->key; key 760 src/shared/hashmap.c return key; key 798 src/shared/hashmap.c r = hashmap_put(h, e->key, e->value); key 834 src/shared/hashmap.c h_hash = bucket_hash(h, e->key); key 835 src/shared/hashmap.c if (hash_scan(h, h_hash, e->key)) key 838 src/shared/hashmap.c other_hash = bucket_hash(other, e->key); key 846 src/shared/hashmap.c int hashmap_move_one(Hashmap *h, Hashmap *other, const void *key) { key 852 src/shared/hashmap.c h_hash = bucket_hash(h, key); key 853 src/shared/hashmap.c if (hash_scan(h, h_hash, key)) key 859 src/shared/hashmap.c other_hash = bucket_hash(other, key); key 860 src/shared/hashmap.c e = hash_scan(other, other_hash, key); key 905 src/shared/hashmap.c void *hashmap_next(Hashmap *h, const void *key) { key 909 src/shared/hashmap.c assert(key); key 914 src/shared/hashmap.c hash = bucket_hash(h, key); key 915 src/shared/hashmap.c e = hash_scan(h, hash, key); key 110 src/shared/hashmap.h int hashmap_put(Hashmap *h, const void *key, void *value); key 111 src/shared/hashmap.h static inline int ordered_hashmap_put(OrderedHashmap *h, const void *key, void *value) { key 112 src/shared/hashmap.h return hashmap_put((Hashmap*) h, key, value); key 114 src/shared/hashmap.h int hashmap_update(Hashmap *h, const void *key, void *value); key 115 src/shared/hashmap.h static inline int ordered_hashmap_update(OrderedHashmap *h, const void *key, void *value) { key 116 src/shared/hashmap.h return hashmap_update((Hashmap*) h, key, value); key 118 src/shared/hashmap.h int hashmap_replace(Hashmap *h, const void *key, void *value); key 119 src/shared/hashmap.h static inline int ordered_hashmap_replace(OrderedHashmap *h, const void *key, void *value) { key 120 src/shared/hashmap.h return hashmap_replace((Hashmap*) h, key, value); key 122 src/shared/hashmap.h void *hashmap_get(Hashmap *h, const void *key); key 123 src/shared/hashmap.h static inline void *ordered_hashmap_get(OrderedHashmap *h, const void *key) { key 124 src/shared/hashmap.h return hashmap_get((Hashmap*) h, key); key 126 src/shared/hashmap.h void *hashmap_get2(Hashmap *h, const void *key, void **rkey); key 127 src/shared/hashmap.h static inline void *ordered_hashmap_get2(OrderedHashmap *h, const void *key, void **rkey) { key 128 src/shared/hashmap.h return hashmap_get2((Hashmap*) h, key, rkey); key 130 src/shared/hashmap.h bool hashmap_contains(Hashmap *h, const void *key); key 131 src/shared/hashmap.h static inline bool ordered_hashmap_contains(OrderedHashmap *h, const void *key) { key 132 src/shared/hashmap.h return hashmap_contains((Hashmap*) h, key); key 134 src/shared/hashmap.h void *hashmap_remove(Hashmap *h, const void *key); key 135 src/shared/hashmap.h static inline void *ordered_hashmap_remove(OrderedHashmap *h, const void *key) { key 136 src/shared/hashmap.h return hashmap_remove((Hashmap*) h, key); key 138 src/shared/hashmap.h void *hashmap_remove2(Hashmap *h, const void *key, void **rkey); key 139 src/shared/hashmap.h static inline void *ordered_hashmap_remove2(OrderedHashmap *h, const void *key, void **rkey) { key 140 src/shared/hashmap.h return hashmap_remove2((Hashmap*) h, key, rkey); key 142 src/shared/hashmap.h void *hashmap_remove_value(Hashmap *h, const void *key, void *value); key 143 src/shared/hashmap.h static inline void *ordered_hashmap_remove_value(OrderedHashmap *h, const void *key, void *value) { key 144 src/shared/hashmap.h return hashmap_remove_value((Hashmap*) h, key, value); key 167 src/shared/hashmap.h int hashmap_move_one(Hashmap *h, Hashmap *other, const void *key); key 168 src/shared/hashmap.h static inline int ordered_hashmap_move_one(OrderedHashmap *h, OrderedHashmap *other, const void *key) { key 169 src/shared/hashmap.h return hashmap_move_one((Hashmap*) h, (Hashmap*) other, key); key 185 src/shared/hashmap.h void *hashmap_iterate(Hashmap *h, Iterator *i, const void **key); key 186 src/shared/hashmap.h static inline void *ordered_hashmap_iterate(OrderedHashmap *h, Iterator *i, const void **key) { key 187 src/shared/hashmap.h return hashmap_iterate((Hashmap*) h, i, key); key 220 src/shared/hashmap.h void *hashmap_next(Hashmap *h, const void *key); key 221 src/shared/hashmap.h static inline void *ordered_hashmap_next(OrderedHashmap *h, const void *key) { key 222 src/shared/hashmap.h return hashmap_next((Hashmap*) h, key); key 874 src/shared/log.c static int parse_proc_cmdline_item(const char *key, const char *value) { key 883 src/shared/log.c if (streq(key, "debug") && !value) key 886 src/shared/log.c else if (streq(key, "systemd.log_target") && value) { key 891 src/shared/log.c } else if (streq(key, "systemd.log_level") && value) { key 896 src/shared/log.c } else if (streq(key, "systemd.log_color") && value) { key 901 src/shared/log.c } else if (streq(key, "systemd.log_location") && value) { key 5537 src/shared/util.c void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, key 5548 src/shared/util.c comparison = compar(key, p, arg); key 6171 src/shared/util.c int parse_proc_cmdline(int (*parse_item)(const char *key, const char *value)) { key 722 src/shared/util.h void *xbsearch_r(const void *key, const void *base, size_t nmemb, size_t size, key 944 src/shared/util.h int parse_proc_cmdline(int (*parse_word)(const char *key, const char *value)); key 113 src/systemd/sd-rtnl.h int sd_rtnl_message_open_container_union(sd_rtnl_message *m, unsigned short type, const char *key); key 96 src/udev/net/link-config.h const struct ConfigPerfItem* link_config_gperf_lookup(const char *key, unsigned length); key 31 src/udev/udev-builtin-keyboard.c static const struct key *keyboard_lookup_key(const char *str, unsigned int len); key 73 src/udev/udev-builtin-keyboard.c unsigned int key; key 80 src/udev/udev-builtin-keyboard.c const char *key; key 84 src/udev/udev-builtin-keyboard.c const struct key *k; key 86 src/udev/udev-builtin-keyboard.c key = udev_list_entry_get_name(entry); key 87 src/udev/udev-builtin-keyboard.c if (!startswith(key, "KEYBOARD_KEY_")) key 91 src/udev/udev-builtin-keyboard.c scancode = strtoul(key + 13, &endptr, 16); key 93 src/udev/udev-builtin-keyboard.c log_error("Error, unable to parse scan code from '%s'", key); key 125 src/udev/udev-builtin-keyboard.c map[map_count].key = keycode_num; key 150 src/udev/udev-builtin-keyboard.c map[i].scan, map[i].scan, map[i].key, map[i].key); key 152 src/udev/udev-builtin-keyboard.c log_error("Error calling EVIOCSKEYCODE on device node '%s' (scan code 0x%x, key code %d): %m", node, map[i].scan, map[i].key); key 129 src/udev/udev-builtin.c int udev_builtin_add_property(struct udev_device *dev, bool test, const char *key, const char *val) { key 132 src/udev/udev-builtin.c entry = udev_device_add_property(dev, key, val); key 134 src/udev/udev-builtin.c if (key[0] != '.') key 138 src/udev/udev-builtin.c printf("%s=%s\n", key, val); key 309 src/udev/udev-ctrl.c int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key, int timeout) { key 310 src/udev/udev-ctrl.c return ctrl_send(uctrl, UDEV_CTRL_SET_ENV, 0, key, timeout); key 830 src/udev/udev-event.c const char *key, *value; key 833 src/udev/udev-event.c key = udev_list_entry_get_name(entry); key 836 src/udev/udev-event.c property = udev_device_add_property(event->dev, key, value); key 207 src/udev/udev-rules.c } key; key 315 src/udev/udev-rules.c enum operation_type op = token->key.op; key 316 src/udev/udev-rules.c enum string_glob_type glob = token->key.glob; key 317 src/udev/udev-rules.c const char *value = str(rules, token->key.value_off); key 318 src/udev/udev-rules.c const char *attr = &rules->buf[token->key.attr_off]; key 363 src/udev/udev-rules.c log_debug("%s %i '%s'", token_str(type), token->key.builtin_cmd, value); key 384 src/udev/udev-rules.c token_str(type), operation_str(op), value, string_glob_str(glob), token->key.mode); key 387 src/udev/udev-rules.c log_debug("%s %u", token_str(type), token->key.watch); key 390 src/udev/udev-rules.c log_debug("%s %u", token_str(type), token->key.devlink_prio); key 393 src/udev/udev-rules.c log_debug("%s %s %u", token_str(type), operation_str(op), token->key.uid); key 396 src/udev/udev-rules.c log_debug("%s %s %u", token_str(type), operation_str(op), token->key.gid); key 399 src/udev/udev-rules.c log_debug("%s %s %#o", token_str(type), operation_str(op), token->key.mode); key 408 src/udev/udev-rules.c log_debug("%s '%s' %u", token_str(type), value, token->key.rule_goto); key 555 src/udev/udev-rules.c char *key; key 561 src/udev/udev-rules.c key = line; key 562 src/udev/udev-rules.c while (isspace(key[0])) key 563 src/udev/udev-rules.c key++; key 566 src/udev/udev-rules.c if (key[0] == '#' || key[0] == '\0') key 570 src/udev/udev-rules.c val = strchr(key, '='); key 581 src/udev/udev-rules.c len = strlen(key); key 584 src/udev/udev-rules.c while (isspace(key[len-1])) key 586 src/udev/udev-rules.c key[len] = '\0'; key 609 src/udev/udev-rules.c entry = udev_device_add_property(dev, key, val); key 611 src/udev/udev-rules.c if (key[0] != '.') key 669 src/udev/udev-rules.c const char *key = udev_list_entry_get_name(list_entry); key 672 src/udev/udev-rules.c if (fnmatch(filter, key, 0) == 0) { key 675 src/udev/udev-rules.c entry = udev_device_add_property(dev, key, val); key 677 src/udev/udev-rules.c if (key[0] != '.') key 756 src/udev/udev-rules.c static int get_key(struct udev *udev, char **line, char **key, enum operation_type *op, char **value) { key 771 src/udev/udev-rules.c *key = linepos; key 901 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); key 904 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); key 905 src/udev/udev-rules.c token->key.builtin_cmd = *(enum udev_builtin_cmd *)data; key 914 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); key 915 src/udev/udev-rules.c token->key.attr_off = rules_add_string(rule_tmp->rules, attr); key 918 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); key 920 src/udev/udev-rules.c token->key.mode = *(mode_t *)data; key 928 src/udev/udev-rules.c token->key.builtin_cmd = *(enum udev_builtin_cmd *)data; key 929 src/udev/udev-rules.c token->key.value_off = rules_add_string(rule_tmp->rules, value); key 933 src/udev/udev-rules.c token->key.devlink_prio = *(int *)data; key 936 src/udev/udev-rules.c token->key.uid = *(uid_t *)data; key 939 src/udev/udev-rules.c token->key.gid = *(gid_t *)data; key 942 src/udev/udev-rules.c token->key.mode = *(mode_t *)data; key 974 src/udev/udev-rules.c token->key.glob = glob; key 980 src/udev/udev-rules.c token->key.subst = SB_SUBSYS; key 982 src/udev/udev-rules.c token->key.subst = SB_FORMAT; key 984 src/udev/udev-rules.c token->key.subst = SB_NONE; key 990 src/udev/udev-rules.c token->key.attrsubst = SB_SUBSYS; key 992 src/udev/udev-rules.c token->key.attrsubst = SB_FORMAT; key 994 src/udev/udev-rules.c token->key.attrsubst = SB_NONE; key 997 src/udev/udev-rules.c token->key.type = type; key 998 src/udev/udev-rules.c token->key.op = op; key 1057 src/udev/udev-rules.c char *key; key 1061 src/udev/udev-rules.c if (get_key(rules->udev, &linepos, &key, &op, &value) != 0) { key 1083 src/udev/udev-rules.c if (streq(key, "ACTION")) { key 1092 src/udev/udev-rules.c if (streq(key, "DEVPATH")) { key 1101 src/udev/udev-rules.c if (streq(key, "KERNEL")) { key 1110 src/udev/udev-rules.c if (streq(key, "SUBSYSTEM")) { key 1128 src/udev/udev-rules.c if (streq(key, "DRIVER")) { key 1137 src/udev/udev-rules.c if (startswith(key, "ATTR{")) { key 1138 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("ATTR")); key 1155 src/udev/udev-rules.c if (startswith(key, "SECLABEL{")) { key 1156 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("SECLABEL")); key 1170 src/udev/udev-rules.c if (streq(key, "KERNELS")) { key 1179 src/udev/udev-rules.c if (streq(key, "SUBSYSTEMS")) { key 1188 src/udev/udev-rules.c if (streq(key, "DRIVERS")) { key 1197 src/udev/udev-rules.c if (startswith(key, "ATTRS{")) { key 1202 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("ATTRS")); key 1217 src/udev/udev-rules.c if (streq(key, "TAGS")) { key 1226 src/udev/udev-rules.c if (startswith(key, "ENV{")) { key 1227 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("ENV")); key 1267 src/udev/udev-rules.c if (streq(key, "TAG")) { key 1275 src/udev/udev-rules.c if (streq(key, "PROGRAM")) { key 1284 src/udev/udev-rules.c if (streq(key, "RESULT")) { key 1293 src/udev/udev-rules.c if (startswith(key, "IMPORT")) { key 1294 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("IMPORT")); key 1337 src/udev/udev-rules.c if (startswith(key, "TEST")) { key 1344 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("TEST")); key 1354 src/udev/udev-rules.c if (startswith(key, "RUN")) { key 1355 src/udev/udev-rules.c attr = get_key_attribute(rules->udev, key + strlen("RUN")); key 1381 src/udev/udev-rules.c if (streq(key, "WAIT_FOR") || streq(key, "WAIT_FOR_SYSFS")) { key 1390 src/udev/udev-rules.c if (streq(key, "LABEL")) { key 1399 src/udev/udev-rules.c if (streq(key, "GOTO")) { key 1408 src/udev/udev-rules.c if (startswith(key, "NAME")) { key 1432 src/udev/udev-rules.c if (streq(key, "SYMLINK")) { key 1445 src/udev/udev-rules.c if (streq(key, "OWNER")) { key 1467 src/udev/udev-rules.c if (streq(key, "GROUP")) { key 1489 src/udev/udev-rules.c if (streq(key, "MODE")) { key 1507 src/udev/udev-rules.c if (streq(key, "OPTIONS")) { key 1558 src/udev/udev-rules.c log_error("unknown key '%s' in %s:%u", key, filename, lineno); key 1603 src/udev/udev-rules.c char *key; key 1608 src/udev/udev-rules.c key = line; key 1609 src/udev/udev-rules.c while (isspace(key[0])) key 1610 src/udev/udev-rules.c key++; key 1613 src/udev/udev-rules.c if (key[0] == '#') key 1634 src/udev/udev-rules.c add_rule(rules, key, filename, filename_off, line_nr); key 1640 src/udev/udev-rules.c char *label = rules_str(rules, rules->tokens[i].key.value_off); key 1650 src/udev/udev-rules.c rules->tokens[i].key.rule_goto = j; key 1653 src/udev/udev-rules.c if (rules->tokens[i].key.rule_goto == 0) key 1749 src/udev/udev-rules.c char *key_value = rules_str(rules, token->key.value_off); key 1756 src/udev/udev-rules.c switch (token->key.glob) { key 1768 src/udev/udev-rules.c s = rules_str(rules, token->key.value_off); key 1792 src/udev/udev-rules.c strscpy(value, sizeof(value), rules_str(rules, token->key.value_off)); key 1814 src/udev/udev-rules.c if (match && (token->key.op == OP_MATCH)) key 1816 src/udev/udev-rules.c if (!match && (token->key.op == OP_NOMATCH)) key 1828 src/udev/udev-rules.c name = rules_str(rules, cur->key.attr_off); key 1829 src/udev/udev-rules.c switch (cur->key.attrsubst) { key 1854 src/udev/udev-rules.c key_value = rules_str(rules, cur->key.value_off); key 1940 src/udev/udev-rules.c const char *key_name = rules_str(rules, cur->key.attr_off); key 1955 src/udev/udev-rules.c if (streq(rules_str(rules, cur->key.value_off), udev_list_entry_get_name(list_entry))) { key 1960 src/udev/udev-rules.c if (!match && (cur->key.op != OP_NOMATCH)) key 1976 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), filename, sizeof(filename)); key 1978 src/udev/udev-rules.c if (!found && (cur->key.op != OP_NOMATCH)) key 2001 src/udev/udev-rules.c struct token *key; key 2004 src/udev/udev-rules.c for (key = cur; key < next; key++ ) { key 2005 src/udev/udev-rules.c dump_token(rules, key); key 2006 src/udev/udev-rules.c switch(key->type) { key 2008 src/udev/udev-rules.c if (match_key(rules, key, udev_device_get_sysname(event->dev_parent)) != 0) key 2012 src/udev/udev-rules.c if (match_key(rules, key, udev_device_get_subsystem(event->dev_parent)) != 0) key 2016 src/udev/udev-rules.c if (match_key(rules, key, udev_device_get_driver(event->dev_parent)) != 0) key 2020 src/udev/udev-rules.c if (match_attr(rules, event->dev_parent, event, key) != 0) key 2024 src/udev/udev-rules.c bool match = udev_device_has_tag(event->dev_parent, rules_str(rules, cur->key.value_off)); key 2026 src/udev/udev-rules.c if (match && key->key.op == OP_NOMATCH) key 2028 src/udev/udev-rules.c if (!match && key->key.op == OP_MATCH) key 2052 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), filename, sizeof(filename)); key 2065 src/udev/udev-rules.c if (match && cur->key.mode > 0) key 2066 src/udev/udev-rules.c match = ((statbuf.st_mode & cur->key.mode) > 0); key 2067 src/udev/udev-rules.c if (match && cur->key.op == OP_NOMATCH) key 2069 src/udev/udev-rules.c if (!match && cur->key.op == OP_MATCH) key 2080 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), program, sizeof(program)); key 2088 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2100 src/udev/udev-rules.c if (cur->key.op == OP_NOMATCH) key 2108 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), import, sizeof(import)); key 2110 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2117 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), import, sizeof(import)); key 2124 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2131 src/udev/udev-rules.c if (udev_builtin_run_once(cur->key.builtin_cmd)) { key 2133 src/udev/udev-rules.c if (event->builtin_run & (1 << cur->key.builtin_cmd)) { key 2135 src/udev/udev-rules.c udev_builtin_name(cur->key.builtin_cmd), key 2139 src/udev/udev-rules.c if (event->builtin_ret & (1 << cur->key.builtin_cmd)) key 2140 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2145 src/udev/udev-rules.c event->builtin_run |= (1 << cur->key.builtin_cmd); key 2148 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), command, sizeof(command)); key 2150 src/udev/udev-rules.c udev_builtin_name(cur->key.builtin_cmd), key 2154 src/udev/udev-rules.c if (udev_builtin_run(event->dev, cur->key.builtin_cmd, command, false) != 0) { key 2157 src/udev/udev-rules.c udev_builtin_name(cur->key.builtin_cmd)); key 2158 src/udev/udev-rules.c event->builtin_ret |= (1 << cur->key.builtin_cmd); key 2159 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2165 src/udev/udev-rules.c const char *key = rules_str(rules, cur->key.value_off); key 2168 src/udev/udev-rules.c value = udev_device_get_property_value(event->dev_db, key); key 2172 src/udev/udev-rules.c entry = udev_device_add_property(event->dev, key, value); key 2175 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2189 src/udev/udev-rules.c const char *key = rules_str(rules, cur->key.value_off); key 2192 src/udev/udev-rules.c pos = strstr(cmdline, key); key 2196 src/udev/udev-rules.c pos += strlen(key); key 2199 src/udev/udev-rules.c entry = udev_device_add_property(event->dev, key, "1"); key 2210 src/udev/udev-rules.c entry = udev_device_add_property(event->dev, key, value); key 2218 src/udev/udev-rules.c if (!imported && cur->key.op != OP_NOMATCH) key 2225 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), import, sizeof(import)); key 2227 src/udev/udev-rules.c if (cur->key.op != OP_NOMATCH) key 2247 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2249 src/udev/udev-rules.c event->inotify_watch = cur->key.watch; key 2252 src/udev/udev-rules.c udev_device_set_devlink_priority(event->dev, cur->key.devlink_prio); key 2261 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2263 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), owner, sizeof(owner)); key 2287 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2289 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), group, sizeof(group)); key 2313 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), mode_str, sizeof(mode_str)); key 2319 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2332 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2335 src/udev/udev-rules.c event->uid = cur->key.uid; key 2344 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2347 src/udev/udev-rules.c event->gid = cur->key.gid; key 2356 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2359 src/udev/udev-rules.c event->mode = cur->key.mode; key 2368 src/udev/udev-rules.c name = rules_str(rules, cur->key.attr_off); key 2369 src/udev/udev-rules.c label = rules_str(rules, cur->key.value_off); key 2370 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN || cur->key.op == OP_ASSIGN_FINAL) key 2380 src/udev/udev-rules.c const char *name = rules_str(rules, cur->key.attr_off); key 2381 src/udev/udev-rules.c char *value = rules_str(rules, cur->key.value_off); key 2387 src/udev/udev-rules.c if (cur->key.op == OP_ADD) key 2393 src/udev/udev-rules.c if (cur->key.op == OP_ADD) key 2414 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), tag, sizeof(tag)); key 2415 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN || cur->key.op == OP_ASSIGN_FINAL) key 2426 src/udev/udev-rules.c if (cur->key.op == OP_REMOVE) key 2433 src/udev/udev-rules.c const char *name = rules_str(rules, cur->key.value_off); key 2440 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2473 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN_FINAL) key 2475 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN || cur->key.op == OP_ASSIGN_FINAL) key 2479 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), temp, sizeof(temp)); key 2510 src/udev/udev-rules.c const char *key_name = rules_str(rules, cur->key.attr_off); key 2519 src/udev/udev-rules.c udev_event_apply_format(event, rules_str(rules, cur->key.value_off), value, sizeof(value)); key 2537 src/udev/udev-rules.c if (cur->key.op == OP_ASSIGN || cur->key.op == OP_ASSIGN_FINAL) key 2540 src/udev/udev-rules.c rules_str(rules, cur->key.value_off), key 2543 src/udev/udev-rules.c entry = udev_list_entry_add(&event->run_list, rules_str(rules, cur->key.value_off), NULL); key 2544 src/udev/udev-rules.c udev_list_entry_set_num(entry, cur->key.builtin_cmd); key 2548 src/udev/udev-rules.c if (cur->key.rule_goto == 0) key 2550 src/udev/udev-rules.c cur = &rules->tokens[cur->key.rule_goto]; key 2605 src/udev/udev-rules.c uid = cur->key.uid; key 2608 src/udev/udev-rules.c gid = cur->key.gid; key 2611 src/udev/udev-rules.c mode = cur->key.mode; key 2614 src/udev/udev-rules.c r = strv_extend(&tags, rules_str(rules, cur->key.value_off)); key 2630 src/udev/udev-rules.c strscpyl(device_node, sizeof(device_node), "/dev/", rules_str(rules, cur->key.value_off), NULL); key 2648 src/udev/udev-rules.c unescaped_filename = xescape(rules_str(rules, cur->key.value_off), "/."); key 125 src/udev/udev.h int udev_ctrl_send_set_env(struct udev_ctrl *uctrl, const char *key, int timeout); key 196 src/udev/udev.h int udev_builtin_add_property(struct udev_device *dev, bool test, const char *key, const char *val); key 136 src/udev/udevadm-hwdb.c const char *key, const char *value) { key 140 src/udev/udevadm-hwdb.c k = strbuf_add_string(trie->strings, key, strlen(key)); key 175 src/udev/udevadm-hwdb.c const char *key, const char *value) { key 229 src/udev/udevadm-hwdb.c return trie_node_add_value(trie, node, key, value); key 253 src/udev/udevadm-hwdb.c return trie_node_add_value(trie, child, key, value); key 53 src/udev/udevadm-info.c static void print_all_attributes(struct udev_device *device, const char *key) { key 80 src/udev/udevadm-info.c printf(" %s{%s}==\"%s\"\n", key, name, value); key 123 src/udev/udevadm-trigger.c const char *key; key 159 src/udev/udevadm-trigger.c key = keyval(optarg, &val, buf, sizeof(buf)); key 160 src/udev/udevadm-trigger.c udev_enumerate_add_match_sysattr(udev_enumerate, key, val); key 163 src/udev/udevadm-trigger.c key = keyval(optarg, &val, buf, sizeof(buf)); key 164 src/udev/udevadm-trigger.c udev_enumerate_add_nomatch_sysattr(udev_enumerate, key, val); key 167 src/udev/udevadm-trigger.c key = keyval(optarg, &val, buf, sizeof(buf)); key 168 src/udev/udevadm-trigger.c udev_enumerate_add_match_property(udev_enumerate, key, val); key 668 src/udev/udevd.c char *key; key 670 src/udev/udevd.c key = strdup(str); key 671 src/udev/udevd.c if (key != NULL) { key 674 src/udev/udevd.c val = strchr(key, '='); key 679 src/udev/udevd.c log_debug("udevd message (ENV) received, unset '%s'", key); key 680 src/udev/udevd.c udev_add_property(udev, key, NULL); key 682 src/udev/udevd.c log_debug("udevd message (ENV) received, set '%s=%s'", key, val); key 683 src/udev/udevd.c udev_add_property(udev, key, val); key 686 src/udev/udevd.c log_error("wrong key format '%s'", key); key 688 src/udev/udevd.c free(key);