| /systemd/src/udev/ |
| H A D | udev-builtin-net_id.c | 21 * Predictable network interface device names based on: 35 * Type of names: 136 static int dev_pci_onboard(struct udev_device *dev, struct netnames *names) { argument 144 attr = udev_device_get_sysattr_value(names->pcidev, "acpi_index"); 147 attr = udev_device_get_sysattr_value(names->pcidev, "index"); 167 s = names->pci_onboard; 168 l = sizeof(names->pci_onboard); 173 names->pci_onboard[0] = '\0'; 175 names->pci_onboard_label = udev_device_get_sysattr_value(names 200 dev_pci_slot(struct udev_device *dev, struct netnames *names) argument 288 names_pci(struct udev_device *dev, struct netnames *names) argument 319 names_usb(struct udev_device *dev, struct netnames *names) argument 375 names_bcma(struct udev_device *dev, struct netnames *names) argument 397 names_ccw(struct udev_device *dev, struct netnames *names) argument 445 names_mac(struct udev_device *dev, struct netnames *names) argument 479 ieee_oui(struct udev_device *dev, struct netnames *names, bool test) argument 500 struct netnames names = {}; local [all...] |
| /systemd/src/shared/ |
| H A D | fstab-util.h | 29 int fstab_filter_options(const char *opts, const char *names, const char **namefound, char **value, char **filtered); 33 static inline bool fstab_test_option(const char *opts, const char *names) { argument 34 return !!fstab_filter_options(opts, names, NULL, NULL, NULL);
|
| H A D | dropin.h | 60 Set *names,
|
| H A D | fstab-util.c | 52 int fstab_filter_options(const char *opts, const char *names, argument 58 assert(names && *names); 70 NULSTR_FOREACH(name, names) { 106 NULSTR_FOREACH(name, names) {
|
| H A D | dropin.c | 224 Set *names, 234 SET_FOREACH(t, names, i) { 221 unit_file_find_dropin_paths( char **lookup_path, Set *unit_path_cache, Set *names, char ***paths) argument
|
| /systemd/src/core/ |
| H A D | load-dropin.h | 30 u->names,
|
| H A D | load-dropin.c | 55 SET_FOREACH(t, u->names, i) {
|
| /systemd/src/timesync/ |
| H A D | timesyncd-server.c | 91 LIST_FIND_TAIL(names, m->system_servers, tail); 92 LIST_INSERT_AFTER(names, m->system_servers, tail, n); 94 LIST_FIND_TAIL(names, m->link_servers, tail); 95 LIST_INSERT_AFTER(names, m->link_servers, tail, n); 97 LIST_FIND_TAIL(names, m->fallback_servers, tail); 98 LIST_INSERT_AFTER(names, m->fallback_servers, tail, n); 125 LIST_REMOVE(names, n->manager->system_servers, n); 127 LIST_REMOVE(names, n->manager->link_servers, n); 129 LIST_REMOVE(names, n->manager->fallback_servers, n);
|
| H A D | timesyncd-server.h | 54 LIST_FIELDS(ServerName, names);
|
| H A D | timesyncd-conf.c | 49 LIST_FOREACH(names, n, first)
|
| /systemd/src/libsystemd/sd-bus/ |
| H A D | bus-track.c | 32 Hashmap *names; member in struct:sd_bus_track 136 while ((n = hashmap_first_key(track->names))) 140 hashmap_free(track->names); 172 r = hashmap_ensure_allocated(&track->names, &string_hash_ops); 186 r = hashmap_put(track->names, n, slot); 196 hashmap_remove(track->names, n); 218 slot = hashmap_remove2(track->names, (char*) name, (void**) &n); 222 if (hashmap_isempty(track->names)) 234 return hashmap_size(track->names); 241 return hashmap_get(track->names, (voi [all...] |
| H A D | busctl.c | 80 _cleanup_hashmap_free_ Hashmap *names = NULL; local 96 return log_error_errno(r, "Failed to list names: %m"); 100 names = hashmap_new(&string_hash_ops); 101 if (!names) 107 r = hashmap_put(names, *i, NAME_IS_ACQUIRED); 115 r = hashmap_put(names, *i, NAME_IS_ACTIVATABLE); 120 merged = new(char*, hashmap_size(names) + 1); 121 HASHMAP_FOREACH_KEY(v, k, names, iterator) 141 if (hashmap_get(names, *i) == NAME_IS_ACTIVATABLE) { 434 _cleanup_strv_free_ char **names local [all...] |
| H A D | bus-objects.c | 1880 char **names) { 1934 if (names) { 1939 STRV_FOREACH(property, names) { 2033 if (names) { 2034 STRV_FOREACH(property, names) { 2084 char **names) { 2099 /* A non-NULL but empty names list means nothing needs to be 2103 if (names && names[0] == NULL) 2109 r = emit_properties_changed_on_interface(bus, path, path, interface, false, &found_interface, names); 1873 emit_properties_changed_on_interface( sd_bus *bus, const char *prefix, const char *path, const char *interface, bool require_fallback, bool *found_interface, char **names) argument 2080 sd_bus_emit_properties_changed_strv( sd_bus *bus, const char *path, const char *interface, char **names) argument 2135 char **names; local [all...] |
| /systemd/src/resolve/ |
| H A D | resolved-etc-hosts.c | 36 char **names; member in struct:EtcHostsItem 51 strv_free(item->names); 98 static int add_item(Manager *m, int family, const union in_addr_union *address, char **names) { argument 119 /* If this is a normal address, then, simply add entry mapping it to the specified names */ 123 r = strv_extend_strv(&item->names, names, true); 138 item->names = names; 148 STRV_FOREACH(n, names) { 188 _cleanup_strv_free_ char **names local [all...] |
| /systemd/src/systemd/ |
| H A D | sd-daemon.h | 77 int sd_listen_fds_with_names(int unset_environment, char ***names); 200 recommended to prefix variable names not listed above with X_.
|
| /systemd/src/bus-proxyd/ |
| H A D | bus-xml-policy.h | 103 Set *names, 121 Set *names,
|
| H A D | driver.c | 400 _cleanup_strv_free_ char **names = NULL; local 405 r = sd_bus_list_names(a, NULL, &names); 409 /* Let's sort the names list to make it stable */ 410 strv_sort(names); 412 return synthetic_reply_method_return_strv(m, names); 415 _cleanup_strv_free_ char **names = NULL; local 420 r = sd_bus_list_names(a, &names, NULL); 424 r = strv_extend(&names, "org.freedesktop.DBus"); 428 /* Let's sort the names list to make it stable */ 429 strv_sort(names); [all...] |
| H A D | bus-xml-policy.c | 900 Set *names, 913 if (set_isempty(names) && strv_isempty(namesv)) { 916 SET_FOREACH(n, names, i) { 969 Set *names, 983 if (set_isempty(names) && strv_isempty(namesv)) { 986 SET_FOREACH(n, names, i) { 896 policy_check_recv(Policy *p, uid_t uid, gid_t gid, int message_type, Set *names, char **namesv, const char *path, const char *interface, const char *member, bool dbus_to_kernel) argument 965 policy_check_send(Policy *p, uid_t uid, gid_t gid, int message_type, Set *names, char **namesv, const char *path, const char *interface, const char *member, bool dbus_to_kernel, char **out_used_name) argument
|
| /systemd/src/locale/ |
| H A D | localed.c | 68 static const char * const names[_LOCALE_MAX] = { variable 171 assert(names[p]); 174 nonempty(getenv(names[p]))); 290 assert(names[p]); 293 l = strv_env_unset(l, names[p]); 297 if (asprintf(&t, "%s=%s", names[p], c->locale[p]) < 0) 343 assert(names[p]); 346 l_unset[c_set++] = (char*) names[p]; 350 if (asprintf(&s, "%s=%s", names[p], c->locale[p]) < 0) 875 if (asprintf(&t, "%s=%s", names[ [all...] |
| /systemd/src/libsystemd-network/ |
| H A D | dhcp6-option.c | 343 _cleanup_free_ char **names = NULL; local 400 r = strv_extend(&names, ret); 407 *str_arr = names; 408 names = NULL;
|
| /systemd/src/journal-remote/ |
| H A D | microhttpd-util.c | 108 const char *const names[4]; member in struct:__anon111 129 log_internal(gnutls_log_map[level].level, 0, NULL, 0, NULL, "gnutls %d/%s: %s", level, gnutls_log_map[level].names[1], message); 157 if (strv_contains((char**)gnutls_log_map[i].names, cat)) {
|
| /systemd/tools/ |
| H A D | make-directive-index.py | 172 <para>Paths and file names referred to in the 308 names = [vl.get('id') for vl in template.iterfind('.//variablelist')] 310 for name in names}
|
| /systemd/src/systemctl/ |
| H A D | systemctl.c | 635 return log_error_errno(r, "Failed to get machine names: %m"); 2356 _cleanup_set_free_ Set *names; local 2358 names = set_new(NULL); 2359 if (!names) 2362 r = set_put(names, unit_name); 2384 r = unit_file_find_dropin_paths(lp->unit_path, NULL, names, &dropins); 2629 static int expand_names(sd_bus *bus, char **names, const char* suffix, char ***ret) { argument 2637 STRV_FOREACH(name, names) { 2655 /* Query the manager only if any of the names are a glob, since 2722 _cleanup_strv_free_ char **names local 3162 _cleanup_strv_free_ char **names = NULL; local 3201 _cleanup_strv_free_ char **names = NULL; local 4703 _cleanup_strv_free_ char **names = NULL; local 4780 _cleanup_strv_free_ char **names = NULL; local 4946 _cleanup_strv_free_ char **names = NULL; local 5378 _cleanup_strv_free_ char **names = NULL; local 5559 _cleanup_strv_free_ char **names = NULL; local 5706 _cleanup_strv_free_ char **names = NULL; local 6058 find_paths_to_edit(sd_bus *bus, char **names, char ***paths) argument 6103 _cleanup_strv_free_ char **names = NULL; local [all...] |
| /systemd/src/fstab-generator/ |
| H A D | fstab-generator.c | 169 _cleanup_strv_free_ char **names = NULL, **units = NULL; local 177 r = fstab_extract_values(opts, "x-systemd.requires", &names); 183 STRV_FOREACH(s, names) {
|
| /systemd/src/libsystemd/sd-daemon/ |
| H A D | sd-daemon.c | 107 _public_ int sd_listen_fds_with_names(int unset_environment, char ***names) { argument 114 if (!names) 142 *names = l;
|