Home
last modified time | relevance | path

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

/system/core/adb/
Dset_verity_enable_state_service.cpp95 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in set_verity_enabled_state_service() local
113 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", in set_verity_enabled_state_service()
116 fstab = fs_mgr_read_fstab(fstab_filename); in set_verity_enabled_state_service()
118 WriteFdFmt(fd, "Failed to open %s\nMaybe run adb root?\n", fstab_filename); in set_verity_enabled_state_service()
Dremount_service.cpp59 std::string fstab_filename = std::string("/fstab.") + propbuf; in find_fstab_mount() local
60 struct fstab* fstab = fs_mgr_read_fstab(fstab_filename.c_str()); in find_fstab_mount()
/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.cpp745 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in fs_mgr_load_verity_state() local
757 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in fs_mgr_load_verity_state()
759 fstab = fs_mgr_read_fstab(fstab_filename); in fs_mgr_load_verity_state()
762 ERROR("Failed to read %s\n", fstab_filename); in fs_mgr_load_verity_state()
795 char fstab_filename[PROPERTY_VALUE_MAX + sizeof(FSTAB_PREFIX)]; in fs_mgr_update_verity_state() local
822 snprintf(fstab_filename, sizeof(fstab_filename), FSTAB_PREFIX"%s", propbuf); in fs_mgr_update_verity_state()
824 fstab = fs_mgr_read_fstab(fstab_filename); in fs_mgr_update_verity_state()
827 ERROR("Failed to read %s\n", fstab_filename); in fs_mgr_update_verity_state()
Dfs_mgr_fstab.c264 fstab->fstab_filename = strdup(fstab_path); in fs_mgr_read_fstab()
381 free(fstab->fstab_filename); in fs_mgr_free_fstab()
/system/core/fs_mgr/include/
Dfs_mgr.h51 char *fstab_filename; member
/system/core/init/
Dproperty_service.cpp488 std::string fstab_filename = FSTAB_PREFIX + ro_hardware; in load_recovery_id_prop() local
490 std::unique_ptr<fstab, void(*)(fstab*)> tab(fs_mgr_read_fstab(fstab_filename.c_str()), in load_recovery_id_prop()
493 ERROR("unable to read fstab %s: %s\n", fstab_filename.c_str(), strerror(errno)); in load_recovery_id_prop()