Home
last modified time | relevance | path

Searched refs:found (Results 1 – 25 of 137) sorted by relevance

123456

/systemd-251/src/sysupdate/
Dsysupdate-pattern.c190 _cleanup_(instance_metadata_destroy) InstanceMetadata found = INSTANCE_METADATA_NULL; in pattern_match()
242 assert(!found.version); in pattern_match()
243 found.version = TAKE_PTR(t); in pattern_match()
252 assert(!found.partition_uuid_set); in pattern_match()
253 found.partition_uuid = id; in pattern_match()
254 found.partition_uuid_set = true; in pattern_match()
264 if (found.partition_flags_set && found.partition_flags != f) in pattern_match()
267 assert(!found.partition_flags_set); in pattern_match()
268 found.partition_flags = f; in pattern_match()
269 found.partition_flags_set = true; in pattern_match()
[all …]
/systemd-251/src/shared/
Ddissect-image.c414 .found = true, in dissect_image()
786 if (m->partitions[designator].found) { in dissect_image()
823 .found = true, in dissect_image()
866 if (m->partitions[PARTITION_XBOOTLDR].found) in dissect_image()
885 .found = true, in dissect_image()
902 if (m->partitions[PARTITION_ROOT].found) { in dissect_image()
905 m->partitions[PARTITION_ROOT_SECONDARY].found = false; in dissect_image()
906 m->partitions[PARTITION_ROOT_SECONDARY_VERITY].found = false; in dissect_image()
907 m->partitions[PARTITION_ROOT_SECONDARY_VERITY_SIG].found = false; in dissect_image()
908 m->partitions[PARTITION_USR_SECONDARY].found = false; in dissect_image()
[all …]
Dutmp-wtmp.c29 struct utmpx *found, lookup = { .ut_type = RUN_LVL }; in utmp_get_runlevel() local
54 found = getutxid(&lookup); in utmp_get_runlevel()
55 if (!found) in utmp_get_runlevel()
58 *runlevel = found->ut_pid & 0xFF; in utmp_get_runlevel()
60 *previous = (found->ut_pid >> 8) & 0xFF; in utmp_get_runlevel()
221 }, store, store_wtmp, *found; in utmp_put_dead_process() local
230 found = getutxid(&lookup); in utmp_put_dead_process()
231 if (!found) in utmp_put_dead_process()
234 if (found->ut_pid != pid) in utmp_put_dead_process()
237 memcpy(&store, found, sizeof(store)); in utmp_put_dead_process()
Ddevnode-acl.c21 int found; in flush_acl() local
26 for (found = acl_get_entry(acl, ACL_FIRST_ENTRY, &i); in flush_acl()
27 found > 0; in flush_acl()
28 found = acl_get_entry(acl, ACL_NEXT_ENTRY, &i)) { in flush_acl()
44 if (found < 0) in flush_acl()
Dlibfido2-util.c479 size_t allocated = 64, found = 0; in fido2_use_hmac_hash() local
494 r = sym_fido_dev_info_manifest(di, allocated, &found); in fido2_use_hmac_hash()
505 for (size_t i = 0; i < found; i++) { in fido2_use_hmac_hash()
951 size_t allocated = 64, found = 0; in fido2_list_devices() local
963 r = sym_fido_dev_info_manifest(di, allocated, &found); in fido2_list_devices()
964 if (r == FIDO_ERR_INTERNAL || (r == FIDO_OK && found == 0)) { in fido2_list_devices()
981 for (size_t i = 0; i < found; i++) { in fido2_list_devices()
1028 size_t di_size = 64, found = 0; in fido2_find_device_auto() local
1042 r = sym_fido_dev_info_manifest(di, di_size, &found); in fido2_find_device_auto()
1043 if (r == FIDO_ERR_INTERNAL || (r == FIDO_OK && found == 0)) { in fido2_find_device_auto()
[all …]
Dfind-esp.c405 goto found; in find_esp_and_warn()
437 goto found; in find_esp_and_warn()
445 goto found; in find_esp_and_warn()
453 found: in find_esp_and_warn()
665 goto found; in find_xbootldr_and_warn()
687 goto found; in find_xbootldr_and_warn()
693 goto found; in find_xbootldr_and_warn()
700 found: in find_xbootldr_and_warn()
/systemd-251/src/network/
Dnetworkd-route-util.c160 Route *route, *found = NULL; in link_address_is_reachable_internal() local
185 if (found && found->priority <= route->priority) in link_address_is_reachable_internal()
188 found = route; in link_address_is_reachable_internal()
191 if (!found) in link_address_is_reachable_internal()
195 *ret = found; in link_address_is_reachable_internal()
248 Route *route, *found = NULL; in manager_address_is_reachable() local
262 if (found && found->priority <= route->priority) in manager_address_is_reachable()
265 found = route; in manager_address_is_reachable()
268 if (!found) in manager_address_is_reachable()
271 if (!in_addr_is_set(found->family, &found->prefsrc)) { in manager_address_is_reachable()
[all …]
Dnetworkd-address-pool.c127 …ress_pool_acquire_one(AddressPool *p, int family, unsigned prefixlen, union in_addr_union *found) { in address_pool_acquire_one() argument
133 assert(found); in address_pool_acquire_one()
156 *found = u; in address_pool_acquire_one()
164 int address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found) { in address_pool_acquire() argument
171 assert(found); in address_pool_acquire()
174 r = address_pool_acquire_one(p, family, prefixlen, found); in address_pool_acquire()
/systemd-251/src/tmpfiles/
Doffline-passwd.c116 void *found; in name_to_uid_offline() local
129 found = hashmap_get(*cache, user); in name_to_uid_offline()
130 if (!found) in name_to_uid_offline()
133 *ret_uid = PTR_TO_UID(found); in name_to_uid_offline()
143 void *found; in name_to_gid_offline() local
156 found = hashmap_get(*cache, group); in name_to_gid_offline()
157 if (!found) in name_to_gid_offline()
160 *ret_gid = PTR_TO_GID(found); in name_to_gid_offline()
/systemd-251/tools/
Dfind-build-dir.sh15 found=
21 if [ -n "$found" ]; then
25 found="$c"
28 if [ -z "$found" ]; then
33 realpath "$found"
/systemd-251/src/core/
Ddevice.c34 static void device_update_found_one(Device *d, DeviceFound found, DeviceFound mask);
170 DeviceFound found = d->deserialized_found; in device_coldplug() local
205 found &= ~DEVICE_FOUND_UDEV; /* ignore DEVICE_FOUND_UDEV bit */ in device_coldplug()
208 if (found == DEVICE_NOT_FOUND) in device_coldplug()
212 if (d->found == found && d->state == state) in device_coldplug()
215 d->found = found; in device_coldplug()
300 if (device_found_to_string_many(d->found, &s) >= 0) in device_serialize()
342 (void) device_found_to_string_many(d->found, &s); in device_dump()
689 static void device_update_found_one(Device *d, DeviceFound found, DeviceFound mask) { in device_update_found_one() argument
698 n = (d->found & ~mask) | (found & mask); in device_update_found_one()
[all …]
Ddbus.c316 …bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *err… in bus_unit_find() argument
322 assert(found); in bus_unit_find()
325 return find_unit(m, bus, path, (Unit**) found, error); in bus_unit_find()
328 …bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *err… in bus_unit_interface_find() argument
336 assert(found); in bus_unit_interface_find()
346 *found = u; in bus_unit_interface_find()
350 …bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *err… in bus_unit_cgroup_find() argument
358 assert(found); in bus_unit_cgroup_find()
371 *found = u; in bus_unit_cgroup_find()
375 …bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *err… in bus_cgroup_context_find() argument
[all …]
/systemd-251/src/test/
Dtest-loop-block.c69 if (!dissected->partitions[d].found) in thread_func()
78 assert_se(dissected->partitions[PARTITION_ESP].found); in thread_func()
80 assert_se(dissected->partitions[PARTITION_XBOOTLDR].found); in thread_func()
82 assert_se(dissected->partitions[PARTITION_ROOT].found); in thread_func()
84 assert_se(dissected->partitions[PARTITION_HOME].found); in thread_func()
232 assert_se(dissected->partitions[PARTITION_ESP].found); in run()
234 assert_se(dissected->partitions[PARTITION_XBOOTLDR].found); in run()
236 assert_se(dissected->partitions[PARTITION_ROOT].found); in run()
238 assert_se(dissected->partitions[PARTITION_HOME].found); in run()
/systemd-251/src/journal/
Djournald-rate-limit.c188 JournalRateLimitGroup *g, *found = NULL; in journal_ratelimit_test() local
213 found = i; in journal_ratelimit_test()
217 if (!found) { in journal_ratelimit_test()
218 found = journal_ratelimit_group_new(r, id, rl_interval, ts); in journal_ratelimit_test()
219 if (!found) in journal_ratelimit_test()
222 found->interval = rl_interval; in journal_ratelimit_test()
229 p = &found->pools[priority_map[priority]]; in journal_ratelimit_test()
/systemd-251/src/libsystemd/sd-journal/
Dmmap-cache.c308 Window *found = NULL; in find_mmap() local
321 found = w; in find_mmap()
325 if (!found) in find_mmap()
328 context_attach_window(f->cache, c, found); in find_mmap()
329 found->keep_always = found->keep_always || keep_always; in find_mmap()
331 *ret = (uint8_t*) found->ptr + (offset - found->offset); in find_mmap()
476 bool found = false; in mmap_cache_process_sigbus() local
501 found = ours = f->sigbus = true; in mmap_cache_process_sigbus()
521 if (_likely_(!found)) in mmap_cache_process_sigbus()
/systemd-251/src/udev/
Dudev-builtin-input_id.c322 bool found = false; in test_key() local
331 for (size_t i = 0; i < BTN_MISC/BITS_PER_LONG && !found; i++) { in test_key()
333 found = true; in test_key()
336 i * BITS_PER_LONG, yes_no(found)); in test_key()
339 … for (size_t block = 0; block < sizeof(high_key_blocks) / sizeof(struct range) && !found; block++) in test_key()
340 … for (unsigned i = high_key_blocks[block].start; i < high_key_blocks[block].end && !found; i++) in test_key()
343 found = true; in test_key()
346 if (found) in test_key()
356 return found; in test_key()
/systemd-251/src/resolve/
Dresolved-dns-zone.c315 bool found = false, added = false; in dns_zone_lookup() local
327 found = true; in dns_zone_lookup()
339 if (found && !added) in dns_zone_lookup()
343 bool found = false; in dns_zone_lookup() local
353 found = true; in dns_zone_lookup()
357 if (!found) { in dns_zone_lookup()
386 bool found = false, added = false; in dns_zone_lookup() local
394 found = true; in dns_zone_lookup()
411 if (found && !added) { in dns_zone_lookup()
417 bool found = false; in dns_zone_lookup() local
[all …]
Dresolved-dns-answer.c273 bool found = false; in dns_answer_match_key() local
288 if (found) in dns_answer_match_key()
292 found = true; in dns_answer_match_key()
299 return found; in dns_answer_match_key()
494 bool found = false; in dns_answer_remove_by_key() local
508 found = true; in dns_answer_remove_by_key()
512 if (!found) in dns_answer_remove_by_key()
524 bool found = false; in dns_answer_remove_by_rr() local
538 found = true; in dns_answer_remove_by_rr()
542 if (!found) in dns_answer_remove_by_rr()
/systemd-251/src/gpt-auto-generator/
Dgpt-auto-generator.c723 if (m->partitions[PARTITION_SWAP].found) { in enumerate_partitions()
729 if (m->partitions[PARTITION_XBOOTLDR].found) { in enumerate_partitions()
735 if (m->partitions[PARTITION_ESP].found) { in enumerate_partitions()
736 k = add_esp(m->partitions + PARTITION_ESP, m->partitions[PARTITION_XBOOTLDR].found); in enumerate_partitions()
741 if (m->partitions[PARTITION_HOME].found) { in enumerate_partitions()
747 if (m->partitions[PARTITION_SRV].found) { in enumerate_partitions()
753 if (m->partitions[PARTITION_VAR].found) { in enumerate_partitions()
759 if (m->partitions[PARTITION_TMP].found) { in enumerate_partitions()
765 if (m->partitions[PARTITION_ROOT].found) { in enumerate_partitions()
/systemd-251/src/systemctl/
Dsystemctl-is-active.c17 bool found = false; in check_unit_generic() local
37 found = true; in check_unit_generic()
42 return found ? 0 : code; in check_unit_generic()
/systemd-251/src/basic/
Dproc-cmdline.c177 bool found = false; in cmdline_get_key() local
206 found = true; in cmdline_get_key()
209 found = true; in cmdline_get_key()
213 found = true; in cmdline_get_key()
222 return found; in cmdline_get_key()
/systemd-251/docs/
DARCHITECTURE.md54 BPF helpers written in C and used by PID 1 can be found under `src/core/bpf/`.
80 Sources for the udev daemon and command-line tool (single binary) can be found under
85 Source files found under `src/test/` implement unit-level testing, mostly for
86 modules found in `src/basic/` and `src/shared/`, but not exclusively. Each test
138 Rules built in the static hardware database shipped by the project can be found
146 Markdown files found under `docs/` are automatically published on the
153 Manpages for binaries and libraries, and the DBUS interfaces, can be found under
159 Translations files for binaries and daemons, provided by volunteers, can be found
166 can be found under various directories such as `factory/`, `modprobe.d/`, `network/`,
/systemd-251/
Dmeson.build66 if add_git_hook_sh.found()
321 if fuzzing_engine.found()
622 # If -Dxxx-path option is found, use that. Otherwise, check in $PATH,
644 path = exe.found() ? exe.path() : prog[1]
692 error('POSIX caps headers not found')
757 if time_epoch == '' and git.found() and fs.exists('.git')
995 if not libcap.found()
1004 conf.set10('HAVE_LIBBPF', libbpf.found())
1006 if want_bpf_framework == 'false' or not libbpf.found() or skip_deps
1013 clang_found = r.found()
[all …]
/systemd-251/src/timesync/
Dtimesyncd-conf.c26 bool found = false; in manager_parse_server_string() local
45 found = true; in manager_parse_server_string()
49 if (found) in manager_parse_server_string()
/systemd-251/test/
Dtest-functions1257 ddebug "$lib.pc not found, skipping"
2023 [[ "$line" =~ libsystemd.*\ not\ found ]] && continue
2032 if [[ "$line" =~ not\ found ]]; then
2435 [[ "$line" =~ libsystemd.*\ not\ found ]] && continue
2444 if [[ "$line" =~ not\ found ]]; then
2516 local found rule
2524 found="$r/$rule"
2525 inst_simple "$found"
2526 inst_rule_programs "$found"
2532 found="${r}${rule}"
[all …]

123456