Searched refs:mountPoint (Results 1 – 7 of 7) 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 | 423 char mountPoint[255]; in createAsec() local 425 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in createAsec() 426 if (mkdir(mountPoint, 0777)) { in createAsec() 438 if (Fat::doMount(dmDevice, mountPoint, false, false, false, ownerUid, in createAsec() 459 char mountPoint[255]; in finalizeAsec() local 474 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); in finalizeAsec() 476 if (Fat::doMount(loopDevice, mountPoint, true, true, true, 0, 0, 0227, false)) { in finalizeAsec() 490 char mountPoint[255]; in renameAsec() local 495 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id1); in renameAsec() 496 if (isMountpointMounted(mountPoint)) { in renameAsec() [all …]
|
D | Process.h | 27 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint); 28 …static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t… 32 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
|
D | Fat.cpp | 95 int Fat::doMount(const char *fsPath, const char *mountPoint, in doMount() argument 126 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); in doMount() 131 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); in doMount() 136 asprintf(&lost_path, "%s/LOST.DIR", mountPoint); in doMount()
|
D | Fat.h | 25 static int doMount(const char *fsPath, const char *mountPoint,
|
D | DirectVolume.h | 62 int doMountVfat(const char *deviceNode, const char *mountPoint);
|
D | VolumeManager.h | 110 const char *fileName, const char *mountPoint, bool force);
|