Lines Matching refs:dirtree
17 int dirtree_notdotdot(struct dirtree *catch) in dirtree_notdotdot()
28 struct dirtree *dirtree_add_node(struct dirtree *parent, char *name, int flags) in dirtree_add_node()
30 struct dirtree *dt = NULL; in dirtree_add_node()
46 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
75 char *dirtree_path(struct dirtree *node, int *plen) in dirtree_path()
95 int dirtree_parentfd(struct dirtree *node) in dirtree_parentfd()
105 struct dirtree *dirtree_handle_callback(struct dirtree *new, in dirtree_handle_callback()
106 int (*callback)(struct dirtree *node)) in dirtree_handle_callback()
130 int dirtree_recurse(struct dirtree *node, in dirtree_recurse()
131 int (*callback)(struct dirtree *node), int dirfd, int flags) in dirtree_recurse()
133 struct dirtree *new, **ddt = &(node->child); in dirtree_recurse()
183 struct dirtree *dirtree_flagread(char *path, int flags, in dirtree_flagread()
184 int (*callback)(struct dirtree *node)) in dirtree_flagread()
190 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)) in dirtree_read()