/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));
|
/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...] |
/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...] |
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);
|
/external/chromium_org/chrome/browser/storage_monitor/ |
media_storage_util_unittest.cc | 39 void CheckDeviceType(const base::FilePath& mount_point, 42 EXPECT_TRUE(MediaStorageUtil::HasDcim(mount_point)); 44 EXPECT_FALSE(MediaStorageUtil::HasDcim(mount_point)); 101 base::FilePath mount_point(CreateMountPoint(true)); 105 base::Unretained(this), mount_point, true)); 113 base::FilePath mount_point(CreateMountPoint(false)); 117 base::Unretained(this), mount_point, false));
|
volume_mount_watcher_win.cc | 58 DeviceType GetDeviceType(const base::string16& mount_point) { 59 UINT drive_type = GetDriveType(mount_point.c_str()); 69 base::string16 device = mount_point; 70 if (EndsWith(mount_point, L"\\", false)) 71 device = mount_point.substr(0, mount_point.length() - 1); 108 // Gets the total volume of the |mount_point| in bytes. 109 uint64 GetVolumeSize(const base::string16& mount_point) { 111 if (!GetDiskFreeSpaceExW(mount_point.c_str(), NULL, &total, NULL)) 124 base::string16 mount_point; local [all...] |
storage_monitor_linux.cc | 135 const base::FilePath& mount_point) { 192 if (MediaStorageUtil::HasDcim(mount_point)) 203 mount_point.value(), 377 const base::FilePath& mount_point = old_iter->first; local 379 MountPointDeviceMap::const_iterator new_iter = new_mtab.find(mount_point); 380 // |mount_point| not in |new_mtab| or |mount_device| is no longer mounted at 381 // |mount_point|. 387 priority->second.find(mount_point); 397 priority->second.erase(mount_point); 400 mount_points_to_erase.push_back(mount_point); 423 const base::FilePath& mount_point = first_mount_point_info->first; local 435 const base::FilePath& mount_point = new_iter->first; local [all...] |
media_storage_util.h | 32 static bool HasDcim(const base::FilePath& mount_point);
|
storage_monitor_linux.h | 48 // Gets device information given a |device_path| and |mount_point|. 51 const base::FilePath& mount_point)> GetDeviceInfoCallback; 106 // |mount_point|, update the mappings. 108 const base::FilePath& mount_point);
|
storage_monitor_mac.h | 58 bool FindDiskWithMountPoint(const base::FilePath& mount_point,
|
media_storage_util.cc | 102 bool MediaStorageUtil::HasDcim(const base::FilePath& mount_point) { 106 if (!base::DirectoryExists(mount_point.Append(dcim_dir))) { 109 mount_point.Append(StringToLowerASCII(dcim_dir)));
|
storage_monitor_linux_unittest.cc | 75 const base::FilePath& mount_point) { 95 mount_point.value(), 153 const std::string& mount_point, 156 mount_point(mount_point), 161 const std::string mount_point; member in struct:chrome::__anon8193::StorageMonitorLinuxTest::MtabTestData 310 entry.mnt_dir = const_cast<char*>(data[i].mount_point.c_str());
|
/system/core/fs_mgr/include/ |
fs_mgr.h | 35 char *mount_point; member in struct:fstab_rec 59 const char *mount_point, const char *fs_type,
|
/system/core/fs_mgr/ |
fs_mgr.c | 384 ERROR("Error parsing mount_point\n"); 387 fstab->recs[cnt].mount_point = strdup(p); 440 free(fstab->recs[i].mount_point); 603 fstab->recs[i].mount_point); 613 mret = __mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, 628 if (mount("tmpfs", fstab->recs[i].mount_point, "tmpfs", 631 fstab->recs[i].mount_point); 637 fstab->recs[i].blk_device, fstab->recs[i].mount_point); 667 if (!fs_match(fstab->recs[i].mount_point, n_name)) { 688 fstab->recs[i].mount_point); [all...] |
fs_mgr_verity.c | 347 char *mount_point = basename(fstab->mount_point); local 361 if (create_verity_device(io, mount_point, fd) < 0) { 367 if (get_verity_device_name(io, mount_point, fd, &verity_blk_name) < 0) { 387 if (load_verity_table(io, mount_point, fstab->blk_device, fd, verity_table) < 0) { 392 if (resume_verity_table(io, mount_point, fd) < 0) {
|
/bootable/recovery/updater/ |
install.c | 51 // mount(fs_type, partition_type, location, mount_point) 63 char* mount_point; local 65 &location, &mount_point) < 0) { 82 if (strlen(mount_point) == 0) { 83 ErrorAbort(state, "mount_point argument to %s() can't be empty", name); 90 selabel_lookup(sehandle, &secontext, mount_point, 0755); 94 mkdir(mount_point, 0755); 111 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { 117 result = mount_point; 119 if (mount(location, mount_point, fs_type 144 char* mount_point; local 172 char* mount_point; local 213 char* mount_point; local [all...] |
/external/chromium_org/chrome/installer/mac/ |
dmgdiffer.sh | 98 local mount_point 99 for mount_point in "${g_cleanup_mount_points[@]}"; do 100 hdiutil detach "${mount_point}" -force >& /dev/null || true 113 local mount_point="${2}"
|
/external/chromium_org/chromeos/disks/ |
disk_mount_manager.cc | 103 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path); variable 104 if (mount_point == mount_points_.end()) { 110 std::string device_path = mount_point->second.source_path; 226 const MountPointInfo& mount_point) OVERRIDE { 227 if (mount_points_.find(mount_point.mount_path) != mount_points_.end()) { 231 if (mount_point.mount_type == chromeos::MOUNT_TYPE_DEVICE && 232 disks_.find(mount_point.source_path) == disks_.end()) { 237 mount_points_.insert(std::make_pair(mount_point.mount_path, mount_point)); 668 bool DiskMountManager::AddMountPointForTest(const MountPointInfo& mount_point) { [all...] |
disk_mount_manager_unittest.cc | 108 const DiskMountManager::MountPointInfo& mount_point)); 181 void AddTestMountPoint(const TestMountPointInfo& mount_point) { 183 DiskMountManager::MountPointInfo(mount_point.source_path, 184 mount_point.mount_path, 185 mount_point.mount_type, 186 mount_point.mount_condition)));
|
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/ |
private_api_file_system.cc | 120 const base::FilePath mount_point = drive::util::GetDriveMountPointPath(); local 124 render_view_host->GetProcess()->GetID(), mount_point); 127 if (backend->GetVirtualPath(mount_point, &mount_point_virtual))
|