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

/system/core/fastboot/
H A Dfs.c41 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 char *fs_type) argument
56 if (!strcmp(generators[i].fs_type, fs_type))
H A Dengine.c111 char fs_type[FB_RESPONSE_SZ + 1] = {0,}; local
117 status = fb_getvar(usb, fs_type, "partition-type:%s", partition);
121 return !!fs_get_generator(fs_type);
/system/core/fs_mgr/include/
H A Dfs_mgr.h41 char *fs_type; member in struct:fstab_rec
72 const char *mount_point, const char *fs_type,
/system/core/fs_mgr/
H A Dfs_mgr_fstab.c267 ERROR("Error parsing fs_type\n");
270 fstab->recs[cnt].fs_type = strdup(p);
325 free(fstab->recs[i].fs_type);
343 const char *mount_point, const char *fs_type,
359 new_fstab_recs[n].fs_type = strdup(fs_type);
342 fs_mgr_add_entry(struct fstab *fstab, const char *mount_point, const char *fs_type, const char *blk_device) argument
H A Dfs_mgr.c89 static void check_fs(char *blk_device, char *fs_type, char *target) argument
102 if (!strcmp(fs_type, "ext2") || !strcmp(fs_type, "ext3") || !strcmp(fs_type, "ext4")) {
116 ret = mount(blk_device, target, fs_type, tmpmnt_flags, tmpmnt_opts);
117 INFO("%s(): mount(%s,%s,%s)=%d\n", __func__, blk_device, target, fs_type, ret);
141 } else if (!strcmp(fs_type, "f2fs")) {
209 ret = mount(source, target, rec->fs_type, mountflags, rec->fs_options);
211 INFO("%s(source=%s,target=%s,type=%s)=%d\n", __func__, source, target, rec->fs_type, ret);
283 ERROR("%s(): skipping fstab dup mountpoint=%s rec[%d].fs_type
[all...]
/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;
273 Fs_Type fs_type; member in class:android::FsRecoveryTest
281 if (fs_type != FS_EXT4) {
299 if (fs_type !
[all...]
/system/vold/
H A Dcryptfs.c1544 char fs_type[32]; local
2825 if (!strcmp(rec->fs_type, "ext4")) {
2827 } else if (!strcmp(rec->fs_type, "f2fs")) {
2851 int fs_type = get_fs_type(rec); local
2852 if (fs_type < 0) {
2853 SLOGE("cryptfs_enable: unsupported fs type %s\n", rec->fs_type);
2856 rc = cryptfs_enable_wipe(crypto_blkdev, crypt_ftr->fs_size, fs_type);

Completed in 293 milliseconds