Searched refs:dfd (Results 1 - 3 of 3) sorted by relevance

/system/vold/
H A Dmain.cpp176 int dfd, fd; local
178 dfd = dirfd(d);
180 fd = openat(dfd, "uevent", O_WRONLY | O_CLOEXEC);
195 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY | O_CLOEXEC);
H A DUtils.cpp458 int64_t calculate_dir_size(int dfd) { argument
464 d = fdopendir(dfd);
466 close(dfd);
472 if (fstatat(dfd, name, &s, AT_SYMLINK_NOFOLLOW) == 0) {
486 subfd = openat(dfd, name, O_RDONLY | O_DIRECTORY | O_CLOEXEC);
/system/core/init/
H A Ddevices.cpp989 int dfd, fd; local
992 dfd = dirfd(d);
994 fd = openat(dfd, "uevent", O_WRONLY);
1009 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY);

Completed in 87 milliseconds