/system/core/rootdir/etc/ |
mountd.conf | 9 mount_point /sdcard
|
/bootable/recovery/mtdutils/ |
mounts.h | 31 find_mounted_volume_by_mount_point(const char *mount_point);
|
mounts.c | 28 const char *mount_point; member in struct:MountedVolume 49 free((char *)volume->mount_point); 117 char mount_point[64]; local 125 device, mount_point, filesystem, flags); 129 mount_point[sizeof(mount_point)-1] = '\0'; 136 v->mount_point = strdup(mount_point); 183 find_mounted_volume_by_mount_point(const char *mount_point) 191 if (v->mount_point != NULL) [all...] |
mtdutils.h | 32 /* mount_point is like "/system" 35 int mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
|
mtdutils.c | 193 mtd_mount_partition(const MtdPartition *partition, const char *mount_point, 202 rv = mount(devname, mount_point, filesystem, flags, NULL); 205 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0); 208 devname, mount_point, strerror(errno)); 210 printf("Mount %s on %s read-only\n", devname, mount_point); 219 rv = stat(mount_point, &st); 225 printf("Fixing execute permissions for %s\n", mount_point); 226 rv = chmod(mount_point, new_mode); 229 mount_point, strerror(errno));
|
/build/tools/releasetools/ |
build_image.py | 61 prop_dict["mount_point"]]) 74 build_command.append(prop_dict["mount_point"]) 99 def ImagePropFromGlobalDict(glob_dict, mount_point): 104 mount_point: such as "system", "data" etc. 121 d["mount_point"] = mount_point 122 if mount_point == "system": 125 elif mount_point == "data": 128 elif mount_point == "cache": 131 elif mount_point == "vendor" [all...] |
edify_generator.py | 134 def Mount(self, mount_point): 135 """Mount the partition with the given mount_point.""" 138 p = fstab[mount_point] 141 p.device, p.mount_point)) 142 self.mounts.add(p.mount_point) 170 p.device, p.length, p.mount_point)) 192 def WriteRawImage(self, mount_point, fn): 198 p = fstab[mount_point]
|
common.py | 194 p.mount_point = pieces[0] 216 print "%s: unknown option \"%s\"" % (p.mount_point, i) 218 d[p.mount_point] = p 236 p.mount_point = pieces[1] 249 d[p.mount_point] = p 483 mount_point = "/" + target 486 if mount_point == "/userdata": mount_point = "/data" 487 p = info_dict["fstab"][mount_point] 951 def GetTypeAndDevice(mount_point, info) [all...] |
/system/vold/ |
fstrim.c | 81 if (stat(fstab->recs[i].mount_point, &sb) == -1) { 82 SLOGE("Cannot stat mount point %s\n", fstab->recs[i].mount_point); 87 SLOGE("%s is not a directory\n", fstab->recs[i].mount_point); 92 fd = open(fstab->recs[i].mount_point, O_RDONLY); 94 SLOGE("Cannot open %s for FITRIM\n", fstab->recs[i].mount_point); 101 SLOGI("Invoking FITRIM ioctl on %s", fstab->recs[i].mount_point); 103 SLOGE("FITRIM ioctl failed on %s", fstab->recs[i].mount_point); 106 SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point);
|
DirectVolume.h | 45 DirectVolume(VolumeManager *vm, const char *label, const char *mount_point, int partIdx);
|
Volume.h | 65 Volume(VolumeManager *vm, const char *label, const char *mount_point);
|
main.cpp | 178 fstab->recs[i].mount_point,
|
DirectVolume.cpp | 37 const char *mount_point, int partIdx) : 38 Volume(vm, label, mount_point) {
|
Volume.cpp | 114 Volume::Volume(VolumeManager *vm, const char *label, const char *mount_point) { 118 mMountpoint = strdup(mount_point);
|
cryptfs.c | 791 static int do_crypto_complete(char *mount_point) 837 static int test_mount_encrypted_fs(char *passwd, char *mount_point, char *label) 880 * Since we're here, the mount_point should be a tmpfs filesystem, so make 883 sprintf(tmp_mount_point, "%s/tmp_mnt", mount_point); 916 saved_mount_point = strdup(mount_point); [all...] |
/bootable/recovery/ |
roots.cpp | 59 printf(" %d %s %s %s %lld\n", i, v->mount_point, v->fs_type, 88 find_mounted_volume_by_mount_point(v->mount_point); 94 mkdir(v->mount_point, 0755); // in case it doesn't already exist 103 v->blk_device, v->mount_point); 106 return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0); 109 result = mount(v->blk_device, v->mount_point, v->fs_type, 113 LOGE("failed to mount %s (%s)\n", v->mount_point, strerror(errno)); 117 LOGE("unknown fs_type \"%s\" for %s\n", v->fs_type, v->mount_point); 140 find_mounted_volume_by_mount_point(v->mount_point); 160 if (strcmp(v->mount_point, volume) != 0) [all...] |
/system/core/fs_mgr/include/ |
fs_mgr.h | 32 char *mount_point; member in struct:fstab_rec 53 const char *mount_point, const char *fs_type,
|
/bootable/recovery/updater/ |
install.c | 45 // mount(fs_type, partition_type, location, mount_point) 57 char* mount_point; local 59 &location, &mount_point) < 0) { 76 if (strlen(mount_point) == 0) { 77 ErrorAbort(state, "mount_point argument to %s() can't be empty", name); 84 selabel_lookup(sehandle, &secontext, mount_point, 0755); 88 mkdir(mount_point, 0755); 105 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { 111 result = mount_point; 113 if (mount(location, mount_point, fs_type 138 char* mount_point; local 166 char* mount_point; local 207 char* mount_point; local [all...] |
/system/core/fs_mgr/ |
fs_mgr.c | 362 ERROR("Error parsing mount_point\n"); 365 fstab->recs[cnt].mount_point = strdup(p); 415 free(fstab->recs[i].mount_point); 539 fstab->recs[i].mount_point); 542 mret = mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, 556 if (mount("tmpfs", fstab->recs[i].mount_point, "tmpfs", 559 fstab->recs[i].mount_point); 565 fstab->recs[i].blk_device, fstab->recs[i].mount_point); 595 if (!fs_match(fstab->recs[i].mount_point, n_name)) { 615 fstab->recs[i].mount_point); [all...] |