Lines Matching defs:dirs
84 /* The list of sub-dirs is like a "horizontal" tree. The root of
93 * 2. / has 2 sub-dirs: dir1 and dir2
94 * 3. dir1 has 2 sub-dirs: dir11 and dir12
95 * 4. dir2 has 0 sub-dirs
378 /* list of dirs to "ls" recursively */
379 static struct dir dirs = {
380 .list = LIST_HEAD_INIT(dirs.list),
403 if (list_empty(&dirs.list)) {
406 dir_list_insert_pos = &dirs.list;
417 /* for each of ni's sub-dirs: list in this iteration, then
419 list_for_each(dir_walker, &dirs.list) {
431 dir_list_insert_pos = &dirs.list;
479 free_dirs(&dirs.list);