HomeSort by relevance Sort by last modified time
    Searched full:mountpoint (Results 1 - 25 of 107) sorted by null

1 2 3 4 5

  /external/linux-tools-perf/perf-3.12.0/tools/lib/lk/
debugfs.c 62 /* verify that a mountpoint is actually a debugfs instance */
77 char *debugfs_mount(const char *mountpoint)
87 if (mountpoint == NULL) {
89 mountpoint = getenv(PERF_DEBUGFS_ENVIRONMENT);
91 if (mountpoint == NULL)
92 mountpoint = "/sys/kernel/debug";
95 if (mount(NULL, mountpoint, "debugfs", 0, NULL) < 0)
98 /* save the mountpoint */
100 strncpy(debugfs_mountpoint, mountpoint, sizeof(debugfs_mountpoint));
debugfs.h 25 char *debugfs_mount(const char *mountpoint);
  /external/qemu/distrib/ext4_utils/include/
make_ext4fs.h 27 const char *mountpoint, struct selabel_handle *sehnd);
30 const char *mountpoint, struct selabel_handle *sehnd,
34 const char *mountpoint, struct selabel_handle *sehnd);
  /system/vold/
Process.cpp 52 int Process::pathMatchesMountPoint(const char* path, const char* mountPoint) {
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) {
80 return checkFileDescriptorSymLinks(pid, mountPoint, NULL, 0);
83 int Process::checkFileDescriptorSymLinks(int pid, const char *mountPoint, char *openFilename, size_t max) {
110 if (readSymLink(path, link, sizeof(link)) && pathMatchesMountPoint(link, mountPoint)) {
    [all...]
VolumeManager.cpp 512 char mountPoint[255];
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)) {
543 SLOGE("Mountpoint creation failed (%s)", strerror(errno));
555 mountStatus = Ext4::doMount(dmDevice, mountPoint, false, false, false);
557 mountStatus = Fat::doMount(dmDevice, mountPoint, false, false, false, ownerUid, 0, 0000
    [all...]
Ext4.h 24 static int doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount,
26 static int format(const char *fsPath, unsigned int numSectors, const char *mountpoint);
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);
Ext4.cpp 49 int Ext4::doMount(const char *fsPath, const char *mountPoint, bool ro, bool remount,
60 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
65 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
114 int Ext4::format(const char *fsPath, unsigned int numSectors, const char *mountpoint) {
123 args[3] = mountpoint;
Fat.h 25 static int doMount(const char *fsPath, const char *mountPoint,
  /system/extras/ext4_utils/
make_ext4fs.h 27 const char *mountpoint, struct selabel_handle *sehnd);
29 const char *mountpoint, struct selabel_handle *sehnd);
make_ext4fs.c 394 const char *mountpoint, struct selabel_handle *sehnd)
399 return make_ext4fs_internal(fd, NULL, mountpoint, NULL, 0, 1, 0, 0, sehnd, 0, -1, NULL);
403 const char *mountpoint, struct selabel_handle *sehnd)
417 status = make_ext4fs_internal(fd, NULL, mountpoint, NULL, 0, 0, 0, 1, sehnd, 0, -1, NULL);
491 char *mountpoint; local
498 mountpoint = strdup("");
500 mountpoint = canonicalize_abs_slashes(_mountpoint);
592 root_inode_num = build_default_directory_structure(mountpoint, sehnd);
595 root_inode_num = build_directory_structure(directory, mountpoint, 0,
598 root_inode_num = build_default_directory_structure(mountpoint, sehnd)
    [all...]
make_ext4fs_main.c 55 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ]\n");
66 char *mountpoint = NULL; local
111 mountpoint = optarg;
170 if (!sehnd && mountpoint) {
186 } else if (mountpoint) {
229 exitcode = make_ext4fs_internal(fd, directory, mountpoint, fs_config_func, gzip,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_macpath.py 25 self.assertEqual(split("conky:mountpoint:foo:bar"),
26 ('conky:mountpoint:foo', 'bar'))
29 self.assertEqual(split(":conky:mountpoint:"),
30 (':conky:mountpoint', ''))
test_ntpath.py 36 tester('ntpath.splitunc("\\\\conky\\mountpoint\\foo\\bar")',
37 ('\\\\conky\\mountpoint', '\\foo\\bar'))
38 tester('ntpath.splitunc("//conky/mountpoint/foo/bar")',
39 ('//conky/mountpoint', '/foo/bar'))
43 tester('ntpath.split("\\\\conky\\mountpoint\\foo\\bar")',
44 ('\\\\conky\\mountpoint\\foo', 'bar'))
47 tester('ntpath.split("\\\\conky\\mountpoint\\")',
48 ('\\\\conky\\mountpoint', ''))
51 tester('ntpath.split("//conky/mountpoint/")', ('//conky/mountpoint', ''))
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_macpath.py 25 self.assertEqual(split("conky:mountpoint:foo:bar"),
26 ('conky:mountpoint:foo', 'bar'))
29 self.assertEqual(split(":conky:mountpoint:"),
30 (':conky:mountpoint', ''))
test_ntpath.py 36 tester('ntpath.splitunc("\\\\conky\\mountpoint\\foo\\bar")',
37 ('\\\\conky\\mountpoint', '\\foo\\bar'))
38 tester('ntpath.splitunc("//conky/mountpoint/foo/bar")',
39 ('//conky/mountpoint', '/foo/bar'))
43 tester('ntpath.split("\\\\conky\\mountpoint\\foo\\bar")',
44 ('\\\\conky\\mountpoint\\foo', 'bar'))
47 tester('ntpath.split("\\\\conky\\mountpoint\\")',
48 ('\\\\conky\\mountpoint', ''))
51 tester('ntpath.split("//conky/mountpoint/")', ('//conky/mountpoint', ''))
    [all...]
  /external/qemu/android/filesystems/
ext4_utils.h 23 // of |size| bytes. |mountPoint| is the name of the corresponding
28 const char *mountpoint);
ext4_utils.cpp 73 const char *mountpoint) {
74 int ret = ::make_ext4fs(filePath, size, mountpoint, NULL);
  /frameworks/base/include/storage/
IMountService.h 41 virtual int32_t mountVolume(const String16& mountPoint) = 0;
43 const String16& mountPoint, const bool force, const bool removeEncryption) = 0;
44 virtual int32_t formatVolume(const String16& mountPoint) = 0;
46 getStorageUsers(const String16& mountPoint, int32_t** users) = 0;
47 virtual int32_t getVolumeState(const String16& mountPoint) = 0;
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
cgroup.c 14 char mountpoint[PATH_MAX + 1], tokens[PATH_MAX + 1], type[PATH_MAX + 1]; local
29 mountpoint, type, tokens) == 3) {
50 if (strlen(mountpoint) < maxlen) {
51 strcpy(buf, mountpoint);
util.c 248 static void set_tracing_events_path(const char *mountpoint)
251 mountpoint, "tracing/events");
254 const char *perf_debugfs_mount(const char *mountpoint)
258 mnt = debugfs_mount(mountpoint);
  /system/extras/f2fs_utils/
make_f2fs.h 27 const char *mountpoint, struct selabel_handle *sehnd);
  /external/qemu/distrib/ext4_utils/src/
