/systemd/src/core/ |
H A D | load-dropin.c | 31 const char *entry, 39 r = unit_add_dependency_by_name(u, dependency, entry, filepath, true); 41 log_error_errno(r, "Cannot add dependency %s to %s, ignoring: %m", entry, u->id); 29 add_dependency_consumer( UnitDependency dependency, const char *entry, const char* filepath, void *arg) argument
|
H A D | smack-setup.c | 44 struct dirent *entry; local 74 FOREACH_DIRENT(entry, dir, return 0) { 78 if (!dirent_is_file(entry)) 81 fd = openat(dfd, entry->d_name, O_RDONLY|O_CLOEXEC); 85 log_warning_errno(errno, "Failed to open '%s': %m", entry->d_name); 94 log_error_errno(errno, "Failed to open '%s': %m", entry->d_name); 101 entry->d_name)) { 111 log_error_errno(errno, "Failed to parse rule '%s' in '%s', ignoring.", buf, entry->d_name); 119 buf, isempty(acc2) ? "/sys/fs/smackfs/load2" : "/sys/fs/smackfs/change-rule", entry->d_name); 130 struct dirent *entry; local 201 struct dirent *entry; local [all...] |
/systemd/src/journal-remote/ |
H A D | log-generator.py | 54 entry = template.format(m=m, variable 67 bytes += len(entry) 69 print(entry)
|
/systemd/src/shared/ |
H A D | firewall-util.c | 41 struct ipt_entry *entry, 50 assert(entry); 58 entry->ip.proto = protocol; 61 strcpy(entry->ip.iniface, in_interface); 62 memset(entry->ip.iniface_mask, 0xFF, strlen(in_interface)+1); 65 entry->ip.src = source->in; 66 in_addr_prefixlen_to_netmask(&entry->ip.smsk, source_prefixlen); 70 strcpy(entry->ip.outiface, out_interface); 71 memset(entry->ip.outiface_mask, 0xFF, strlen(out_interface)+1); 74 entry 40 entry_fill_basics( struct ipt_entry *entry, int protocol, const char *in_interface, const union in_addr_union *source, unsigned source_prefixlen, const char *out_interface, const union in_addr_union *destination, unsigned destination_prefixlen) argument 92 struct ipt_entry *entry, *mask; local 172 struct ipt_entry *entry, *mask; local [all...] |
H A D | acl-util.c | 30 int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry) { argument 35 assert(entry); 59 *entry = i; 167 acl_entry_t entry; local 176 r = acl_get_entry(acl, ACL_FIRST_ENTRY, &entry); 186 if (acl_get_tag_type(entry, &tag) < 0) 192 gid = acl_get_qualifier(entry); 216 r = acl_get_entry(acl, ACL_NEXT_ENTRY, &entry); 230 char **entry; local 238 STRV_FOREACH(entry, spli 346 find_acl_entry(acl_t acl, acl_entry_t entry, acl_entry_t *out) argument 402 acl_entry_t entry; local [all...] |
/systemd/src/udev/ |
H A D | udevadm-test.c | 48 struct udev_list_entry *entry; local 141 udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev)) 142 printf("%s=%s\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry)); 144 udev_list_entry_foreach(entry, udev_list_get_entry(&event->run_list)) { 147 udev_event_apply_format(event, udev_list_entry_get_name(entry), program, sizeof(program));
|
H A D | udevadm-monitor.c | 162 struct udev_list_entry *entry; local 172 udev_list_entry_foreach(entry, udev_list_get_entry(&subsystem_match_list)) { 173 const char *subsys = udev_list_entry_get_name(entry); 174 const char *devtype = udev_list_entry_get_value(entry); 180 udev_list_entry_foreach(entry, udev_list_get_entry(&tag_match_list)) { 181 const char *tag = udev_list_entry_get_name(entry); 204 struct udev_list_entry *entry; local 214 udev_list_entry_foreach(entry, udev_list_get_entry(&subsystem_match_list)) { 215 const char *subsys = udev_list_entry_get_name(entry);
|
H A D | udevadm-trigger.c | 36 struct udev_list_entry *entry; local 38 udev_list_entry_foreach(entry, udev_enumerate_get_list_entry(udev_enumerate)) { 43 printf("%s\n", udev_list_entry_get_name(entry)); 46 strscpyl(filename, sizeof(filename), udev_list_entry_get_name(entry), "/uevent", NULL);
|
H A D | udev-builtin-keyboard.c | 196 struct udev_list_entry *entry; local 208 udev_list_entry_foreach(entry, udev_device_get_properties_list_entry(dev)) { 212 key = udev_list_entry_get_name(entry); 224 keycode = udev_list_entry_get_value(entry); 226 /* a leading '!' needs a force-release entry */ 261 override_abs(fd, node, evcode, udev_list_entry_get_value(entry)); 263 set_trackpoint_sensitivity(dev, udev_list_entry_get_value(entry));
|
H A D | udev-node.c | 258 struct udev_list_entry *entry; local 295 udev_list_entry_foreach(entry, udev_list_get_entry(seclabel_list)) { 299 name = udev_list_entry_get_name(entry); 300 label = udev_list_entry_get_value(entry);
|
H A D | udevadm-hwdb.c | 92 /* extend array, add new entry, sort for bisection */ 164 /* extend array, add new entry, sort for bisection */ 423 struct udev_list_entry *entry; local 443 udev_list_entry_foreach(entry, udev_list_get_entry(match_list)) 444 trie_insert(trie, trie->root, udev_list_entry_get_name(entry), line, value);
|
H A D | udev-rules.c | 2531 struct udev_list_entry *entry; local 2539 entry = udev_list_entry_add(&event->run_list, rules_str(rules, cur->key.value_off), NULL); 2540 udev_list_entry_set_num(entry, cur->key.builtin_cmd);
|
/systemd/src/login/ |
H A D | logind-acl.c | 90 acl_entry_t entry; local 92 r = acl_find_uid(acl, old_uid, &entry); 97 if (acl_delete_entry(acl, entry) < 0) { 107 acl_entry_t entry; local 111 r = acl_find_uid(acl, new_uid, &entry); 116 if (acl_create_entry(&acl, &entry) < 0) { 121 if (acl_set_tag_type(entry, ACL_USER) < 0 || 122 acl_set_qualifier(entry, &new_uid) < 0) { 128 if (acl_get_permset(entry, &permset) < 0) {
|
/systemd/src/libudev/ |
H A D | libudev-list.c | 38 * Opaque object representing one entry in a list. An entry contains 76 void udev_list_node_remove(struct udev_list_node *entry) argument 78 struct udev_list_node *prev = entry->prev; 79 struct udev_list_node *next = entry->next; 84 entry->prev = NULL; 85 entry->next = NULL; 88 /* return list entry which embeds this node */ 102 /* insert entry into a list as the last element */ 110 /* insert entry int 111 udev_list_entry_insert_before(struct udev_list_entry *new, struct udev_list_entry *entry) argument 144 struct udev_list_entry *entry; local 224 udev_list_entry_delete(struct udev_list_entry *entry) argument [all...] |
/systemd/src/basic/ |
H A D | locale-util.c | 146 struct dirent *entry; local 153 FOREACH_DIRENT(entry, dir, return -errno) { 156 if (entry->d_type != DT_DIR) 159 z = strdup(entry->d_name);
|
/systemd/src/test/ |
H A D | test-libudev.c | 395 struct udev_list_entry *entry; local 399 udev_list_entry_foreach(entry, udev_hwdb_get_properties_list_entry(hwdb, modalias, 0)) 400 printf("'%s'='%s'\n", udev_list_entry_get_name(entry), udev_list_entry_get_value(entry));
|
/systemd/src/libsystemd-network/ |
H A D | network-internal.c | 476 _cleanup_free_ char* entry = NULL; local 484 entry = strndup(word, len); 485 if(!entry) 488 tok = entry;
|
/systemd/src/hwdb/ |
H A D | hwdb.c | 98 /* extend array, add new entry, sort for bisection */ 183 /* extend array, add new entry, sort for bisection */ 440 char *value, **entry; local 460 STRV_FOREACH(entry, match_list) 461 trie_insert(trie, trie->root, *entry, line, value);
|
/systemd/src/journal/ |
H A D | journal-def.h | 86 le64_t entry_offset; /* the first array entry we store inline */ 144 EntryObject entry; member in union:Object
|
/systemd/src/boot/efi/ |
H A D | boot.c | 333 /* select entry by number key */ 400 Print(L"config entry count: %d\n", config->entry_count); 401 Print(L"entry selected idx: %d\n", config->idx_default); 403 Print(L"entry EFI var idx: %d\n", config->idx_default_efivar); 423 ConfigEntry *entry; local 428 entry = config->entries[i]; 429 Print(L"config entry: %d/%d\n", i+1, config->entry_count); 430 if (entry->file) 431 Print(L"file '%s'\n", entry->file); 432 Print(L"title show '%s'\n", entry 833 config_add_entry(Config *config, ConfigEntry *entry) argument 847 config_entry_free(ConfigEntry *entry) argument 1009 ConfigEntry *entry; local 1205 ConfigEntry *entry; local 1415 ConfigEntry *entry; local 1427 ConfigEntry *entry; local 1445 ConfigEntry *entry; local 1498 ConfigEntry *entry; local 1609 image_start(EFI_HANDLE parent_image, const Config *config, const ConfigEntry *entry) argument 1806 ConfigEntry *entry; local [all...] |
/systemd/src/coredump/ |
H A D | coredump.c | 73 /* Make sure to not make this larger than the maximum journal entry 141 acl_entry_t entry; local 157 if (acl_create_entry(&acl, &entry) < 0 || 158 acl_set_tag_type(entry, ACL_USER) < 0 || 159 acl_set_qualifier(entry, &uid) < 0) { 164 if (acl_get_permset(entry, &permset) < 0 || 533 /* Use the directory entry from /proc/[pid]/fd with /proc/[pid]/fdinfo */
|
/systemd/src/resolve/ |
H A D | resolved-dns-packet.c | 624 uint8_t entry = 0; local 637 if ((n >> 8) != window && bitmaps[entry / 8] != 0) { 638 r = dns_packet_append_type_window(p, window, entry / 8 + 1, bitmaps, NULL); 646 entry = n & 255; 648 bitmaps[entry / 8] |= 1 << (7 - (entry % 8)); 651 if (bitmaps[entry / 8] != 0) { 652 r = dns_packet_append_type_window(p, window, entry / 8 + 1, bitmaps, NULL);
|