Home
last modified time | relevance | path

Searched refs:fstab_filename (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dset_verity_enable_state_service.cpp159 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in set_verity_enabled_state_service() local
177 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", in set_verity_enabled_state_service()
180 fstab = fs_mgr_read_fstab(fstab_filename); in set_verity_enabled_state_service()
182 WriteFdFmt(fd, "Failed to open %s\nMaybe run adb root?\n", fstab_filename); in set_verity_enabled_state_service()
/system/extras/tests/fstest/
Drecovery_test.cpp193 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in setCacheInfoFromFstab() local
194 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in setCacheInfoFromFstab()
196 struct fstab *fstab = fs_mgr_read_fstab(fstab_filename); in setCacheInfoFromFstab()
198 testPrintE("failed to open %s\n", fstab_filename); in setCacheInfoFromFstab()
/system/core/fs_mgr/
Dfs_mgr_verity.c842 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in fs_mgr_load_verity_state() local
854 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in fs_mgr_load_verity_state()
856 fstab = fs_mgr_read_fstab(fstab_filename); in fs_mgr_load_verity_state()
859 ERROR("Failed to read %s\n", fstab_filename); in fs_mgr_load_verity_state()
892 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in fs_mgr_update_verity_state() local
922 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in fs_mgr_update_verity_state()
924 fstab = fs_mgr_read_fstab(fstab_filename); in fs_mgr_update_verity_state()
927 ERROR("Failed to read %s\n", fstab_filename); in fs_mgr_update_verity_state()
Dfs_mgr_fstab.c256 fstab->fstab_filename = strdup(fstab_path); in fs_mgr_read_fstab()
368 free(fstab->fstab_filename); in fs_mgr_free_fstab()
/system/core/init/
Dproperty_service.cpp524 char fstab_filename[PROP_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in load_recovery_id_prop() local
531 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX "%s", propbuf); in load_recovery_id_prop()
533 std::unique_ptr<fstab, void(*)(fstab*)> tab(fs_mgr_read_fstab(fstab_filename), in load_recovery_id_prop()
536 ERROR("unable to read fstab %s: %s\n", fstab_filename, strerror(errno)); in load_recovery_id_prop()
/system/core/fs_mgr/include/
Dfs_mgr.h51 char *fstab_filename; member