/systemd/src/resolve/ |
H A D | resolved-dns-search-domain.h | 64 void dns_search_domain_unlink_all(DnsSearchDomain *first); 65 void dns_search_domain_unlink_marked(DnsSearchDomain *first); 66 void dns_search_domain_mark_all(DnsSearchDomain *first); 68 int dns_search_domain_find(DnsSearchDomain *first, const char *name, DnsSearchDomain **ret);
|
H A D | resolved-dns-search-domain.c | 173 void dns_search_domain_unlink_all(DnsSearchDomain *first) { argument 176 if (!first) 179 next = first->domains_next; 180 dns_search_domain_unlink(first); 185 void dns_search_domain_unlink_marked(DnsSearchDomain *first) { argument 188 if (!first) 191 next = first->domains_next; 193 if (first->marked) 194 dns_search_domain_unlink(first); 199 void dns_search_domain_mark_all(DnsSearchDomain *first) { argument 207 dns_search_domain_find(DnsSearchDomain *first, const char *name, DnsSearchDomain **ret) argument [all...] |
H A D | resolved-dns-zone.c | 57 DnsZoneItem *first; local 64 first = hashmap_get(z->by_key, i->rr->key); 65 LIST_REMOVE(by_key, first, i); 66 if (first) 67 assert_se(hashmap_replace(z->by_key, first->rr->key, first) >= 0); 71 first = hashmap_get(z->by_name, DNS_RESOURCE_KEY_NAME(i->rr->key)); 72 LIST_REMOVE(by_name, first, i); 73 if (first) 74 assert_se(hashmap_replace(z->by_name, DNS_RESOURCE_KEY_NAME(first 137 DnsZoneItem *first; local 250 DnsZoneItem *first, *j; local 288 DnsZoneItem *j, *first; local 554 DnsZoneItem *i, *first; local 588 DnsZoneItem *i, *first; local [all...] |
H A D | resolved-dns-server.h | 129 DnsServer *dns_server_find(DnsServer *first, int family, const union in_addr_union *in_addr); 131 void dns_server_unlink_all(DnsServer *first); 132 void dns_server_unlink_marked(DnsServer *first); 133 void dns_server_mark_all(DnsServer *first);
|
H A D | resolved-dns-cache.c | 72 DnsCacheItem *first; local 79 first = hashmap_get(c->by_key, i->key); 80 LIST_REMOVE(by_key, first, i); 82 if (first) 83 assert_se(hashmap_replace(c->by_key, first->key, first) >= 0); 93 DnsCacheItem *first, *i; local 96 first = hashmap_get(c->by_key, rr->key); 97 LIST_FOREACH(by_key, i, first) { 111 DnsCacheItem *first, * local 237 DnsCacheItem *first; local 808 DnsCacheItem *j, *first, *nsec = NULL; local 947 DnsCacheItem *i, *first; local [all...] |
H A D | resolved-dns-server.c | 591 void dns_server_unlink_all(DnsServer *first) { argument 594 if (!first) 597 next = first->servers_next; 598 dns_server_unlink(first); 603 void dns_server_unlink_marked(DnsServer *first) { argument 606 if (!first) 609 next = first->servers_next; 611 if (first->marked) 612 dns_server_unlink(first); 617 void dns_server_mark_all(DnsServer *first) { argument 625 dns_server_find(DnsServer *first, int family, const union in_addr_union *in_addr) argument [all...] |
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-kernel.h | 29 #define KDBUS_ITEM_FOREACH(part, head, first) \ 30 for (part = (head)->first; \ 34 #define KDBUS_FOREACH(iter, first, _size) \ 35 for (iter = (first); \ 36 ((uint8_t *)(iter) < (uint8_t *)(first) + (_size)) && \ 37 ((uint8_t *)(iter) >= (uint8_t *)(first)); \
|
/systemd/src/timesync/ |
H A D | timesyncd-conf.c | 29 ServerName *first; local 35 first = type == SERVER_FALLBACK ? m->fallback_servers : m->system_servers; 49 LIST_FOREACH(names, n, first)
|
/systemd/src/basic/ |
H A D | strv.h | 111 #define strv_from_stdarg_alloca(first) \ 115 if (!first) \ 116 _l = (char**) &first; \ 122 va_start(_ap, first); \ 128 _l[_n = 0] = (char*) first; \ 129 va_start(_ap, first); \
|
H A D | calendarspec.c | 339 bool first = true; local 348 if (!first && **p == ' ') 385 return first ? 0 : -EINVAL; 406 first = false; 553 CalendarComponent *first, *second, *third; local 564 r = parse_chain(&t, false, &first); 570 free_chain(first); 575 free_chain(first); 582 free_chain(first); 589 c->month = first; [all...] |
/systemd/src/libsystemd/sd-netlink/ |
H A D | netlink-socket.c | 324 _cleanup_(sd_netlink_message_unrefp) sd_netlink_message *first = NULL; 370 first = rtnl->rqueue_partial[i]; 392 /* if first is not defined, put NLMSG_DONE into the receive queue. */ 393 if (first) 429 if (first) 430 m->next = first; 431 first = m; 438 if (!first) 447 rtnl->rqueue[rtnl->rqueue_size ++] = first; 448 first [all...] |
/systemd/src/shared/ |
H A D | clean-ipc.c | 48 bool first = true; local 66 if (first) { 67 first = false; 104 bool first = true; local 120 if (first) { 121 first = false; 155 bool first = true; local 172 if (first) { 173 first = false;
|
/systemd/src/core/ |
H A D | device.c | 48 Device *first; local 58 first = hashmap_get(devices, d->sysfs); 59 LIST_REMOVE(same_sysfs, first, d); 61 if (first) 62 hashmap_remove_and_replace(devices, d->sysfs, first->sysfs, first); 70 Device *first; local 89 first = hashmap_get(UNIT(d)->manager->devices_by_sysfs, sysfs); 90 LIST_PREPEND(same_sysfs, first, d); 92 r = hashmap_replace(UNIT(d)->manager->devices_by_sysfs, copy, first); 380 struct udev_list_entry *item = NULL, *first = NULL; local 537 Device *other, *first = NULL; local 611 struct udev_list_entry *item = NULL, *first = NULL; local [all...] |
H A D | swap.c | 75 Swap *first; local 87 first = hashmap_get(swaps, s->devnode); 89 LIST_REMOVE(same_devnode, first, s); 90 if (first) 91 hashmap_replace(swaps, first->devnode, first); 103 first = hashmap_get(swaps, s->devnode); 104 LIST_PREPEND(same_devnode, first, s); 106 return hashmap_replace(swaps, first->devnode, first); 433 struct udev_list_entry *item = NULL, *first = NULL; local 1200 Swap *other, *first = NULL; local 1321 struct udev_list_entry *item = NULL, *first = NULL; local [all...] |
H A D | umount.c | 202 struct udev_list_entry *item = NULL, *first = NULL; local 232 first = udev_enumerate_get_list_entry(e); 233 udev_list_entry_foreach(item, first) { 266 struct udev_list_entry *item = NULL, *first = NULL; local 292 first = udev_enumerate_get_list_entry(e); 293 udev_list_entry_foreach(item, first) { 389 * read-only first, before we go on and umount
|
/systemd/src/login/ |
H A D | logind-user.c | 182 bool first; local 185 first = true; 187 if (first) 188 first = false; 196 first = true; 201 if (first) 202 first = false; 210 first = true; 215 if (first) 216 first [all...] |
H A D | sysfs-show.c | 147 struct udev_list_entry *first = NULL; local 182 first = udev_enumerate_get_list_entry(e); 183 if (first) 184 show_sysfs_one(udev, seat, &first, "/", prefix, n_columns);
|
/systemd/src/boot/efi/ |
H A D | boot.c | 71 static VOID cursor_left(UINTN *cursor, UINTN *first) { argument 74 else if ((*first) > 0) 75 (*first)--; 78 static VOID cursor_right(UINTN *cursor, UINTN *first, UINTN x_max, UINTN len) { argument 81 else if ((*first) + (*cursor) < len) 82 (*first)++; 89 UINTN first; local 106 first = 0; 116 i = len - first; 119 CopyMem(print, line + first, 875 INTN first; local [all...] |
/systemd/src/import/ |
H A D | curl-util.h | 51 struct curl_slist *curl_slist_new(const char *first, ...) _sentinel_;
|
H A D | curl-util.c | 128 * the fd first, and only then calls into us. This is 346 struct curl_slist *curl_slist_new(const char *first, ...) { argument 350 if (!first) 353 l = curl_slist_append(NULL, first); 357 va_start(ap, first);
|
/systemd/src/libudev/ |
H A D | libudev-list.c | 120 unsigned int first, last; local 122 first = 0; 124 while (first < last) { 128 i = (first + last)/2; 133 first = i+1; 139 return -(first+1);
|
/systemd/src/bus-proxyd/ |
H A D | bus-xml-policy.c | 391 PolicyItem *first; local 393 first = hashmap_get(p->user_items, UID_TO_PTR(i->uid)); 394 item_append(i, &first); 397 r = hashmap_replace(p->user_items, UID_TO_PTR(i->uid), first); 399 LIST_REMOVE(items, first, i); 423 PolicyItem *first; local 425 first = hashmap_get(p->group_items, GID_TO_PTR(i->gid)); 426 item_append(i, &first); 429 r = hashmap_replace(p->group_items, GID_TO_PTR(i->gid), first); 431 LIST_REMOVE(items, first, 1041 PolicyItem *i, *first; local [all...] |
/systemd/src/bootchart/ |
H A D | bootchart.h | 85 /* pointers to first/last seen timestamps */ 86 struct ps_sched_struct *first; member in struct:ps_struct
|
/systemd/src/libsystemd/sd-path/ |
H A D | sd-path.c | 402 const char *first, ...) { 425 if (!l && first) { 428 va_start(ap, first); 429 l = strv_new_ap(first, ap); 396 search_from_environment( char ***list, const char *env_home, const char *home_suffix, const char *env_search, bool env_search_sufficient, const char *first, ...) argument
|
/systemd/src/libsystemd-network/ |
H A D | dhcp6-option.c | 352 bool first = true; local 371 if (!GREEDY_REALLOC(ret, allocated, n + !first + DNS_LABEL_ESCAPED_MAX)) { 376 if (first) 377 first = false;
|