/systemd-251/src/libsystemd/sd-bus/ |
D | test-bus-track.c | 56 const char *unique; in main() local 84 assert_se(sd_bus_get_unique_name(b, &unique) >= 0); in main() 86 assert_se(sd_bus_track_add_name(x, unique) >= 0); in main() 91 assert_se(sd_bus_get_unique_name(a, &unique) >= 0); in main() 93 assert_se(sd_bus_track_add_name(y, unique) >= 0); in main() 101 assert_se(!sd_bus_track_contains(z, unique)); in main() 102 assert_se(sd_bus_track_count_name(z, unique) == 0); in main() 103 assert_se(sd_bus_track_remove_name(z, unique) == 0); in main() 104 assert_se(sd_bus_track_add_name(z, unique) >= 0); in main() 105 assert_se(sd_bus_track_add_name(z, unique) >= 0); in main() [all …]
|
D | bus-control.c | 23 _public_ int sd_bus_get_unique_name(sd_bus *bus, const char **unique) { in sd_bus_get_unique_name() argument 28 assert_return(unique, -EINVAL); in sd_bus_get_unique_name() 38 *unique = bus->unique_name; in sd_bus_get_unique_name() 432 const char *unique; in sd_bus_get_name_creds() local 462 unique = name[0] == ':' ? name : NULL; in sd_bus_get_name_creds() 466 if ((FLAGS_SET(mask, SD_BUS_CREDS_UNIQUE_NAME) && !unique) || mask == 0) { in sd_bus_get_name_creds() 480 r = sd_bus_message_read(reply_unique, "s", &unique); in sd_bus_get_name_creds() 493 if ((mask & SD_BUS_CREDS_UNIQUE_NAME) && unique) { in sd_bus_get_name_creds() 494 c->unique_name = strdup(unique); in sd_bus_get_name_creds() 527 unique ?: name); in sd_bus_get_name_creds() [all …]
|
D | bus-internal.c | 120 bool dot, found_dot = false, unique; in service_name_is_valid() local 125 unique = p[0] == ':'; in service_name_is_valid() 127 for (dot = true, q = unique ? p+1 : p; *q; q++) in service_name_is_valid() 139 ((!dot || unique) && *q >= '0' && *q <= '9') || in service_name_is_valid()
|
D | test-bus-benchmark.c | 218 const char *unique; in main() local 275 r = sd_bus_get_unique_name(b, &unique); in main() 278 server_name = strdup(unique); in main()
|
D | test-bus-chat.c | 51 const char *unique, *desc; in server_init() local 67 r = sd_bus_get_unique_name(bus, &unique); in server_init() 77 log_info("Unique ID: %s", unique); in server_init()
|
/systemd-251/src/libudev/ |
D | libudev-list.c | 33 bool unique:1; member 42 if (entry->list->unique && entry->name) in udev_list_entry_free() 45 if (!entry->list->unique || entry->list->uptodate) in udev_list_entry_free() 57 struct udev_list *udev_list_new(bool unique) { in udev_list_new() argument 65 .unique = unique, in udev_list_new() 97 if (list->unique) { in udev_list_entry_add() 116 if (list->unique) { in udev_list_cleanup() 142 if (list->unique && !list->uptodate) { in udev_list_get_entry() 187 if (list_entry->list->unique && !list_entry->list->uptodate) in udev_list_entry_get_next() 204 if (!list_entry->list->unique || !list_entry->list->uptodate) in udev_list_entry_get_by_name()
|
D | libudev-list-internal.h | 10 struct udev_list *udev_list_new(bool unique);
|
/systemd-251/shell-completion/zsh/ |
D | _busctl | 63 …'destination[Match messaged sent to the given unique name]:unique name:{compadd $(_busctl_get_uniq… 88 __busctl --unique list | 272 '--unique[Only show unique names]' \
|
/systemd-251/src/nspawn/ |
D | nspawn-register.c | 87 const char *unique; in append_controller_property() local 93 r = sd_bus_get_unique_name(bus, &unique); in append_controller_property() 97 r = sd_bus_message_append(m, "(sv)", "Controller", "s", unique); in append_controller_property()
|
/systemd-251/src/shared/ |
D | bus-util.c | 57 const char *unique; in bus_async_unregister_and_exit() local 69 r = sd_bus_get_unique_name(bus, &unique); in bus_async_unregister_and_exit() 80 "arg1='", unique, "',", in bus_async_unregister_and_exit()
|
D | tpm2-util.c | 910 .unique = { in tpm2_seal()
|
/systemd-251/src/boot/efi/ |
D | boot.c | 1785 static BOOLEAN entries_unique(ConfigEntry **entries, BOOLEAN *unique, UINTN entry_count) { in entries_unique() argument 1789 assert(unique); in entries_unique() 1796 is_unique = unique[i] = unique[k] = FALSE; in entries_unique() 1806 BOOLEAN unique[config->entry_count]; in config_title_generate() local 1811 unique[i] = TRUE; in config_title_generate() 1815 if (entries_unique(config->entries, unique, config->entry_count)) in config_title_generate() 1820 if (unique[i]) in config_title_generate() 1823 unique[i] = TRUE; in config_title_generate() 1832 if (entries_unique(config->entries, unique, config->entry_count)) in config_title_generate() 1837 if (unique[i]) in config_title_generate() [all …]
|
/systemd-251/src/udev/scsi_id/ |
D | README | 1 scsi_id - generate a SCSI unique identifier for a given SCSI device
|
/systemd-251/src/run/ |
D | run.c | 933 const char *unique, *id; in make_unit_name() local 941 r = sd_bus_get_unique_name(bus, &unique); in make_unit_name() 962 id = startswith(unique, ":1."); /* let' strip the usual prefix */ in make_unit_name() 964 … id = startswith(unique, ":"); /* the spec only requires things to start with a colon, hence in make_unit_name() 969 unique); in make_unit_name()
|
/systemd-251/docs/ |
D | COREDUMP_PACKAGE_METADATA.md | 15 ELF binaries get stamped with a unique, build-time generated hex string identifier called 71 Each name in the object shall be unique as per recommendations of
|
D | JOURNAL_NATIVE_PROTOCOL.md | 123 displays log entries is likely to ignore such non-unique fields or only 128 structure that allows non-unique keys, for example an array, or a dictionary
|
D | BOOT_LOADER_SPECIFICATION.md | 193 freely but should be unique enough to avoid clashes between OS 217 be descriptive and does not have to be unique. If a boot loader discovers two 240 does not have to be unique (and usually is not). If non-unique the the
|
D | BUILDING_IMAGES.md | 30 carry a 128bit identifier unique to the system. Only when it is reset it 31 will be auto-generated on first boot and thus be truly unique. If this file
|
D | JOURNAL_FILE_FORMAT.md | 82 * Randomized, unique 128bit IDs are used in various locations. These are generally UUID v4 compatib… 308 entry (starting at 1) and are unique among all files which carry the same 420 includes a practically unique string). **n_entries** is a counter of the total
|
/systemd-251/rules.d/ |
D | 99-systemd.rules.in | 43 # accessible or not does not matter as long as it is unique and in the
|
/systemd-251/test/fuzz/fuzz-udev-rules/ |
D | 99-systemd.rules | 43 # accessible or not does not matter as long as it is unique and in the
|
/systemd-251/hwdb.d/ |
D | 60-sensor.hwdb | 240 # bios-version + bios-date combo is unique 427 # should be unique enough to identify the GPDwin 789 # bios-version + bios-date combo is unique 951 # bios-version + bios-date combo is unique
|
/systemd-251/shell-completion/bash/ |
D | busctl | 85 --show-machine --unique --acquired --activatable --list
|
/systemd-251/src/busctl/ |
D | busctl.c | 290 const char *unique = NULL, *session = NULL, *unit = NULL, *cn = NULL; in list_bus_names() local 322 (void) sd_bus_creds_get_unique_name(creds, &unique); in list_bus_names() 329 TABLE_STRING, unique, in list_bus_names()
|
/systemd-251/src/systemd/ |
D | sd-bus.h | 346 int sd_bus_get_unique_name(sd_bus *bus, const char **unique);
|