Searched refs:mountPoint (Results 1 - 7 of 7) sorted by relevance

/system/vold/
H A DProcess.h27 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint);
28 static int checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max);
32 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
H A DFat.h25 static int doMount(const char *fsPath, const char *mountPoint,
H A DProcess.cpp52 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 DVolumeManager.cpp357 char mountPoint[255]; local
359 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
360 if (mkdir(mountPoint, 0777)) {
372 if (Fat::doMount(dmDevice, mountPoint, false, false, false, ownerUid,
393 char mountPoint[255]; local
408 snprintf(mountPoint, sizeof(mountPoint), "%s/%s", Volume::ASECDIR, id);
410 if (Fat::doMount(loopDevice, mountPoint, true, true, true, 0, 0, 0227, false)) {
424 char mountPoint[25 local
468 char mountPoint[255]; local
483 char mountPoint[255]; local
496 unmountLoopImage(const char *id, const char *idHash, const char *fileName, const char *mountPoint, bool force) argument
580 char mountPoint[255]; local
608 char mountPoint[255]; local
743 char mountPoint[255]; local
[all...]
H A DFat.cpp97 int Fat::doMount(const char *fsPath, const char *mountPoint, argument
128 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
133 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
138 asprintf(&lost_path, "%s/LOST.DIR", mountPoint);
H A DDirectVolume.h73 int doMountVfat(const char *deviceNode, const char *mountPoint);
H A DVolumeManager.h108 const char *fileName, const char *mountPoint, bool force);

Completed in 3610 milliseconds