Home
last modified time | relevance | path

Searched refs:children (Results 1 – 24 of 24) sorted by relevance

/systemd-251/src/shared/
Dbus-unit-procs.c23 LIST_HEAD(struct CGroupInfo, children);
82 LIST_PREPEND(siblings, parent->children, cg); in add_cgroup()
114 while (cg->children) in remove_cgroup()
115 remove_cgroup(cgroups, cg->children); in remove_cgroup()
125 LIST_REMOVE(siblings, cg->parent->children, cg); in remove_cgroup()
188 more = i+1 < n || cg->children; in dump_processes()
201 if (cg->children) { in dump_processes()
202 struct CGroupInfo **children; in dump_processes() local
206 children = newa(struct CGroupInfo*, cg->n_children); in dump_processes()
207 LIST_FOREACH(siblings, child, cg->children) in dump_processes()
[all …]
Dbus-object.c55 for (size_t i = 0; impl->children && impl->children[i]; i++) { in bus_add_implementation()
56 r = bus_add_implementation(bus, impl->children[i], userdata); in bus_add_implementation()
74 impl = find_implementation(pattern, impl->children); in find_implementation()
108 if (bus_objects[i]->children) in list_paths()
109 list_paths(out, bus_objects[i]->children); in list_paths()
161 for (size_t i = 0; impl->children && impl->children[i]; i++) { in bus_introspect_implementations()
162 r = ordered_set_put_strdup(&nodes, impl->children[i]->path); in bus_introspect_implementations()
Dhwdb-util.c51 struct trie_child_entry *children; member
82 … child = reallocarray(node->children, node->children_count + 1, sizeof(struct trie_child_entry)); in node_add_child()
86 node->children = child; in node_add_child()
88 node->children[node->children_count].c = c; in node_add_child()
89 node->children[node->children_count].child = node_child; in node_add_child()
91 typesafe_qsort(node->children, node->children_count, trie_children_cmp); in node_add_child()
102 child = typesafe_bsearch(&search, node->children, node->children_count, trie_children_cmp); in node_lookup()
113 trie_node_cleanup(node->children[i].child); in trie_node_cleanup()
114 free(node->children); in trie_node_cleanup()
216 .children = node->children, in trie_insert()
[all …]
Dbus-object.h23 const BusObjectImplementation **children; member
/systemd-251/src/basic/
Dstrbuf.c54 strbuf_node_cleanup(node->children[i].child); in strbuf_node_cleanup()
55 free(node->children); in strbuf_node_cleanup()
94 if (strbuf_children_cmp(&node->children[middle], &new) <= 0) in bubbleinsert()
100 memmove(node->children + left + 1, node->children + left, in bubbleinsert()
102 node->children[left] = new; in bubbleinsert()
143 … child = typesafe_bsearch(&search, node->children, node->children_count, strbuf_children_cmp); in strbuf_add_string()
171 … child = reallocarray(node->children, node->children_count + 1, sizeof(struct strbuf_child_entry)); in strbuf_add_string()
177 node->children = child; in strbuf_add_string()
Dstrbuf.h26 struct strbuf_child_entry *children; member
/systemd-251/src/libsystemd/sd-bus/
Dbus-match.c87 hashmap_remove(node->parent->compare.children, UINT_TO_PTR(node->value.u8)); in bus_match_node_free()
89 hashmap_remove(node->parent->compare.children, node->value.str); in bus_match_node_free()
95 assert(hashmap_isempty(node->compare.children)); in bus_match_node_free()
96 hashmap_free(node->compare.children); in bus_match_node_free()
111 if (BUS_MATCH_IS_COMPARE(node->type) && !hashmap_isempty(node->compare.children)) in bus_match_node_maybe_free()
383 found = hashmap_get(node->compare.children, test_str); in bus_match_run()
386 found = hashmap_get(node->compare.children, *i); in bus_match_run()
396 found = hashmap_get(node->compare.children, UINT_TO_PTR(test_u8)); in bus_match_run()
448 n = hashmap_get(c->compare.children, UINT_TO_PTR(value_u8)); in bus_match_add_compare_value()
450 n = hashmap_get(c->compare.children, value_str); in bus_match_add_compare_value()
[all …]
Dbus-match.h49 Hashmap *children; member
Dbus-objects.c111 char **children = NULL; in add_enumerated_to_set() local
121 r = c->callback(bus, prefix, slot->userdata, &children, error); in add_enumerated_to_set()
130 STRV_FOREACH(k, children) { in add_enumerated_to_set()
152 free(children); in add_enumerated_to_set()
/systemd-251/shell-completion/zsh/
D_udevadm36 '--parent-match=[Trigger events for all children of a given device.]' \
63 '--children-max=[Set the maximum number of events.]' \
/systemd-251/src/network/
Dnetworkd-manager-bus.c428 .children = BUS_IMPLEMENTATIONS(&dhcp_server_object, &link_object, &network_object),
/systemd-251/shell-completion/bash/
Dudevadm62 [CONTROL_ARG]='-l --log-priority -p --property -m --children-max -t --timeout'
/systemd-251/src/tmpfiles/
Dtmpfiles.c168 Set *children; member
2599 if ((operation & (OPERATION_REMOVE|OPERATION_CLEAN)) && !set_isempty(array->children)) { in process_item_array()
2602 SET_FOREACH(c, array->children) { in process_item_array()
2643 set_free(a->children); in item_array_free()
3682 r = set_ensure_put(&j->children, NULL, a); in link_parent()
/systemd-251/src/portable/
Dportabled-bus.c542 .children = BUS_IMPLEMENTATIONS(&image_object),
/systemd-251/src/home/
Dhomed-manager-bus.c831 .children = BUS_IMPLEMENTATIONS(&home_object),
/systemd-251/src/core/
Ddbus.c589 .children = BUS_IMPLEMENTATIONS(
/systemd-251/src/import/
Dimportd.c1321 .children = BUS_IMPLEMENTATIONS(&transfer_object),
/systemd-251/src/machine/
Dmachined-dbus.c1213 .children = BUS_IMPLEMENTATIONS( &machine_object,
/systemd-251/
Dmeson_options.txt486 description : 'use fexecve() to spawn children')
DTODO764 it for reaping assigned but unknown children. This needs to some special care
770 * tweak sd-event's child watching: keep a prioq of children to watch and use
771 waitid() only on the children with the highest priority until one is waitable
DNEWS5872 for all its children). Note that turning this option on means setuid
13484 (but not for its children which will stay at the kernel
/systemd-251/src/resolve/
Dresolved-bus.c2251 .children = BUS_IMPLEMENTATIONS(&link_object,
/systemd-251/docs/
DCGROUP_DELEGATION.md53 both processes and children — which is used in particular to maintain kernel
/systemd-251/src/login/
Dlogind-dbus.c3740 .children = BUS_IMPLEMENTATIONS(&seat_object,