/system/vold/ |
H A 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 max); 34 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
|
H A D | Ext4.h | 24 static int doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount,
|
H A D | Fat.h | 25 static int doMount(const char *fsPath, const char *mountPoint,
|
H A D | Process.cpp | 52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) { argument 53 int length = strlen(mountPoint); 54 if (length > 1 && strncmp(path, mountPoint, length) == 0) { 55 // we need to do extra checking if mountPoint does not end in a '/' 56 if (mountPoint[length - 1] == '/') 58 // if mountPoint does not have a trailing slash, we need to make sure 79 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint) { argument 80 return checkFileDescriptorSymLinks(pid, mountPoint, NULL, 0); 83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) { argument 110 if (readSymLink(path, link, sizeof(link)) && pathMatchesMountPoint(link, mountPoint)) { 124 checkFileMaps(int pid, const char *mountPoint) argument 128 checkFileMaps(int pid, const char *mountPoint, char *openFilename, size_t max) argument 154 checkSymLink(int pid, const char *mountPoint, const char *name) argument [all...] |
H A D | VolumeManager.cpp | 512 char mountPoint[255]; local 514 int written = snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id); 515 if ((written < 0) || (size_t(written) >= sizeof(mountPoint))) { 516 SLOGE("ASEC fs format failed: couldn't construct mountPoint"); 526 formatStatus = Ext4::format(dmDevice, numImgSectors, mountPoint); 541 if (mkdir(mountPoint, 0000)) { 555 mountStatus = Ext4::doMount(dmDevice, mountPoint, false, false, false); 557 mountStatus = Fat::doMount(dmDevice, mountPoint, false, false, false, ownerUid, 0, 0000, 572 int dirfd = open(mountPoint, O_DIRECTOR 591 char mountPoint[255]; local 735 char mountPoint[255]; local 793 char mountPoint[255]; local 921 char mountPoint[255]; local 991 char mountPoint[255]; local 1020 char mountPoint[255]; local 1037 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument 1127 char mountPoint[255]; local 1263 char mountPoint[255]; local 1367 const char* mountPoint = (*i)->getFuseMountpoint(); local 1380 char mountPoint[255]; local [all...] |
H A D | Ext4.cpp | 49 int Ext4::doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount, argument 60 rc = mount(fsPath, mountPoint, "ext4", flags, NULL); 65 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
|
H A D | Fat.cpp | 115 int Fat::doMount(const char *fsPath, const char *mountPoint, argument 146 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 151 rc = mount(fsPath, mountPoint, "vfat", flags, mountData); 156 asprintf(&lost_path, "%s/LOST.DIR", mountPoint);
|
H A D | DirectVolume.h | 86 int doMountVfat(const char *deviceNode, const char *mountPoint);
|
H A D | VolumeManager.h | 125 const char *fileName, const char *mountPoint, bool force);
|