Home
last modified time | relevance | path

Searched refs:dirtree_parentfd (Results 1 – 13 of 13) sorted by relevance

/external/toybox/toys/posix/
Dchmod.c60 wfchmodat(dirtree_parentfd(try), try->name, mode);
Drm.c28 int fd=dirtree_parentfd(try), dir=S_ISDIR(try->st.st_mode), or=0, using=0; in do_rm()
Dchgrp.c54 fd = dirtree_parentfd(node); in do_chgrp()
Dfind.c306 test = !unlinkat(dirtree_parentfd(new), new->name, in do_find()
335 int fd = openat(dirtree_parentfd(new), new->name, O_RDONLY); in do_find()
354 if (check && faccessat(dirtree_parentfd(new), new->name,X_OK,0)) test = 0; in do_find()
Dgrep.c447 do_grep(openat(dirtree_parentfd(new), new->name, 0), name); in do_grep_r()
Dcp.c127 tfd = dirtree_parentfd(try); in cp_node()
Dps.c736 fd = dirtree_parentfd(new); in get_ps()
/external/toybox/lib/
Ddirtree.c106 int dirtree_parentfd(struct dirtree *node) in dirtree_parentfd() function
127 openat(dirtree_parentfd(new), new->name, O_CLOEXEC), flags); in dirtree_handle_callback()
Dlib.h101 int dirtree_parentfd(struct dirtree *node);
/external/toybox/toys/other/
Dswitch_root.c38 unlinkat(dirtree_parentfd(node), node->name, flag);
Dlspci.c50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY)))
/external/toybox/toys/net/
Dnetstat.c222 if (-1==(dirfd = openat(dirtree_parentfd(node), s, O_RDONLY))) return 0; in scan_pids()
/external/toybox/toys/pending/
Dsh.c1243 rc = faccessat(dirtree_parentfd(node), pattern, F_OK, AT_SYMLINK_NOFOLLOW); in do_wildcard_files()