Home
last modified time | relevance | path

Searched refs:mountPoint (Results 1 – 4 of 4) sorted by relevance

/system/vold/
DProcess.cpp52 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 …]
DVolumeManager.cpp880 char mountPoint[255]; in createAsec() local
882 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", VolumeManager::ASECDIR, id); in createAsec()
883 if ((written < 0) || (size_t(written) >= sizeof(mountPoint))) { in createAsec()
894 formatStatus = android::vold::ext4::Format(dmDevice, numImgSectors, mountPoint); in createAsec()
909 if (mkdir(mountPoint, 0000)) { in createAsec()
923 mountStatus = android::vold::ext4::Mount(dmDevice, mountPoint, in createAsec()
926 mountStatus = android::vold::vfat::Mount(dmDevice, mountPoint, in createAsec()
941 int dirfd = open(mountPoint, O_DIRECTORY | O_CLOEXEC); in createAsec()
945 SLOGI("Cannot chown/chmod new ASEC mount point %s", mountPoint); in createAsec()
960 char mountPoint[255]; in resizeAsec() local
[all …]
DProcess.h29 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);
DVolumeManager.h177 const char *fileName, const char *mountPoint, bool force);