Searched refs:mountPoint (Results 1 – 4 of 4) sorted by relevance
/system/vold/ |
D | Process.cpp | 52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) { in pathMatchesMountPoint() argument 53 int length = strlen(mountPoint); in pathMatchesMountPoint() 54 if (length > 1 && strncmp(path, mountPoint, length) == 0) { in pathMatchesMountPoint() 56 if (mountPoint[length - 1] == '/') in pathMatchesMountPoint() 79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) { in checkFileDescriptorSymLinks() argument 80 return checkFileDescriptorSymLinks(pid, mountPoint, NULL, 0); in checkFileDescriptorSymLinks() 83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_… in checkFileDescriptorSymLinks() argument 110 if (readSymLink(path, link, sizeof(link)) && pathMatchesMountPoint(link, mountPoint)) { in checkFileDescriptorSymLinks() 124 int Process::checkFileMaps(int pid, const char *mountPoint) { in checkFileMaps() argument 125 return checkFileMaps(pid, mountPoint, NULL, 0); in checkFileMaps() [all …]
|
D | VolumeManager.cpp | 886 char mountPoint[255]; in createAsec() local 888 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", VolumeManager::ASECDIR, id); in createAsec() 889 if ((written < 0) || (size_t(written) >= sizeof(mountPoint))) { in createAsec() 900 formatStatus = android::vold::ext4::Format(dmDevice, numImgSectors, mountPoint); in createAsec() 915 if (mkdir(mountPoint, 0000)) { in createAsec() 929 mountStatus = android::vold::ext4::Mount(dmDevice, mountPoint, in createAsec() 932 mountStatus = android::vold::vfat::Mount(dmDevice, mountPoint, in createAsec() 947 int dirfd = open(mountPoint, O_DIRECTORY | O_CLOEXEC); in createAsec() 951 SLOGI("Cannot chown/chmod new ASEC mount point %s", mountPoint); in createAsec() 966 char mountPoint[255]; in resizeAsec() local [all …]
|
D | Process.h | 29 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint); 30 …static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t… 34 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
|
D | VolumeManager.h | 177 const char *fileName, const char *mountPoint, bool force);
|