HomeSort by relevance Sort by last modified time
    Searched refs:mount_point (Results 1 - 25 of 40) sorted by null

1 2

  /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));
  /system/vold/
fstrim.c 87 if (stat(fstab->recs[i].mount_point, &sb) == -1) {
88 SLOGE("Cannot stat mount point %s\n", fstab->recs[i].mount_point);
93 SLOGE("%s is not a directory\n", fstab->recs[i].mount_point);
98 fd = open(fstab->recs[i].mount_point, O_RDONLY);
100 SLOGE("Cannot open %s for FITRIM\n", fstab->recs[i].mount_point);
107 SLOGI("Invoking %s ioctl on %s", deep_trim ? "FIDTRIM" : "FITRIM", fstab->recs[i].mount_point);
111 SLOGE("%s ioctl failed on %s (error %d/%s)", deep_trim ? "FIDTRIM" : "FITRIM", fstab->recs[i].mount_point, errno, strerror(errno));
114 SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point);
  /bootable/recovery/
roots.cpp 65 printf(" %d %s %s %s %lld\n", i, v->mount_point, v->fs_type,
94 find_mounted_volume_by_mount_point(v->mount_point);
100 mkdir(v->mount_point, 0755); // in case it doesn't already exist
109 v->blk_device, v->mount_point);
112 return mtd_mount_partition(partition, v->mount_point, v->fs_type, 0);
115 result = mount(v->blk_device, v->mount_point, v->fs_type,
119 LOGE("failed to mount %s (%s)\n", v->mount_point, strerror(errno));
123 LOGE("unknown fs_type \"%s\" for %s\n", v->fs_type, v->mount_point);
146 find_mounted_volume_by_mount_point(v->mount_point);
180 if (strcmp(v->mount_point, volume) != 0)
    [all...]
  /external/chromium_org/components/storage_monitor/
media_storage_util_unittest.cc 37 void CheckDCIMDeviceType(const base::FilePath& mount_point) {
38 EXPECT_TRUE(MediaStorageUtil::HasDcim(mount_point));
41 void CheckNonDCIMDeviceType(const base::FilePath& mount_point) {
42 EXPECT_FALSE(MediaStorageUtil::HasDcim(mount_point));
96 base::FilePath mount_point(CreateMountPoint(true));
97 ASSERT_FALSE(mount_point.empty());
101 base::Unretained(this), mount_point));
109 base::FilePath mount_point(CreateMountPoint(false));
110 ASSERT_FALSE(mount_point.empty());
114 base::Unretained(this), mount_point));
    [all...]
