Searched defs:dfd (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/libs/diskusage/ |
H A D | dirsize.c | 37 int64_t calculate_dir_size(int dfd) argument 44 d = fdopendir(dfd); 46 close(dfd); 63 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 68 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) {
|
/frameworks/base/cmds/installd/ |
H A D | utils.c | 201 int dfd; local 203 dfd = dirfd(d); 205 if (dfd < 0) return -1; 223 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 240 if (unlinkat(dfd, name, AT_REMOVEDIR) < 0) { 245 if (unlinkat(dfd, name, 0) < 0) { 278 int delete_dir_contents_fd(int dfd, const char *name) argument 283 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
|
H A D | commands.c | 183 int dfd, subfd; local 205 dfd = dirfd(d); 217 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 302 int dfd; local 351 dfd = dirfd(d); 367 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 379 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 689 int dfd, subfd; local 706 dfd = dirfd(d); 717 subfd = openat(dfd, nam [all...] |
Completed in 662 milliseconds