Searched defs:dfd (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/cmds/installd/ |
H A D | utils.c | 77 int dfd; local 79 dfd = dirfd(d); 81 if (dfd < 0) return -1; 99 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 114 if (unlinkat(dfd, name, AT_REMOVEDIR) < 0) { 118 if (unlinkat(dfd, name, 0) < 0) { 148 int delete_dir_contents_fd(int dfd, const char *name) argument 153 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
|
H A D | commands.c | 131 int dfd, subfd; local 147 dfd = dirfd(d); 159 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 279 static int calculate_dir_size(int dfd) argument 286 d = fdopendir(dfd); 288 close(dfd); 301 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 306 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 320 int dfd; local 360 dfd 710 int dfd, subfd; local [all...] |
Completed in 47 milliseconds