Home
last modified time | relevance | path

Searched refs:kScratchMountPoint (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_overlayfs_control.cpp254 if (overlay != kScratchMountPoint) { in fs_mgr_overlayfs_teardown_scratch()
268 bool was_mounted = fs_mgr_overlayfs_already_mounted(kScratchMountPoint, false); in fs_mgr_overlayfs_teardown_scratch()
273 const auto partition_name = android::base::Basename(kScratchMountPoint); in fs_mgr_overlayfs_teardown_scratch()
394 command += " -f -d1 -l" + android::base::Basename(kScratchMountPoint); in MakeScratchFilesystem()
397 command = kMkExt4 + " -F -b 4096 -t ext4 -m 0 -O has_journal -M "s + kScratchMountPoint; in MakeScratchFilesystem()
433 const auto partition_name = android::base::Basename(kScratchMountPoint); in CreateDynamicScratch()
542 auto partition_name = android::base::Basename(kScratchMountPoint); in CreateScratchOnData()
618 if (fs_mgr_overlayfs_already_mounted(kScratchMountPoint, false)) { in fs_mgr_overlayfs_setup_scratch()
631 fs_mgr_overlayfs_teardown_scratch(kScratchMountPoint, nullptr); in fs_mgr_overlayfs_setup_scratch()
638 const auto top = kScratchMountPoint + "/"s + kOverlayTopDir; in fs_mgr_overlayfs_setup_scratch()
[all …]
Dfs_mgr_overlayfs_mount.cpp82 return {kScratchMountPoint}; in OverlayMountPoints()
90 return {kCacheMountPoint, kScratchMountPoint}; in OverlayMountPoints()
93 return {kScratchMountPoint, kCacheMountPoint}; in OverlayMountPoints()
280 if (umount(kScratchMountPoint) != 0) { in fs_mgr_overlayfs_umount_scratch()
283 if (rmdir(kScratchMountPoint) != 0 && errno != ENOENT) { in fs_mgr_overlayfs_umount_scratch()
284 PLOG(ERROR) << "rmdir " << kScratchMountPoint; in fs_mgr_overlayfs_umount_scratch()
563 if (mkdir(kScratchMountPoint, 0755) && (errno != EEXIST)) { in MountScratch()
564 PERROR << "create " << kScratchMountPoint; in MountScratch()
570 entry.mount_point = kScratchMountPoint; in MountScratch()
594 rmdir(kScratchMountPoint); in MountScratch()
[all …]
Dfs_mgr_overlayfs_mount.h25 constexpr char kScratchMountPoint[] = "/mnt/scratch"; variable