Home
last modified time | relevance | path

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

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