Lines Matching refs:S_IFDIR
184 return (cur->type == S_IFREG || cur->type == S_IFDIR || in fsnode_valid()
194 assert(root->type == S_IFDIR); in fsnode_foreach()
204 if (cur->type == S_IFDIR && cur->child != NULL) in fsnode_foreach()
219 case S_IFDIR: in fs_populate_dirent()
382 case S_IFDIR: in fs_populate_sattrs()
398 case S_IFDIR: in fs_populate_sattrs()
618 assert(cur->type == S_IFDIR); in fs_populate_dir()
705 case S_IFDIR: in fs_foreach_populate()
903 if (cur->type != S_IFDIR) { in fs_layout_one()
914 assert(cur->type == S_IFDIR); in fs_layout_one()
937 if (cur->type == S_IFDIR && fsnode_isroot(cur)) in fs_foreach_mark()
986 root->type = S_IFDIR; in fs_build_one()
991 stp->st_mode = S_IFDIR | 0755; in fs_build_one()
993 assert(root->type == S_IFDIR); in fs_build_one()