/system/sepolicy/microdroid/system/public/ |
D | file.te | 47 type binfmt_miscfs, fs_type; 48 type cgroup, fs_type; 49 type cgroup_v2, fs_type; 50 type config_gz, fs_type, proc_type; 51 type configfs, fs_type; 52 type debugfs, fs_type, debugfs_type; 53 type debugfs_bootreceiver_tracing, fs_type, debugfs_type, tracefs_type; 54 type debugfs_kcov, fs_type, debugfs_type; 55 type debugfs_kprobes, fs_type, debugfs_type; 56 type debugfs_mm_events_tracing, fs_type, debugfs_type, tracefs_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; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 9 type binderfs_logs_proc, fs_type; 10 type binderfs_logs_stats, fs_type; 13 type binderfs_logs_transactions, fs_type; [all …]
|
/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() 270 Fs_Type fs_type; member in android::FsRecoveryTest 278 if (fs_type != FS_EXT4) { in TEST_F() 296 if (fs_type != FS_EXT4) { in TEST_F()
|
/system/sepolicy/private/ |
D | file.te | 2 type config_gz, fs_type, proc_type; 6 type fs_bpf_net_private, fs_type, bpffs_type; 7 type fs_bpf_net_shared, fs_type, bpffs_type; 8 type fs_bpf_netd_readonly, fs_type, bpffs_type; 9 type fs_bpf_netd_shared, fs_type, bpffs_type; 10 type fs_bpf_loader, fs_type, bpffs_type; 11 type fs_bpf_uprobestats, fs_type, bpffs_type; 49 type debugfs_kcov, fs_type, debugfs_type; 144 type sysfs_dt_avf, fs_type, sysfs_type; 145 type proc_dt_avf, fs_type, proc_type; [all …]
|
/system/sepolicy/microdroid/system/private/ |
D | file.te | 1 allow fs_type self:filesystem associate; 15 type authfs_fuse, fs_type, contextmount_type; 21 type encryptedstore_fs, fs_type, contextmount_type; 36 type sysfs_pgsize_migration, fs_type, sysfs_type;
|
D | su.te | 20 dontaudit su fs_type:filesystem *; 21 dontaudit su {fs_type dev_type file_type}:dir_file_class_set *;
|
/system/core/fs_mgr/libfiemap/ |
D | fiemap_writer.cpp | 236 static bool PerformFileChecks(const std::string& file_path, uint64_t* blocksz, uint32_t* fs_type) { in PerformFileChecks() argument 261 *fs_type = sfs.f_type; in PerformFileChecks() 318 static bool IsFilePinned(int file_fd, const std::string& file_path, uint32_t fs_type) { in IsFilePinned() argument 319 if (fs_type != F2FS_SUPER_MAGIC) { in IsFilePinned() 358 static bool PinFile(int file_fd, const std::string& file_path, uint32_t fs_type) { in PinFile() argument 359 if (IsFilePinned(file_fd, file_path, fs_type)) { in PinFile() 362 if (fs_type != F2FS_SUPER_MAGIC) { in PinFile() 433 uint64_t file_size, unsigned int fs_type, in AllocateFile() argument 436 switch (fs_type) { in AllocateFile() 445 if (!PinFile(file_fd, file_path, fs_type)) { in AllocateFile() [all …]
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 147 static bool is_extfs(const std::string& fs_type) { in is_extfs() argument 148 return fs_type == "ext4" || fs_type == "ext3" || fs_type == "ext2"; in is_extfs() 151 static bool is_f2fs(const std::string& fs_type) { in is_f2fs() argument 152 return fs_type == "f2fs"; in is_f2fs() 187 static void check_fs(const std::string& blk_device, const std::string& fs_type, in check_fs() argument 202 if (is_extfs(fs_type)) { in check_fs() 218 if (fs_type == "ext4") { in check_fs() 222 ret = mount(blk_device.c_str(), target.c_str(), fs_type.c_str(), tmpmnt_flags, in check_fs() 224 PINFO << __FUNCTION__ << "(): mount(" << blk_device << "," << target << "," << fs_type in check_fs() 262 } else if (is_f2fs(fs_type)) { in check_fs() [all …]
|
D | fs_mgr_format.cpp | 182 LERROR << __FUNCTION__ << ": Format " << entry.blk_device << " as '" << entry.fs_type << "'"; in fs_mgr_do_format() 191 if (entry.fs_type == "f2fs") { in fs_mgr_do_format() 195 } else if (entry.fs_type == "ext4") { in fs_mgr_do_format() 199 LERROR << "File system type '" << entry.fs_type << "' is not supported"; in fs_mgr_do_format()
|
D | fs_mgr_roots.cpp | 84 if (rec->fs_type == "ramdisk") { in TryPathMount() 120 if (std::find(supported_fs.begin(), supported_fs.end(), rec->fs_type) == supported_fs.end()) { in TryPathMount() 121 LERROR << "unknown fs_type \"" << rec->fs_type << "\" for " << mount_point; in TryPathMount() 163 if (rec->fs_type == "ramdisk") { in EnsurePathUnmounted()
|
D | fs_mgr_remount.cpp | 145 if (entry->fs_type != "rootfs") fstab->emplace_back(*entry); in ReadFstab() 193 if (entry.fs_type == "vfat") { in IsRemountable() 197 return candidate_entry->fs_type == entry.fs_type; in IsRemountable() 216 if (mounted && mounted->fs_type == iter->fs_type) { in FindPartition() 384 if (::mount(blk_device.c_str(), mnt_point.c_str(), entry.fs_type.c_str(), in RemountPartition()
|
D | fs_mgr_overlayfs_mount.cpp | 583 for (auto fs_type : filesystem_candidates) { in MountScratch() local 584 entry.fs_type = fs_type; in MountScratch() 661 if (!mounted || mounted->fs_type != entry.fs_type) { in fs_mgr_overlayfs_candidate_list() 771 if (entry->fs_type != "overlay" && entry->fs_type != "overlayfs") { in fs_mgr_overlayfs_already_mounted()
|
/system/core/trusty/storage/proxy/ |
D | checkpoint_handling.cpp | 61 if (dataEntry->fs_type != "f2fs") { in is_data_checkpoint_active() 62 ALOGW("Checkpoint status not supported for filesystem %s\n", dataEntry->fs_type.c_str()); in is_data_checkpoint_active()
|
/system/core/init/ |
D | mount_handler.h | 32 const std::string& fs_type); 38 const std::string fs_type; member
|
D | mount_handler.cpp | 156 const std::string& fs_type) in MountHandlerEntry() argument 157 : blk_device(blk_device), mount_point(mount_point), fs_type(fs_type) {} in MountHandlerEntry() 164 return fs_type < r.fs_type; in operator <()
|
/system/core/fs_mgr/tests/ |
D | vts_fs_test.cpp | 123 EXPECT_NE(entry.fs_type, "f2fs"); in TEST() 135 EXPECT_NE(std::find(allowed.begin(), allowed.end(), entry.fs_type), allowed.end()) in TEST() 139 EXPECT_NE(std::find(allowed.begin(), allowed.end(), entry.fs_type), allowed.end()) in TEST() 140 << entry.mount_point << ", " << entry.fs_type; in TEST()
|
/system/gsid/tests/ |
D | boot_tests.cpp | 128 ASSERT_TRUE(entry->fs_type == "f2fs" || entry->fs_type == "ext4") in TEST() 129 << "Unexpected filesystem type: " << entry->fs_type; in TEST()
|
/system/core/fastboot/ |
D | fs.cpp | 223 const char* fs_type; //must match what fastboot reports for partition type member 234 const struct fs_generator* fs_get_generator(const std::string& fs_type) { in fs_get_generator() argument 236 if (fs_type == generators[i].fs_type) { in fs_get_generator()
|
D | fs.h | 14 const struct fs_generator* fs_get_generator(const std::string& fs_type);
|
/system/apex/apexer/ |
D | runtests.sh | 31 for fs_type in ext4 f2fs erofs 87 --payload_fs_type ${fs_type} \ 138 echo "Passed for ${fs_type}"
|
/system/apex/apexd/ |
D | apex_file.h | 68 const std::optional<std::string>& fs_type, bool is_compressed) in ApexFile() argument 74 fs_type_(fs_type), in ApexFile()
|
/system/vold/ |
D | IdleMaint.cpp | 110 const std::string& fs_type = vol->getFsType(); in addFromVolumeManager() local 111 if (fs_type == "f2fs" && (Realpath(vol->getRawDmDevPath(), &gc_path) || in addFromVolumeManager() 113 paths->push_back(std::string("/sys/fs/") + fs_type + "/" + Basename(gc_path)); in addFromVolumeManager() 124 if (entry.fs_type == "emmc" || entry.fs_type == "mtd" || entry.fs_type == "swap") { in addFromFstab() 156 if (entry.fs_type == "f2fs" && in addFromFstab() 158 paths->push_back("/sys/fs/" + entry.fs_type + "/" + Basename(path)); in addFromFstab()
|
D | MetadataCrypt.cpp | 249 const std::string& fs_type, bool is_zoned, in fscrypt_mount_metadata_encrypted() argument 253 << fs_type << " block device: " << blk_device << " with zoned " << is_zoned; in fscrypt_mount_metadata_encrypted() 338 if (fs_type == "ext4") { in fscrypt_mount_metadata_encrypted() 340 } else if (fs_type == "f2fs") { in fscrypt_mount_metadata_encrypted() 343 LOG(ERROR) << "Unknown filesystem type: " << fs_type; in fscrypt_mount_metadata_encrypted()
|
D | MetadataCrypt.h | 31 bool should_format, const std::string& fs_type, bool is_zoned,
|
/system/extras/partition_tools/ |
D | dynamic_partitions_device_info.proto | 40 string fs_type = 7 [json_name = "fs_type"]; field
|