Searched refs:dirtree_parentfd (Results 1 – 13 of 13) sorted by relevance
/external/toybox/toys/posix/ |
D | chmod.c | 60 wfchmodat(dirtree_parentfd(try), try->name, mode);
|
D | rm.c | 28 int fd=dirtree_parentfd(try), dir=S_ISDIR(try->st.st_mode), or=0, using=0; in do_rm()
|
D | chgrp.c | 54 fd = dirtree_parentfd(node); in do_chgrp()
|
D | find.c | 306 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()
|
D | grep.c | 447 do_grep(openat(dirtree_parentfd(new), new->name, 0), name); in do_grep_r()
|
D | cp.c | 127 tfd = dirtree_parentfd(try); in cp_node()
|
D | ps.c | 736 fd = dirtree_parentfd(new); in get_ps()
|
/external/toybox/lib/ |
D | dirtree.c | 106 int dirtree_parentfd(struct dirtree *node) in dirtree_parentfd() function 127 openat(dirtree_parentfd(new), new->name, O_CLOEXEC), flags); in dirtree_handle_callback()
|
D | lib.h | 101 int dirtree_parentfd(struct dirtree *node);
|
/external/toybox/toys/other/ |
D | switch_root.c | 38 unlinkat(dirtree_parentfd(node), node->name, flag);
|
D | lspci.c | 50 if (-1 == (dirfd = openat(dirtree_parentfd(new), new->name, O_RDONLY)))
|
/external/toybox/toys/net/ |
D | netstat.c | 222 if (-1==(dirfd = openat(dirtree_parentfd(node), s, O_RDONLY))) return 0; in scan_pids()
|
/external/toybox/toys/pending/ |
D | sh.c | 1243 rc = faccessat(dirtree_parentfd(node), pattern, F_OK, AT_SYMLINK_NOFOLLOW); in do_wildcard_files()
|