Searched refs:entry (Results 1 - 25 of 31) sorted by relevance

12

/systemd/src/libudev/
H A Dlibudev-list.c38 * 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...]
H A Dlibudev-private.h100 void udev_list_node_remove(struct udev_list_node *entry);
113 void udev_list_entry_delete(struct udev_list_entry *entry);
116 #define udev_list_entry_foreach_safe(entry, tmp, first) \
117 for (entry = first, tmp = udev_list_entry_get_next(entry); \
118 entry != NULL; \
119 entry = tmp, tmp = udev_list_entry_get_next(tmp))
/systemd/src/shared/
H A Dfirewall-util.c41 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 Dacl-util.c30 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...]
H A Ddropin.h37 * This callback will be called for each directory entry @entry,
38 * with @filepath being the full path to the entry.
43 const char *entry,
H A Dacl-util.h30 int acl_find_uid(acl_t acl, uid_t uid, acl_entry_t *entry);
/systemd/src/core/
H A Dsmack-setup.c44 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...]
H A Dload-dropin.c31 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
/systemd/src/udev/
H A Dudevadm-test.c48 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 Dudevadm-monitor.c162 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 Dudev-builtin-keyboard.c196 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 Dudevadm-trigger.c36 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 Dudev-node.c258 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);
/systemd/src/journal-remote/
H A Dlog-generator.py54 entry = template.format(m=m, variable
67 bytes += len(entry)
69 print(entry)
/systemd/src/journal/
H A Dtest-journal.c67 assert_se(le64toh(o->entry.seqnum) == 1);
70 assert_se(le64toh(o->entry.seqnum) == 2);
73 assert_se(le64toh(o->entry.seqnum) == 3);
78 assert_se(le64toh(o->entry.seqnum) == 1);
82 assert_se(le64toh(o->entry.seqnum) == 1);
85 assert_se(le64toh(o->entry.seqnum) == 3);
89 assert_se(le64toh(o->entry.seqnum) == 2);
92 assert_se(le64toh(o->entry.seqnum) == 2);
97 assert_se(le64toh(o->entry.seqnum) == 1);
100 assert_se(le64toh(o->entry
[all...]
H A Djournal-verify.c216 "Bad entry size (<= %zu): %"PRIu64,
224 "Invalid number items in entry: %"PRIu64,
229 if (le64toh(o->entry.seqnum) <= 0) {
231 "Invalid entry seqnum: %"PRIx64,
232 le64toh(o->entry.seqnum));
236 if (!VALID_REALTIME(le64toh(o->entry.realtime))) {
238 "Invalid entry realtime timestamp: %"PRIu64,
239 le64toh(o->entry.realtime));
243 if (!VALID_MONOTONIC(le64toh(o->entry.monotonic))) {
245 "Invalid entry monotoni
[all...]
H A Dsd-journal.c143 l->seqnum = le64toh(o->entry.seqnum);
145 l->realtime = le64toh(o->entry.realtime);
146 l->monotonic = le64toh(o->entry.monotonic);
147 l->boot_id = o->entry.boot_id;
148 l->xor_hash = le64toh(o->entry.xor_hash);
163 /* Let f know its candidate entry was picked. */
551 /* Always jump to the next matching entry and repeat
746 /* If we have a match then we look for the next matching entry
775 * candidate entry. */
793 /* OK, we found the spot, now let's advance until an entry
[all...]
H A Djournal-file.c74 /* n_data was the first entry we added after the initial file format design */
77 /* How many entries to keep in the entry array chain cache at max */
630 /* We estimate that we need 1 hash table entry per 768 bytes
810 /* Only entry in the hash table is easy */
915 /* If there's no data hash table, then there's no entry. */
1178 return (le64toh(o->object.size) - offsetof(Object, entry.items)) / sizeof(EntryItem);
1310 p = le64toh(o->entry.items[i].object_offset);
1339 /* Link up the entry itself */
1347 /* log_debug("=> %s seqnr=%"PRIu64" n_entries=%"PRIu64, f->path, o->entry.seqnum, f->header->n_entries); */
1350 f->header->head_entry_realtime = o->entry
[all...]
H A Djournal-def.h86 le64_t entry_offset; /* the first array entry we store inline */
144 EntryObject entry; member in union:Object
/systemd/src/boot/efi/
H A Dboot.c333 /* 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/login/
H A Dlogind-acl.c90 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/basic/
H A Dlocale-util.c146 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/tools/
H A Dmake-directive-index.py257 entry = tree.SubElement(varlist, 'varlistentry')
258 term = tree.SubElement(entry, 'term')
262 para = tree.SubElement(tree.SubElement(entry, 'listitem'), 'para')
274 entry.tail = '\n\n'
/systemd/src/libsystemd-network/
H A Dnetwork-internal.c476 _cleanup_free_ char* entry = NULL; local
484 entry = strndup(word, len);
485 if(!entry)
488 tok = entry;
/systemd/src/test/
H A Dtest-libudev.c395 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));

Completed in 5301 milliseconds

12