Searched refs:nodes (Results 1 - 24 of 24) sorted by relevance

/systemd/src/test/
H A Dtest-rbtree.c80 /* traverse to left-most child, count black nodes */
95 * 4) Every red node must have two black child nodes
96 * 5) Every path to a leaf contains the same number of black nodes
98 * Note that NULL nodes are considered black, which is why we don't
179 static void shuffle(void **nodes, size_t n_memb) { argument
185 t = nodes[j];
186 nodes[j] = nodes[i];
187 nodes[i] = t;
193 CRBNode *nodes[25 local
298 Node *nodes[2048]; local
[all...]
/systemd/src/machine/
H A Dimage-dbus.h29 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
H A Dmachine-dbus.h30 int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
H A Dimage-dbus.c326 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
335 assert(nodes);
357 *nodes = l;
H A Dmachine-dbus.c1365 int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
1374 assert(nodes);
1388 *nodes = l;
/systemd/src/network/
H A Dnetworkd-link-bus.c57 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
67 assert(nodes);
84 *nodes = l;
H A Dnetworkd-network-bus.c101 int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
110 assert(nodes);
124 *nodes = l;
H A Dnetworkd-link.h173 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
H A Dnetworkd-network.h192 int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
/systemd/src/resolve/
H A Dresolved-link-bus.h30 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
H A Dresolved-link-bus.c519 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
529 assert(nodes);
546 *nodes = l;
/systemd/src/login/
H A Dlogind-acl.c185 _cleanup_set_free_free_ Set *nodes = NULL; local
194 nodes = set_new(&string_hash_ops);
195 if (!nodes)
239 /* In case people mistag devices with nodes, we need to ignore this */
248 r = set_consume(nodes, n);
253 /* udev exports "dead" device nodes to allow module on-demand loading,
268 r = set_consume(nodes, n);
277 SET_FOREACH(n, nodes, i) {
H A Dlogind-user.h82 int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
H A Dlogind-user-dbus.c315 int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
325 assert(nodes);
358 *nodes = l;
H A Dlogind-seat.h88 int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
H A Dlogind-seat-dbus.c391 int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
401 assert(nodes);
435 *nodes = l;
H A Dlogind-session.h147 int session_node_enumerator(sd_bus *bus, const char *path,void *userdata, char ***nodes, sd_bus_error *error);
H A Dlogind-session-dbus.c573 int session_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
583 assert(nodes);
616 *nodes = l;
/systemd/src/libsystemd/sd-bus/
H A Dtest-bus-objects.c224 static int enumerator_callback(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
227 assert_se(*nodes = strv_new("/value/a", "/value/b", "/value/c", NULL));
232 static int enumerator2_callback(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
235 assert_se(*nodes = strv_new("/value/a/x", "/value/a/y", "/value/a/z", NULL));
H A Dbus-objects.c1026 n = hashmap_get(bus->nodes, prefix);
1234 n = hashmap_get(bus->nodes, p);
1355 if (hashmap_isempty(bus->nodes))
1420 n = hashmap_get(bus->nodes, path);
1424 r = hashmap_ensure_allocated(&bus->nodes, &string_hash_ops);
1453 r = hashmap_put(bus->nodes, n->path, n);
1479 assert(hashmap_remove(b->nodes, n->path) == n);
1495 n = hashmap_get(bus->nodes, path);
1501 n = hashmap_get(bus->nodes, prefix);
1898 n = hashmap_get(bus->nodes, prefi
[all...]
H A Dbus-internal.h237 Hashmap *nodes; member in struct:sd_bus
H A Dsd-bus.c164 assert(hashmap_isempty(b->nodes));
165 hashmap_free(b->nodes);
/systemd/src/core/
H A Ddbus.c475 static int bus_job_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
496 *nodes = l;
502 static int bus_unit_enumerate(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
521 *nodes = l;
/systemd/src/import/
H A Dimportd.c1113 static int transfer_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument
1133 *nodes = l;

Completed in 111 milliseconds