Searched refs:found (Results 1 - 25 of 71) sorted by relevance

123

/systemd/src/core/
H A Ddevice.h35 DeviceFound found; member in struct:Device
47 int device_found_node(Manager *m, const char *node, bool add, DeviceFound found, bool now);
H A Ddevice.c147 if (d->found & DEVICE_FOUND_UDEV)
150 else if (d->found != DEVICE_NOT_FOUND && d->deserialized_state != DEVICE_PLUGGED)
151 /* If a device is found in /proc/self/mountinfo or
452 static void device_update_found_one(Device *d, bool add, DeviceFound found, bool now) { argument
457 n = add ? (d->found | found) : (d->found & ~found);
458 if (n == d->found)
461 previous = d->found;
484 device_update_found_by_sysfs(Manager *m, const char *sysfs, bool add, DeviceFound found, bool now) argument
500 device_update_found_by_name(Manager *m, const char *path, bool add, DeviceFound found, bool now) argument
783 device_found_node(Manager *m, const char *node, bool add, DeviceFound found, bool now) argument
[all...]
H A Ddbus.c277 static int bus_job_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
285 assert(found);
292 *found = j;
335 static int bus_unit_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
341 assert(found);
344 return find_unit(m, bus, path, (Unit**) found, error);
347 static int bus_unit_interface_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
355 assert(found);
365 *found = u;
369 static int bus_unit_cgroup_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_erro argument
394 bus_cgroup_context_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) argument
421 bus_exec_context_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) argument
448 bus_kill_context_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) argument
[all...]
/systemd/src/basic/
H A Dverbs.c47 bool found; local
59 found = streq(name, verbs[i].verb);
61 found = !!(verbs[i].flags & VERB_DEFAULT);
63 if (found) {
H A Dproc-cmdline.c86 bool found = false; local
121 found = true;
124 found = true;
133 return found;
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-kernel-bloom.c30 int *found = userdata; local
32 *found = 1;
50 int r, found = 0; local
82 r = sd_bus_add_match(b, NULL, match, test_match, &found);
94 assert_se(r >= 0 && good == !!found);
H A Dtest-bus-match.c40 bool found = false; local
44 found = true;
48 if (found != mask[i])
/systemd/src/network/
H A Dnetworkd-address-pool.h42 int address_pool_acquire(AddressPool *p, unsigned prefixlen, union in_addr_union *found);
H A Dnetworkd-address-pool.c137 int address_pool_acquire(AddressPool *p, unsigned prefixlen, union in_addr_union *found) { argument
142 assert(found);
155 *found = u;
H A Dnetworkd-link-bus.c90 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
100 assert(found);
114 *found = link;
H A Dnetworkd-network-bus.c130 int network_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
140 assert(found);
150 *found = network;
H A Dnetworkd.h91 int manager_address_pool_acquire(Manager *m, int family, unsigned prefixlen, union in_addr_union *found);
/systemd/src/timesync/
H A Dtimesyncd-conf.c39 bool found = false; local
51 found = true;
55 if (found)
/systemd/src/machine/
H A Dimage-dbus.h28 int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
H A Dmachine-dbus.h29 int machine_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
H A Dimage-dbus.c254 int image_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error) { argument
264 assert(found);
276 *found = image;
310 *found = image;
/systemd/src/resolve/
H A Dresolved-dns-answer.c217 bool found = false; local
232 if (found)
236 found = true;
243 return found;
249 bool found = false; local
264 if (found)
268 found = true;
275 return found;
281 bool found = false; local
296 if (found)
467 bool found = false, other = false; local
553 bool found = false, other = false; local
[all...]
H A Dresolved-link-bus.h28 int link_object_find(sd_bus *bus, const char *path, const char *interface, void *userdata, void **found, sd_bus_error *error);
H A Dresolved-dns-zone.c299 bool found = false, added = false; local
311 found = true;
323 if (found && !added)
327 bool found = false; local
337 found = true;
341 if (!found) {
370 bool found = false, added = false; local
378 found = true;
395 if (found && !added) {
401 bool found local
[all...]
/systemd/src/shared/
H A Dutmp-wtmp.c45 struct utmpx *found, lookup = { .ut_type = RUN_LVL }; local
80 found = getutxid(&lookup);
81 if (!found)
86 a = found->ut_pid & 0xFF;
87 b = (found->ut_pid >> 8) & 0xFF;
258 }, store, store_wtmp, *found; local
267 found = getutxid(&lookup);
268 if (!found)
271 if (found->ut_pid != pid)
274 memcpy(&store, found, sizeo
[all...]
H A Dfstab-util.c109 goto found;
115 found:
116 /* Keep the last occurence found */
/systemd/src/udev/
H A Dudev-builtin-input_id.c241 unsigned long found; local
252 found = 0;
254 found |= bitmask_key[i];
255 log_debug("test_key: checking bit block %lu for any keys; found=%i", (unsigned long)i*BITS_PER_LONG, found > 0);
258 if (!found) {
262 found = 1;
268 if (found > 0) {
/systemd/src/login/
H A Dlogind-acl.c37 int found; local
42 for (found = acl_get_entry(acl, ACL_FIRST_ENTRY, &i);
43 found > 0;
44 found = acl_get_entry(acl, ACL_NEXT_ENTRY, &i)) {
60 if (found < 0)
/systemd/src/nss-myhostname/
H A Dnss-myhostname.c437 goto found;
442 goto found;
451 goto found;
462 goto found;
476 goto found;
486 found:
/systemd/src/sysctl/
H A Dsysctl.c121 goto found;
123 /* not found */
127 found:

Completed in 115 milliseconds

123