Searched refs:dirfd (Results 1 - 11 of 11) sorted by relevance
/system/vold/ |
H A D | Utils.cpp | 497 int dirfd = open(path.c_str(), O_DIRECTORY, O_RDONLY); local 498 if (dirfd < 0) { 502 uint64_t res = calculate_dir_size(dirfd); 503 close(dirfd); 670 status_t SaneReadLinkAt(int dirfd, const char* path, char* buf, size_t bufsiz) { argument 671 ssize_t len = readlinkat(dirfd, path, buf, bufsiz);
|
H A D | VolumeManager.cpp | 526 if (android::vold::SaneReadLinkAt(dirfd(dir), "1/ns/mnt", rootName, PATH_MAX) == -1) { 537 pidFd = openat(dirfd(dir), de->d_name, O_RDONLY | O_DIRECTORY | O_CLOEXEC); 941 int dirfd = open(mountPoint, O_DIRECTORY | O_CLOEXEC); local 942 if (dirfd >= 0) { 943 if (fchown(dirfd, ownerUid, AID_SYSTEM) 944 || fchmod(dirfd, S_IRUSR | S_IWUSR | S_IXUSR | S_ISGID | S_IRGRP | S_IXGRP)) { 947 close(dirfd); 1263 int dirfd = open(mountPoint, O_DIRECTORY | O_CLOEXEC); local 1264 if (dirfd < 0 || fchmod(dirfd, 075 1571 int dirfd = open(dir, O_DIRECTORY | O_CLOEXEC); local [all...] |
H A D | Utils.h | 119 status_t SaneReadLinkAt(int dirfd, const char* path, char* buf, size_t bufsiz);
|
H A D | main.cpp | 171 dfd = dirfd(d);
|
H A D | CommandListener.cpp | 362 fpathconf(dirfd(d), _PC_NAME_MAX) + 1; 692 openat(dirfd(dir.get()), pid_str.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); 717 android::vold::SaneReadLinkAt(dirfd(dir.get()), "1/ns/mnt", rootName, PATH_MAX);
|
/system/security/keystore/ |
H A D | user_state.cpp | 222 unlinkat(dirfd(dir), file->d_name, 0);
|
H A D | keystore.cpp | 734 unlinkat(dirfd(dir), file->d_name, 0); 743 if (renameat(dirfd(dir), file->d_name, dirfd(otherdir), file->d_name) < 0) {
|
/system/core/init/ |
H A D | property_service.cpp | 420 int fd = openat(dirfd(dir.get()), entry->d_name, O_RDONLY | O_NOFOLLOW);
|
H A D | devices.cpp | 938 dfd = dirfd(d);
|
/system/core/fs_mgr/ |
H A D | fs_mgr.c | 400 fd = openat(dirfd(blockdir), ent->d_name, O_RDONLY);
|
/system/core/sdcard/ |
H A D | sdcard.c | 1339 fd = dirfd(dh->d);
|
Completed in 273 milliseconds