Lines Matching refs:dirtree
17 int dirtree_notdotdot(struct dirtree *catch) in dirtree_notdotdot()
27 struct dirtree *dirtree_add_node(struct dirtree *parent, char *name, int flags) in dirtree_add_node()
29 struct dirtree *dt = NULL; in dirtree_add_node()
45 dt = xzalloc((len = sizeof(struct dirtree)+len+1)+linklen); in dirtree_add_node()
77 char *dirtree_path(struct dirtree *node, int *plen) in dirtree_path()
97 int dirtree_parentfd(struct dirtree *node) in dirtree_parentfd()
110 struct dirtree *dirtree_handle_callback(struct dirtree *new, in dirtree_handle_callback()
111 int (*callback)(struct dirtree *node)) in dirtree_handle_callback()
138 int dirtree_recurse(struct dirtree *node, in dirtree_recurse()
139 int (*callback)(struct dirtree *node), int flags) in dirtree_recurse()
141 struct dirtree *new, **ddt = &(node->child); in dirtree_recurse()
183 struct dirtree *dirtree_start(char *name, int symfollow) in dirtree_start()
192 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)) in dirtree_read()
194 struct dirtree *root = dirtree_start(path, 0); in dirtree_read()