Lines Matching defs:child
72 /* delete @child and all ancestors that does not have
75 void exfat_free_ancestors(struct exfat_inode *child)
79 while (child && list_empty(&child->children)) {
80 if (!child->parent || !(child->attr & ATTR_SUBDIR))
83 parent = child->parent;
84 list_del(&child->sibling);
85 exfat_free_inode(child);
87 child = parent;
214 * get references of ancestors that include @child until the count of
219 static bool get_ancestors(struct exfat_inode *child,
232 dir = child;
247 for (dir = child, i = depth - 1; i >= 0; dir = dir->parent, i--)
254 int exfat_resolve_path(struct path_resolve_ctx *ctx, struct exfat_inode *child)
265 get_ancestors(child,
293 struct exfat_inode *parent, struct exfat_inode *child)
298 old = child->parent;
299 child->parent = parent;
301 ret = exfat_resolve_path(ctx, child);
302 child->parent = old;