/systemd/src/test/ |
H A D | test-rbtree.c | 80 /* 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 D | image-dbus.h | 29 int image_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | machine-dbus.h | 30 int machine_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | image-dbus.c | 326 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 D | machine-dbus.c | 1365 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 D | networkd-link-bus.c | 57 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 D | networkd-network-bus.c | 101 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 D | networkd-link.h | 173 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | networkd-network.h | 192 int network_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
/systemd/src/resolve/ |
H A D | resolved-link-bus.h | 30 int link_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | resolved-link-bus.c | 519 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 D | logind-acl.c | 185 _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 D | logind-user.h | 82 int user_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | logind-user-dbus.c | 315 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 D | logind-seat.h | 88 int seat_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | logind-seat-dbus.c | 391 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 D | logind-session.h | 147 int session_node_enumerator(sd_bus *bus, const char *path,void *userdata, char ***nodes, sd_bus_error *error);
|
H A D | logind-session-dbus.c | 573 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 D | test-bus-objects.c | 224 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 D | bus-objects.c | 1026 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 D | bus-internal.h | 237 Hashmap *nodes; member in struct:sd_bus
|
H A D | sd-bus.c | 164 assert(hashmap_isempty(b->nodes)); 165 hashmap_free(b->nodes);
|
/systemd/src/core/ |
H A D | dbus.c | 475 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 D | importd.c | 1113 static int transfer_node_enumerator(sd_bus *bus, const char *path, void *userdata, char ***nodes, sd_bus_error *error) { argument 1133 *nodes = l;
|