Home
last modified time | relevance | path

Searched refs:dirtree_read (Results 1 – 21 of 21) sorted by relevance

/external/toybox/toys/other/
Dacpi.c140 dirtree_read("/sys/class/power_supply", acpi_callback); in acpi_main()
141 if (toys.optflags & FLAG_t) dirtree_read("/sys/class", temp_callback); in acpi_main()
142 if (toys.optflags & FLAG_c) dirtree_read("/sys/class/thermal", cool_callback); in acpi_main()
Dsysctl.c109 if (!access(path, R_OK)) dirtree_read(path, do_show_keys); in process_key()
120 if (toys.optflags & FLAG_a) dirtree_read("/proc/sys", do_show_keys); in sysctl_main()
Dlsattr.c218 if (!*toys.optargs) dirtree_read(".", retell_dir); in lsattr_main()
225 dirtree_read(*toys.optargs, retell_dir); in lsattr_main()
359 for (; *argv; argv++) dirtree_read(*argv, update_attr); in chattr_main()
Dchcon.c43 for (file = toys.optargs+1; *file; file++) dirtree_read(*file, do_chcon); in chcon_main()
Dlsusb.c48 dirtree_read("/sys/bus/usb/devices/", list_device); in lsusb_main()
Dswitch_root.c87 dirtree_read("/", del_node); in switch_root_main()
Dlspci.c127 dirtree_read("/sys/bus/pci/devices", do_lspci); in lspci_main()
Dtaskset.c114 dirtree_read(buf, task_callback); in taskset_main()
Dmodinfo.c123 dirtree_read(path, check_module); in modinfo_main()
Dlosetup.c184 dirtree_read(TT.dir, dash_a); in losetup_main()
Di2ctools.c183 dirtree_read("/sys/class/i2c-dev", i2cdetect_dash_l); in i2cdetect_main()
/external/toybox/toys/posix/
Dchmod.c71 for (file = toys.optargs+1; *file; file++) dirtree_read(*file, do_chmod); in chmod_main()
Drm.c115 dirtree_read(*s, do_rm); in rm_main()
Dgrep.c503 else dirtree_read(*ss, do_grep_r); in grep_main()
/external/toybox/toys/pending/
Dmdev.c292 dirtree_read("/sys/class", callback); in mdev_main()
293 if (!access("/sys/block", R_OK)) dirtree_read("/sys/block", callback); in mdev_main()
Dmodprobe.c269 dirtree_read(tokens[1], config_action); in config_action()
546 if (TT.symreq) dirtree_read("modules.symbols", config_action); in modprobe_main()
547 if (TT.nudeps) dirtree_read("modules.alias", config_action); in modprobe_main()
Dlsof.c435 if (!TT.p) dirtree_read("/proc", scan_proc); in lsof_main()
Dmke2fs.c578 dti = dirtree_read(toybuf, dirtree_notdotdot); in mke2fs_main()
/external/toybox/lib/
Ddirtree.c205 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node)) in dirtree_read() function
Dlib.h106 struct dirtree *dirtree_read(char *path, int (*callback)(struct dirtree *node));
/external/toybox/toys/net/
Dnetstat.c313 if (FLAG(p)) dirtree_read("/proc", scan_pids); in netstat_main()