Searched defs:fs_type (Results 1 - 6 of 6) sorted by relevance

/system/core/fastboot/
H A Dfs.cpp39 const char* fs_type; //must match what fastboot reports for partition type member in struct:fs_generator
51 const struct fs_generator* fs_get_generator(const std::string& fs_type) { argument
53 if (fs_type == generators[i].fs_type) {
/system/core/fs_mgr/include/
H A Dfs_mgr.h64 char *fs_type; member in struct:fstab_rec
106 const char *mount_point, const char *fs_type,
/system/extras/tests/fstest/
H A Drecovery_test.cpp187 FsRecoveryTest() : fs_type(FS_UNKNOWN), blk_fd_(-1) {}
190 fs_type = FS_UNKNOWN;
204 if (!strcmp(fstab->recs[i].fs_type, "ext4")) {
205 fs_type = FS_EXT4;
207 } else if (!strcmp(fstab->recs[i].fs_type, "f2fs")) {
208 fs_type = FS_F2FS;
215 return fs_type != FS_UNKNOWN;
278 Fs_Type fs_type; member in class:android::FsRecoveryTest
286 if (fs_type != FS_EXT4) {
304 if (fs_type !
[all...]
/system/core/fs_mgr/
H A Dfs_mgr_fstab.c334 ERROR("Error parsing fs_type\n");
337 fstab->recs[cnt].fs_type = strdup(p);
399 free(fstab->recs[i].fs_type);
417 const char *mount_point, const char *fs_type,
433 new_fstab_recs[n].fs_type = strdup(fs_type);
416 fs_mgr_add_entry(struct fstab *fstab, const char *mount_point, const char *fs_type, const char *blk_device) argument
H A Dfs_mgr.c96 static void check_fs(char *blk_device, char *fs_type, char *target) argument
110 if (!strcmp(fs_type, "ext2") || !strcmp(fs_type, "ext3") || !strcmp(fs_type, "ext4")) {
125 if (!strcmp(fs_type, "ext4")) {
129 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
131 __func__, blk_device, target, fs_type, ret, strerror(errno));
166 } else if (!strcmp(fs_type, "f2fs")) {
238 ret = mount(source, target, rec->fs_type, mountflags, rec->fs_options);
240 INFO("%s(source=%s,target=%s,type=%s)=%d\n", __func__, source, target, rec->fs_type, re
[all...]
/system/vold/
H A Dcryptfs.c2875 if (!strcmp(rec->fs_type, "ext4")) {
2877 } else if (!strcmp(rec->fs_type, "f2fs")) {
2901 int fs_type = get_fs_type(rec); local
2902 if (fs_type < 0) {
2903 SLOGE("cryptfs_enable: unsupported fs type %s\n", rec->fs_type);
2906 rc = cryptfs_enable_wipe(crypto_blkdev, crypt_ftr->fs_size, fs_type);

Completed in 135 milliseconds