/external/toybox/lib/ |
D | dirtree.c | 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() [all …]
|
D | lib.h | 58 #define DIRTREE_ABORTVAL ((struct dirtree *)1) 60 struct dirtree { struct 61 struct dirtree *next, *parent, *child; argument 70 struct dirtree *dirtree_start(char *name, int symfollow); argument 71 struct dirtree *dirtree_add_node(struct dirtree *p, char *name, int flags); 72 char *dirtree_path(struct dirtree *node, int *plen); 73 int dirtree_notdotdot(struct dirtree *catch); 74 int dirtree_parentfd(struct dirtree *node); 75 struct dirtree *dirtree_handle_callback(struct dirtree *new, 76 int (*callback)(struct dirtree *node)); [all …]
|
/external/toybox/toys/posix/ |
D | ls.c | 66 struct dirtree *files; 133 static unsigned seclabel(struct dirtree *dt, int pad) in seclabel() 172 static void entrylen(struct dirtree *dt, unsigned *len) in entrylen() 200 struct dirtree *dta = *(struct dirtree **)a; in compare() 201 struct dirtree *dtb = *(struct dirtree **)b; in compare() 218 static int filter(struct dirtree *new) in filter() 297 static void listfiles(int dirfd, struct dirtree *indir) in listfiles() 299 struct dirtree *dt, **sort; in listfiles() 510 struct dirtree *dt; in ls_main()
|
D | du.c | 46 struct dirtree *node; 51 static void print(long long size, struct dirtree *node) in print() 105 static int do_du(struct dirtree *node) in do_du() 116 struct dirtree *try = node; in do_du()
|
D | cp.c | 97 int (*callback)(struct dirtree *try); 104 int cp_node(struct dirtree *try) 202 struct dirtree *or; 315 struct dirtree *new; in cp_main() 361 static int install_node(struct dirtree *try) in install_node()
|
D | find.c | 71 static int flush_exec(struct dirtree *new, struct exec_range *aa) in flush_exec() 135 static void do_print(struct dirtree *new, char c) in do_print() 181 static int do_find(struct dirtree *new) in do_find() 197 struct dirtree *n; in do_find() 346 struct dirtree *dt = new; in do_find()
|
D | chmod.c | 42 int do_chmod(struct dirtree *try)
|
D | rm.c | 25 static int do_rm(struct dirtree *try) in do_rm()
|
D | chgrp.c | 45 static int do_chgrp(struct dirtree *node) in do_chgrp()
|
/external/toybox/toys/pending/ |
D | mke2fs.c | 86 struct dirtree *dt; // Tree of files to copy into the new filesystem. 152 static struct dirtree *treenext(struct dirtree *this) in treenext() 164 static long check_treesize(struct dirtree *that, off_t *size) in check_treesize() 192 static void check_treelinks(struct dirtree *tree) in check_treelinks() 194 struct dirtree *current=tree, *that; in check_treelinks() 388 static void fill_inode(struct ext2_inode *in, struct dirtree *that) in fill_inode() 439 struct dirtree *dti, *dtb; in mke2fs_main() 468 dti = xzalloc(sizeof(struct dirtree)+11); in mke2fs_main() 478 dtb = xzalloc(sizeof(struct dirtree)+1); in mke2fs_main()
|
D | hwclock.c | 34 static int rtc_find(struct dirtree* node)
|
D | mdev.c | 206 static int callback(struct dirtree *node) in callback()
|
D | diff.c | 454 static int skip(struct dirtree *node) in skip() 472 static void add_to_list(struct dirtree *node) in add_to_list() 483 static int list_dir (struct dirtree *node) in list_dir()
|
D | ps.c | 93 static int do_ps(struct dirtree *new) in do_ps()
|
/external/toybox/toys/other/ |
D | acpi.c | 47 int acpi_callback(struct dirtree *tree) in acpi_callback() 88 int temp_callback(struct dirtree *tree) in temp_callback() 111 int cool_callback(struct dirtree *tree) in cool_callback()
|
D | chcon.c | 24 int do_chcon(struct dirtree *try) in do_chcon()
|
D | lsusb.c | 18 static int list_device(struct dirtree *new) in list_device()
|
D | lsattr.c | 139 static int retell_dir(struct dirtree *root) in retell_dir() 256 static int update_attr(struct dirtree *root) in update_attr()
|
D | switch_root.c | 30 static int del_node(struct dirtree *node)
|
D | taskset.c | 80 static int task_callback(struct dirtree *new) in task_callback()
|
D | lspci.c | 40 int do_lspci(struct dirtree *new)
|
D | modinfo.c | 73 static int check_module(struct dirtree *new) in check_module()
|
D | sysctl.c | 67 static int do_show_keys(struct dirtree *dt) in do_show_keys()
|
D | losetup.c | 135 static int dash_a(struct dirtree *node) in dash_a()
|
/external/toybox/generated/ |
D | globals.h | 610 struct dirtree *dt; // Tree of files to copy into the new filesystem. 893 int (*callback)(struct dirtree *try); 997 struct dirtree *files;
|