Searched defs:first (Results 1 - 25 of 42) sorted by relevance

12

/systemd/src/login/
H A Dsysfs-show.c147 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);
H A Dlogind-acl.c184 struct udev_list_entry *item = NULL, *first = NULL; local
222 first = udev_enumerate_get_list_entry(e);
223 udev_list_entry_foreach(item, first) {
H A Dlogind-core.c457 struct udev_list_entry *item = NULL, *first = NULL; local
473 first = udev_enumerate_get_list_entry(e);
474 udev_list_entry_foreach(item, first) {
500 * (the first is the card name, the last the connector
H A Dlogind.c189 struct udev_list_entry *item = NULL, *first = NULL; local
214 first = udev_enumerate_get_list_entry(e);
215 udev_list_entry_foreach(item, first) {
233 struct udev_list_entry *item = NULL, *first = NULL; local
267 first = udev_enumerate_get_list_entry(e);
268 udev_list_entry_foreach(item, first) {
699 * first and then use s->active->vtnr as reference. Note that this is
H A Dlogind-user.c182 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...]
/systemd/src/resolve/
H A Dresolved-dns-search-domain.c173 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 Dresolved-dns-zone.c57 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 Dresolved-dns-query.c572 /* If this a single-label domain on DNS, we might append a suitable search domain first. */
670 DnsScope *s, *first = NULL; local
705 first = s;
710 if (!first)
711 first = s;
726 r = dns_query_add_candidate(q, first);
730 LIST_FOREACH(scopes, s, first->scopes_next) {
H A Dresolved-dns-server.c591 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/timesync/
H A Dtimesyncd-conf.c29 ServerName *first; local
35 first = type == SERVER_FALLBACK ? m->fallback_servers : m->system_servers;
49 LIST_FOREACH(names, n, first)
/systemd/src/bootchart/
H A Dbootchart.h85 /* pointers to first/last seen timestamps */
86 struct ps_sched_struct *first; member in struct:ps_struct
/systemd/src/shared/
H A Dclean-ipc.c48 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;
H A Dcondition.c89 Condition* condition_free_list(Condition *first) { argument
92 LIST_FOREACH_SAFE(conditions, c, n, first)
326 return (access("/run/systemd/first-boot", F_OK) >= 0) == !!r;
479 void condition_dump_list(Condition *first, FILE *f, const char *prefix, const char *(*to_string)(ConditionType t)) { argument
482 LIST_FOREACH(conditions, c, first)
/systemd/src/backlight/
H A Dbacklight.c106 struct udev_list_entry *item = NULL, *first = NULL; local
156 first = udev_enumerate_get_list_entry(enumerate);
157 udev_list_entry_foreach(item, first) {
/systemd/src/core/
H A Dumount.c202 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
H A Ddevice.c48 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 Dswap.c75 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...]
/systemd/src/import/
H A Dcurl-util.c128 * 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/libsystemd/sd-bus/
H A Dtest-bus-marshal.c133 _cleanup_free_ char *first = NULL, *second = NULL, *third = NULL; local
204 ms = open_memstream(&first, &first_size);
265 assert_se(memcmp(first, second, first_size) == 0);
371 printf("<%.*s>\n", (int) first_size, first);
375 assert_se(memcmp(first, third, third_size) == 0);
/systemd/src/libsystemd/sd-path/
H A Dsd-path.c402 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 Ddhcp6-option.c352 bool first = true; local
371 if (!GREEDY_REALLOC(ret, allocated, n + !first + DNS_LABEL_ESCAPED_MAX)) {
376 if (first)
377 first = false;
/systemd/src/libudev/
H A Dlibudev-list.c120 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/basic/
H A Dcalendarspec.c339 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/test/
H A Dtest-strv.c430 static void test_strv_from_stdarg_alloca_one(char **l, const char *first, ...) { argument
434 j = strv_from_stdarg_alloca(first);
455 assert_se(strv_push_prepend(&a, strdup("first")) >= 0);
456 assert_se(streq(a[0], "first"));
464 assert_se(streq(a[1], "first"));
/systemd/src/boot/
H A Dbootctl.c352 /* print entries in BootOrder first */
455 /* If this is an update, then let's compare versions first */
602 * won't create the directories for them in the first
672 static int insert_into_order(uint16_t slot, bool first) { argument
682 /* are we the first and only one? */
691 /* we do not require to be the first one, all is fine */
692 if (!first)
695 /* move us to the first slot */
708 if (first) {
740 bool first) {
737 install_variables(const char *esp_path, uint32_t part, uint64_t pstart, uint64_t psize, sd_id128_t uuid, const char *path, bool first) argument
[all...]

Completed in 59 milliseconds

12