Searched refs:path (Results 76 - 81 of 81) sorted by path

1234

/system/vold/
H A DProcess.cpp35 int Process::readSymLink(const char *path, char *link, size_t max) { argument
39 if (lstat(path, &s) < 0)
45 length = readlink(path, link, max- 1);
52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) { argument
54 if (length > 1 && strncmp(path, mountPoint, length) == 0) {
59 // there is one in the path to avoid partial matches.
60 return (path[length] == 0 || path[length] == '/');
86 // compute path to process's directory of open files
87 char path[PATH_MA local
139 const char* path = strchr(buffer, '/'); local
155 char path[PATH_MAX]; local
180 killProcessesWithOpenFiles(const char *path, int action) argument
[all...]
H A DProcess.h22 static void killProcessesWithOpenFiles(const char *path, int action);
24 static int checkSymLink(int pid, const char *path, const char *name);
25 static int checkFileMaps(int pid, const char *path);
26 static int checkFileMaps(int pid, const char *path, char *openFilename, size_t max);
31 static int readSymLink(const char *path, char *link, size_t max);
32 static int pathMatchesMountPoint(const char *path, const char *mountPoint);
H A DVolume.cpp66 * asec imagefiles. This path will be obscured before the mount is
199 int Volume::createDeviceNode(const char *path, int major, int minor) { argument
202 if (mknod(path, mode, dev) < 0) {
266 bool Volume::isMountpointMounted(const char *path) { argument
281 if (!strcmp(mount_path, path)) {
366 /* We now have the new sysfs path for the decrypted block device, and the
368 * path to the new sysfs path, and continue.
378 // Todo: Either create sys filename from nodepath, or pass in bogus path so
564 int Volume::doUnmount(const char *path, boo argument
[all...]
H A DVolume.h94 int createDeviceNode(const char *path, int major, int minor);
98 bool isMountpointMounted(const char *path);
100 int doUnmount(const char *path, bool force);
H A DVolumeManager.h85 int shareEnabled(const char *path, const char *method, bool *enabled);
H A Dmain.cpp38 static void coldboot(const char *path);
136 static void coldboot(const char *path) argument
138 DIR *d = opendir(path);

Completed in 47 milliseconds

1234