storage_monitor_linux.cc 120 const base::FilePath& mount_point) {
177 if (MediaStorageUtil::HasDcim(mount_point))
187 mount_point.value(),
372 const base::FilePath& mount_point = old_iter->first; local
374 MountPointDeviceMap::const_iterator new_iter = new_mtab.find(mount_point);
375 // |mount_point| not in |new_mtab| or |mount_device| is no longer mounted at
376 // |mount_point|.
382 priority->second.find(mount_point);
392 priority->second.erase(mount_point);
395 mount_points_to_erase.push_back(mount_point);
418 const base::FilePath& mount_point = first_mount_point_info->first; local
430 const base::FilePath& mount_point = new_iter->first; local
    [all...]
volume_mount_watcher_win.cc 59 DeviceType GetDeviceType(const base::string16& mount_point) {
60 UINT drive_type = GetDriveType(mount_point.c_str());
70 base::string16 device = mount_point;
71 if (EndsWith(mount_point, L"\\", false))
72 device = mount_point.substr(0, mount_point.length() - 1);
109 // Gets the total volume of the |mount_point| in bytes.
110 uint64 GetVolumeSize(const base::string16& mount_point) {
112 if (!GetDiskFreeSpaceExW(mount_point.c_str(), NULL, &total, NULL))
125 base::string16 mount_point; 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,
  /build/tools/releasetools/
build_image.py 241 prop_dict["mount_point"]])
266 build_command.append(prop_dict["mount_point"])
291 def ImagePropFromGlobalDict(glob_dict, mount_point):
296 mount_point: such as "system", "data" etc.
320 d["mount_point"] = mount_point
321 if mount_point == "system":
326 elif mount_point == "data":
331 elif mount_point == "cache":
334 elif mount_point == "vendor"
    [all...]
  /external/chromium_org/chrome/browser/chromeos/file_manager/
fake_disk_mount_manager.cc 78 const MountPointInfo mount_point(
83 mount_points_.insert(make_pair(source_path, mount_point));
87 mount_point));
98 const MountPointInfo mount_point = iter->second; local
103 mount_point));
121 const MountPointInfo& mount_point) {
  /system/core/fs_mgr/include/
fs_mgr.h 47 char *mount_point; member in struct:fstab_rec
79 const char *mount_point, const char *fs_type,
  /system/core/fs_mgr/
fs_mgr.c 295 i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point);
304 fstab->recs[i].mount_point, i, fstab->recs[i].fs_type, fstab->recs[*attempted_idx].fs_type);
310 fstab->recs[i].mount_point);
312 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, &fstab->recs[i])) {
317 fstab->recs[i].blk_device, fstab->recs[i].mount_point, fstab->recs[i].fs_type,
338 /* When multiple fstab records share the same mount_point, it will
393 if (umount(fstab->recs[attempted_idx].mount_point) == 0) {
395 ERROR("Will try to encrypt %s %s\n", fstab->recs[attempted_idx].mount_point,
404 fstab->recs[attempted_idx].mount_point);
    [all...]
fs_mgr_fstab.c 261 ERROR("Error parsing mount_point\n");
264 fstab->recs[cnt].mount_point = strdup(p);
324 free(fstab->recs[i].mount_point);
343 const char *mount_point, const char *fs_type,
358 new_fstab_recs[n].mount_point = strdup(mount_point);
392 int len = strlen(fstab->recs[i].mount_point);
393 if (strncmp(path, fstab->recs[i].mount_point, len) == 0 &&
fs_mgr_verity.c 388 char *mount_point = basename(fstab->mount_point); local
419 if (create_verity_device(io, mount_point, fd) < 0) {
425 if (get_verity_device_name(io, mount_point, fd, &verity_blk_name) < 0) {
438 if (load_verity_table(io, mount_point, fstab->blk_device, fd, verity_table) < 0) {
443 if (resume_verity_table(io, mount_point, fd) < 0) {
458 retval = set_verified_property(mount_point);
  /system/core/adb/
disable_verity_service.c 82 const char* mount_point)
118 write_console(fd, "Verity already disabled on %s\n", mount_point);
141 write_console(fd, "Verity disabled on %s\n", mount_point);
183 fstab->recs[i].mount_point)) {
  /bootable/recovery/updater/
install.c 89 // mount(fs_type, partition_type, location, mount_point)
101 char* mount_point; local
107 &location, &mount_point, &mount_options) < 0) {
113 &location, &mount_point) < 0) {
131 if (strlen(mount_point) == 0) {
132 ErrorAbort(state, "mount_point argument to %s() can't be empty", name);
139 selabel_lookup(sehandle, &secontext, mount_point, 0755);
143 mkdir(mount_point, 0755);
160 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) {
166 result = mount_point;
195 char* mount_point; local
223 char* mount_point; local
283 char* mount_point; local
    [all...]
  /external/chromium_org/chrome/browser/media_galleries/fileapi/
media_file_system_backend.cc 75 const std::string& mount_point,
96 StartsWithASCII(mount_point, expected_mount_prefix, true) &&
97 base::StringToUint64(mount_point.substr(expected_mount_prefix.size()),
199 std::string mount_point = base::FilePath(components[0]).AsUTF8Unsafe();
200 if (!StartsWithASCII(mount_point, kMediaGalleryMountPrefix, true))
212 request_info->GetRouteID(), storage_domain, mount_point,
  /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 107 MountPointMap::const_iterator mount_point = mount_points_.find(mount_path); variable
108 if (mount_point == mount_points_.end()) {
114 std::string device_path = mount_point->second.source_path;
241 const MountPointInfo& mount_point) OVERRIDE {
242 if (mount_points_.find(mount_point.mount_path) != mount_points_.end()) {
246 if (mount_point.mount_type == chromeos::MOUNT_TYPE_DEVICE &&
247 disks_.find(mount_point.source_path) == disks_.end()) {
252 mount_points_.insert(std::make_pair(mount_point.mount_path, mount_point));
687 bool DiskMountManager::AddMountPointForTest(const MountPointInfo& mount_point) {
    [all...]
  /bootable/recovery/uncrypt/
uncrypt.c 136 if (!v->mount_point) continue;
137 int len = strlen(v->mount_point);
138 if (strncmp(path, v->mount_point, len) == 0 &&
332 if (!v->mount_point) continue;
333 if (strcmp(v->mount_point, "/misc") == 0) {

Completed in 933 milliseconds

1 2