/system/sepolicy/prebuilts/api/28.0/public/ |
D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 8 type proc_security, fs_type, proc_type; 9 type proc_drop_caches, fs_type, proc_type; 10 type proc_overcommit_memory, fs_type, proc_type; 11 type proc_min_free_order_shift, fs_type, proc_type; 13 type usermodehelper, fs_type, proc_type; [all …]
|
/system/sepolicy/public/ |
D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 8 type proc_security, fs_type, proc_type; 9 type proc_drop_caches, fs_type, proc_type; 10 type proc_overcommit_memory, fs_type, proc_type; 11 type proc_min_free_order_shift, fs_type, proc_type; 13 type usermodehelper, fs_type, proc_type; [all …]
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type, proc_type; 8 type proc_security, fs_type, proc_type; 9 type proc_drop_caches, fs_type, proc_type; 10 type proc_overcommit_memory, fs_type, proc_type; 11 type proc_min_free_order_shift, fs_type, proc_type; 13 type usermodehelper, fs_type, proc_type; [all …]
|
/system/sepolicy/prebuilts/api/26.0/public/ |
D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type; 8 type proc_security, fs_type; 9 type proc_drop_caches, fs_type; 10 type proc_overcommit_memory, fs_type; 12 type usermodehelper, fs_type, sysfs_type; 13 type qtaguid_proc, fs_type, mlstrustedobject; [all …]
|
D | su.te | 32 dontaudit su fs_type:filesystem *; 33 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
|
/system/sepolicy/prebuilts/api/27.0/public/ |
D | file.te | 2 type labeledfs, fs_type; 3 type pipefs, fs_type; 4 type sockfs, fs_type; 5 type rootfs, fs_type; 6 type proc, fs_type; 8 type proc_security, fs_type; 9 type proc_drop_caches, fs_type; 10 type proc_overcommit_memory, fs_type; 12 type usermodehelper, fs_type; 13 type sysfs_usermodehelper, fs_type, sysfs_type; [all …]
|
D | su.te | 32 dontaudit su fs_type:filesystem *; 33 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
|
/system/extras/tests/fstest/ |
D | recovery_test.cpp | 188 FsRecoveryTest() : fs_type(FS_UNKNOWN), blk_fd_(-1) {} in FsRecoveryTest() 191 fs_type = FS_UNKNOWN; in setCacheInfoFromFstab() 201 if (entry.fs_type == "ext4") { in setCacheInfoFromFstab() 202 fs_type = FS_EXT4; in setCacheInfoFromFstab() 204 } else if (entry.fs_type == "f2fs") { in setCacheInfoFromFstab() 205 fs_type = FS_F2FS; in setCacheInfoFromFstab() 211 return fs_type != FS_UNKNOWN; in setCacheInfoFromFstab() 272 Fs_Type fs_type; member in android::FsRecoveryTest 280 if (fs_type != FS_EXT4) { in TEST_F() 298 if (fs_type != FS_EXT4) { in TEST_F()
|
/system/core/fs_mgr/ |
D | fs_mgr_format.cpp | 127 LERROR << __FUNCTION__ << ": Format " << entry.blk_device << " as '" << entry.fs_type << "'"; in fs_mgr_do_format() 129 if (entry.fs_type == "f2fs") { in fs_mgr_do_format() 131 } else if (entry.fs_type == "ext4") { in fs_mgr_do_format() 134 LERROR << "File system type '" << entry.fs_type << "' is not supported"; in fs_mgr_do_format()
|
D | fs_mgr.cpp | 152 static bool is_extfs(const std::string& fs_type) { in is_extfs() argument 153 return fs_type == "ext4" || fs_type == "ext3" || fs_type == "ext2"; in is_extfs() 156 static bool is_f2fs(const std::string& fs_type) { in is_f2fs() argument 157 return fs_type == "f2fs"; in is_f2fs() 176 static void check_fs(const std::string& blk_device, const std::string& fs_type, in check_fs() argument 190 if (is_extfs(fs_type)) { in check_fs() 206 if (fs_type == "ext4") { in check_fs() 210 ret = mount(blk_device.c_str(), target.c_str(), fs_type.c_str(), tmpmnt_flags, in check_fs() 212 PINFO << __FUNCTION__ << "(): mount(" << blk_device << "," << target << "," << fs_type in check_fs() 264 } else if (is_f2fs(fs_type)) { in check_fs() [all …]
|
D | fs_mgr_roots.cpp | 80 if (rec->fs_type == "ramdisk") { in EnsurePathMounted() 115 if (std::find(supported_fs.begin(), supported_fs.end(), rec->fs_type) == supported_fs.end()) { in EnsurePathMounted() 116 LERROR << "unknown fs_type \"" << rec->fs_type << "\" for " << mount_point; in EnsurePathMounted() 144 if (rec->fs_type == "ramdisk") { in EnsurePathUnmounted()
|
D | fs_mgr_remount.cpp | 62 if (entry.fs_type == "vfat") return false; in remountable_partition() 184 if (entry->fs_type != "rootfs") fstab.emplace_back(*entry); in main() 366 if (::mount(blk_device.c_str(), mount_point.c_str(), entry.fs_type.c_str(), MS_REMOUNT, in main() 372 if (::mount(blk_device.c_str(), mount_point.c_str(), entry.fs_type.c_str(), MS_REMOUNT, in main()
|
D | fs_mgr_overlayfs.cpp | 279 if (overlay_only && "overlay" != entry.fs_type && "overlayfs" != entry.fs_type) continue; in fs_mgr_overlayfs_already_mounted() 569 entry.fs_type = mnt_type; in fs_mgr_overlayfs_mount_scratch() 570 if ((mnt_type == "f2fs") && !f2fs) entry.fs_type = "ext4"; in fs_mgr_overlayfs_mount_scratch() 571 if ((mnt_type == "ext4") && !ext4) entry.fs_type = "f2fs"; in fs_mgr_overlayfs_mount_scratch() 581 if ((entry.fs_type == "f2fs") && ext4) { in fs_mgr_overlayfs_mount_scratch() 582 entry.fs_type = "ext4"; in fs_mgr_overlayfs_mount_scratch() 584 } else if ((entry.fs_type == "ext4") && f2fs) { in fs_mgr_overlayfs_mount_scratch() 585 entry.fs_type = "f2fs"; in fs_mgr_overlayfs_mount_scratch()
|
/system/core/fs_mgr/libfiemap_writer/ |
D | fiemap_writer.cpp | 200 uint32_t* fs_type) { in PerformFileChecks() argument 231 *fs_type = sfs.f_type; in PerformFileChecks() 272 uint64_t file_size, unsigned int fs_type, in AllocateFile() argument 278 switch (fs_type) { in AllocateFile() 292 LOG(ERROR) << "Missing fallocate() support for file system " << fs_type; in AllocateFile() 350 static bool PinFile(int file_fd, const std::string& file_path, uint32_t fs_type) { in PinFile() argument 351 if (fs_type != F2FS_SUPER_MAGIC) { in PinFile() 387 static bool IsFilePinned(int file_fd, const std::string& file_path, uint32_t fs_type) { in IsFilePinned() argument 388 if (fs_type != F2FS_SUPER_MAGIC) { in IsFilePinned() 621 uint32_t fs_type; in Open() local [all …]
|
D | utility.cpp | 37 switch (writer->fs_type()) { in DetermineMaximumFileSize() 54 LOG(ERROR) << "Unknown file system type: " << writer->fs_type(); in DetermineMaximumFileSize()
|
/system/core/init/ |
D | mount_handler.cpp | 105 const std::string& fs_type) in MountHandlerEntry() argument 106 : blk_device(blk_device), mount_point(mount_point), fs_type(fs_type) {} in MountHandlerEntry() 113 return fs_type < r.fs_type; in operator <()
|
D | mount_handler.h | 32 const std::string& fs_type); 38 const std::string fs_type; member
|
/system/sepolicy/private/ |
D | file.te | 2 type config_gz, fs_type, proc_type; 14 type debugfs_kcov, fs_type, debugfs_type;
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | file.te | 2 type config_gz, fs_type, proc_type; 14 type debugfs_kcov, fs_type, debugfs_type;
|
/system/vold/ |
D | IdleMaint.cpp | 96 const std::string& fs_type = vol->getFsType(); in addFromVolumeManager() local 97 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager() 99 paths->push_back(std::string("/sys/fs/") + fs_type + "/" + Basename(gc_path)); in addFromVolumeManager() 113 if (entry.fs_type == "emmc" || entry.fs_type == "mtd") { in addFromFstab() 137 if (entry.fs_type == "f2fs" && in addFromFstab() 139 paths->push_back("/sys/fs/" + entry.fs_type + "/" + Basename(gc_path)); in addFromFstab()
|
/system/core/fastboot/ |
D | fs.cpp | 197 const char* fs_type; //must match what fastboot reports for partition type member 208 const struct fs_generator* fs_get_generator(const std::string& fs_type) { in fs_get_generator() argument 210 if (fs_type == generators[i].fs_type) { in fs_get_generator()
|
D | fs.h | 8 const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | file.te | 7 type config_gz, fs_type;
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | file.te | 7 type config_gz, fs_type;
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | file.te | 2 type config_gz, fs_type, proc_type;
|