Lines Matching defs:dirs
83 /* The list of sub-dirs is like a "horizontal" tree. The root of
92 * 2. / has 2 sub-dirs: dir1 and dir2
93 * 3. dir1 has 2 sub-dirs: dir11 and dir12
94 * 4. dir2 has 0 sub-dirs
376 /* list of dirs to "ls" recursively */
377 static struct dir dirs = {
378 .list = NTFS_LIST_HEAD_INIT(dirs.list),
401 if (ntfs_list_empty(&dirs.list)) {
404 dir_list_insert_pos = &dirs.list;
415 /* for each of ni's sub-dirs: list in this iteration, then
417 ntfs_list_for_each(dir_walker, &dirs.list) {
429 dir_list_insert_pos = &dirs.list;
477 free_dirs(&dirs.list);