Lines Matching defs:tree
44 static int acpi_callback(struct dirtree *tree)
50 if (tree->name[0]=='.') return 0;
52 if (!tree->parent)
55 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) {
85 static int temp_callback(struct dirtree *tree)
89 if (*tree->name=='.') return 0;
90 if (!tree->parent || !tree->parent->parent)
94 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, NULL)), O_RDONLY))) {
108 static int cool_callback(struct dirtree *tree)
115 if (*tree->name == '.') return 0;
116 if (!tree->parent) return DIRTREE_RECURSE|DIRTREE_SYMFOLLOW;
119 if (0 <= (dfd = open((TT.cpath=dirtree_path(tree, &dfd)), O_RDONLY))) {