Lines Matching defs:child
143 /* Hoist the fds from the child up into the parent */
199 struct spdk_fd_group *child, *tmp;
202 TAILQ_FOREACH(child, &fgrp->children, link) {
203 ret = fd_group_change_parent(child, old, new);
238 if (tmp == child) {
251 spdk_fd_group_unnest(struct spdk_fd_group *parent, struct spdk_fd_group *child)
256 if (parent == NULL || child == NULL) {
260 if (child->parent != parent) {
267 rc = fd_group_change_parent(child, root, child);
272 child->parent = NULL;
273 TAILQ_REMOVE(&parent->children, child, link);
279 spdk_fd_group_nest(struct spdk_fd_group *parent, struct spdk_fd_group *child)
284 if (parent == NULL || child == NULL) {
288 if (child->parent) {
302 rc = fd_group_change_parent(child, child, root);
307 child->parent = parent;
308 TAILQ_INSERT_TAIL(&parent->children, child, link);
785 spdk_fd_group_unnest(struct spdk_fd_group *parent, struct spdk_fd_group *child)
791 spdk_fd_group_nest(struct spdk_fd_group *parent, struct spdk_fd_group *child)