Lines Matching defs:dir
49 void exfat_free_children(struct exfat_inode *dir, bool file_only)
53 list_for_each_entry_safe(node, i, &dir->children, sibling) {
67 void exfat_free_file_children(struct exfat_inode *dir)
69 exfat_free_children(dir, true);
94 struct exfat_inode *dir, *i;
96 list_for_each_entry_safe(dir, i, &exfat->dir_list, list) {
97 if (!dir->parent)
99 exfat_free_file_children(dir);
100 list_del(&dir->list);
101 exfat_free_inode(dir);
224 struct exfat_inode *dir;
232 dir = child;
233 while (dir) {
234 name_len = exfat_utf16_len(dir->name, NAME_BUFFER_SIZE);
242 dir = dir->parent;
247 for (dir = child, i = depth - 1; i >= 0; dir = dir->parent, i--)
248 ancestors[i] = dir;
251 return !dir;