/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/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/30.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; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 9 type binderfs_logs_proc, fs_type; 11 type proc_security, fs_type, proc_type; 12 type proc_drop_caches, 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; 7 type binderfs, fs_type; 8 type binderfs_logs, fs_type; 9 type binderfs_logs_proc, fs_type; 11 type proc_security, fs_type, proc_type; 12 type proc_drop_caches, 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() 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/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 …]
|
D | utility.cpp | 49 switch (writer->fs_type()) { in DetermineMaximumFileSize() 66 LOG(ERROR) << "Unknown file system type: " << writer->fs_type(); in DetermineMaximumFileSize()
|
/system/core/fs_mgr/ |
D | fs_mgr.cpp | 148 static bool is_extfs(const std::string& fs_type) { in is_extfs() argument 149 return fs_type == "ext4" || fs_type == "ext3" || fs_type == "ext2"; in is_extfs() 152 static bool is_f2fs(const std::string& fs_type) { in is_f2fs() argument 153 return fs_type == "f2fs"; in is_f2fs() 172 static void check_fs(const std::string& blk_device, const std::string& fs_type, in check_fs() argument 187 if (is_extfs(fs_type)) { in check_fs() 203 if (fs_type == "ext4") { in check_fs() 207 ret = mount(blk_device.c_str(), target.c_str(), fs_type.c_str(), tmpmnt_flags, in check_fs() 209 PINFO << __FUNCTION__ << "(): mount(" << blk_device << "," << target << "," << fs_type in check_fs() 260 } else if (is_f2fs(fs_type)) { in check_fs() [all …]
|
D | fs_mgr_format.cpp | 157 LERROR << __FUNCTION__ << ": Format " << entry.blk_device << " as '" << entry.fs_type << "'"; in fs_mgr_do_format() 167 if (entry.fs_type == "f2fs") { in fs_mgr_do_format() 170 } else if (entry.fs_type == "ext4") { in fs_mgr_do_format() 174 LERROR << "File system type '" << entry.fs_type << "' is not supported"; in fs_mgr_do_format()
|
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()
|
/system/core/init/ |
D | mount_handler.cpp | 104 const std::string& fs_type) in MountHandlerEntry() argument 105 : blk_device(blk_device), mount_point(mount_point), fs_type(fs_type) {} in MountHandlerEntry() 112 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/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/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/30.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/27.0/private/ |
D | file.te | 7 type config_gz, fs_type;
|
/system/sepolicy/prebuilts/api/26.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;
|