Home
last modified time | relevance | path

Searched refs:DIRTREE_RECURSE (Results 1 – 20 of 20) sorted by relevance

/external/toybox/toys/other/
Dacpi.c53 return DIRTREE_RECURSE|DIRTREE_SYMFOLLOW; in acpi_callback()
91 return DIRTREE_RECURSE|DIRTREE_SYMFOLLOW; in temp_callback()
116 if (!tree->parent) return DIRTREE_RECURSE|DIRTREE_SYMFOLLOW; in cool_callback()
Dlsattr.c148 return (DIRTREE_RECURSE | DIRTREE_COMEAGAIN); in retell_dir()
158 return (DIRTREE_RECURSE | DIRTREE_COMEAGAIN); in retell_dir()
295 if (S_ISDIR(root->st.st_mode) && chattr.recursive) return DIRTREE_RECURSE; in update_attr()
Dchcon.c36 return (toys.optflags & FLAG_R)*DIRTREE_RECURSE; in do_chcon()
Dlsusb.c24 if (!new->parent) return DIRTREE_RECURSE; in list_device()
Dtaskset.c93 if (!new->parent) return DIRTREE_RECURSE; in task_callback()
Dlspci.c46 if (!new->parent) return DIRTREE_RECURSE;
Dhwclock.c38 if (!node->parent) return DIRTREE_RECURSE;
Dsysctl.c72 if (S_ISDIR(dt->st.st_mode)) return DIRTREE_RECURSE; in do_show_keys()
Dlosetup.c140 if (*s == '/') return DIRTREE_RECURSE; in dash_a()
/external/toybox/lib/
Ddirtree.c20 return notdotdot(catch->name) ? DIRTREE_SAVE|DIRTREE_RECURSE : 0; in dirtree_notdotdot()
117 if (flags & (DIRTREE_RECURSE|DIRTREE_COMEAGAIN)) { in dirtree_handle_callback()
Dlib.h57 #define DIRTREE_RECURSE 2 macro
/external/toybox/toys/posix/
Dchmod.c56 return (toys.optflags & FLAG_R) ? DIRTREE_RECURSE : 0;
Dgrep.c322 if (S_ISDIR(new->st.st_mode)) return DIRTREE_RECURSE; in do_grep_r()
Dps.c567 return DIRTREE_RECURSE|DIRTREE_SHUTUP|(DIRTREE_SAVE*!TT.show_process); in get_ps()
/external/toybox/toys/pending/
Dmdev.c221 return (node->parent && node->parent->parent) ? 0 : DIRTREE_RECURSE; in callback()
Ddiff.c491 return (DIRTREE_RECURSE|DIRTREE_SYMFOLLOW); in list_dir()
496 if (!ret) return (DIRTREE_RECURSE|DIRTREE_SYMFOLLOW); in list_dir()
503 return S_ISDIR(node->st.st_mode) ? 0 : (DIRTREE_RECURSE|DIRTREE_SYMFOLLOW); in list_dir()
Dtar.c274 return ((DIRTREE_RECURSE | ((toys.optflags & FLAG_h)?DIRTREE_SYMFOLLOW:0))); in add_to_tar()
282 return ((DIRTREE_RECURSE | ((toys.optflags & FLAG_h)?DIRTREE_SYMFOLLOW:0))); in add_to_tar()
Dlsof.c432 if (!node->parent) return DIRTREE_RECURSE; in scan_slash_proc()
Dmodprobe.c223 if (S_ISDIR(node->st.st_mode)) return DIRTREE_RECURSE; in config_action()
Dnetstat.c455 if (!node->parent) return DIRTREE_RECURSE; in scan_pids()