Searched refs:dfd (Results 1 - 5 of 5) sorted by relevance
/frameworks/native/include/diskusage/ |
H A D | dirsize.h | 26 int64_t calculate_dir_size(int dfd);
|
/frameworks/native/libs/diskusage/ |
H A D | dirsize.c | 38 int64_t calculate_dir_size(int dfd) argument 45 d = fdopendir(dfd); 47 close(dfd); 53 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 67 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY);
|
/frameworks/native/cmds/installd/ |
H A D | utils.c | 227 int dfd; local 229 dfd = dirfd(d); 231 if (dfd < 0) return -1; 251 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 268 if (unlinkat(dfd, name, AT_REMOVEDIR) < 0) { 273 if (unlinkat(dfd, name, 0) < 0) { 306 int delete_dir_contents_fd(int dfd, const char *name) argument 311 fd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 625 int dfd; local 630 dfd [all...] |
H A D | commands.c | 475 int dfd; local 512 dfd = dirfd(d); 513 codesize += calculate_dir_size(dfd); 534 dfd = dirfd(d); 552 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 555 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY); 570 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 574 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) { 1213 int dfd, subfd; local 1230 dfd [all...] |
H A D | installd.h | 166 int delete_dir_contents_fd(int dfd, const char *name);
|
Completed in 83 milliseconds