make_ext4fs.c 390 const char *mountpoint, struct selabel_handle *sehnd)
395 return make_ext4fs_internal(fd, NULL, mountpoint, NULL, 0, 1, 0, 0, sehnd, 0);
399 const char *mountpoint, struct selabel_handle *sehnd)
413 status = make_ext4fs_internal(fd, NULL, mountpoint, NULL, 0, 0, 0, 1, sehnd, 0);
486 char *mountpoint; local
493 mountpoint = strdup("");
495 mountpoint = canonicalize_abs_slashes(_mountpoint);
587 root_inode_num = build_default_directory_structure(mountpoint, sehnd);
590 root_inode_num = build_directory_structure(directory, mountpoint, 0,
593 root_inode_num = build_default_directory_structure(mountpoint, sehnd)
    [all...]
make_ext4fs_main.c 54 fprintf(stderr, " [ -L <label> ] [ -f ] [ -a <android mountpoint> ]\n");
65 char *mountpoint = NULL; local
108 mountpoint = optarg;
154 if (!sehnd && mountpoint) {
203 exitcode = make_ext4fs_internal(fd, directory, mountpoint, fs_config_func, gzip,
  /device/htc/flounder/overlay/frameworks/base/core/res/res/xml/
storage_list.xml 23 <storage android:mountPoint="/storage/sdcard0"

Completed in 279 milliseconds

1 2 3 4 5