Home
last modified time | relevance | path

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

/system/vold/
Dmain.cpp169 int dfd, fd; in do_coldboot() local
171 dfd = dirfd(d); in do_coldboot()
173 fd = openat(dfd, "uevent", O_WRONLY | O_CLOEXEC); in do_coldboot()
188 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY); 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); in calculate_dir_size()
/system/core/init/
Ddevices.cpp936 int dfd, fd; in do_coldboot() local
938 dfd = dirfd(d); in do_coldboot()
940 fd = openat(dfd, "uevent", O_WRONLY); in do_coldboot()
953 fd = openat(dfd, de->d_name, O_RDONLY | O_DIRECTORY); in do_coldboot()