Home
last modified time | relevance | path

Searched refs:fstab_rec (Results 1 – 17 of 17) sorted by relevance

/system/core/fs_mgr/include/
Dfs_mgr.h63 struct fstab_rec *recs;
67 struct fstab_rec { struct
90 typedef void (*fs_mgr_verity_state_callback)(struct fstab_rec *fstab, argument
112 int fs_mgr_do_mount_one(struct fstab_rec *rec);
122 struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path);
123 int fs_mgr_is_voldmanaged(const struct fstab_rec *fstab);
124 int fs_mgr_is_nonremovable(const struct fstab_rec *fstab);
125 int fs_mgr_is_verified(const struct fstab_rec *fstab);
126 int fs_mgr_is_verifyatboot(const struct fstab_rec *fstab);
127 int fs_mgr_is_avb(const struct fstab_rec *fstab);
[all …]
Dfs_mgr_avb.h87 bool SetUpAvb(fstab_rec* fstab_entry, bool wait_for_verity_dev);
/system/core/init/
Dinit_first_stage.cpp58 virtual bool SetUpDmVerity(fstab_rec* fstab_rec) = 0;
64 std::vector<fstab_rec*> mount_fstab_recs_;
75 bool SetUpDmVerity(fstab_rec* fstab_rec) override;
88 bool SetUpDmVerity(fstab_rec* fstab_rec) override;
115 fstab_rec* fstab_rec = in FirstStageMount() local
117 if (fstab_rec != nullptr) { in FirstStageMount()
118 mount_fstab_recs_.push_back(fstab_rec); in FirstStageMount()
226 for (auto fstab_rec : mount_fstab_recs_) { in MountPartitions() local
227 if (!SetUpDmVerity(fstab_rec)) { in MountPartitions()
228 PLOG(ERROR) << "Failed to setup verity for '" << fstab_rec->mount_point << "'"; in MountPartitions()
[all …]
Dproperty_service.cpp635 fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab.get(), RECOVERY_MOUNT_POINT); in load_recovery_id_prop()
Dbuiltins.cpp640 static void verity_update_property(fstab_rec *fstab, const char *mount_point, in verity_update_property()
/system/core/fs_mgr/
Dfs_mgr_fstab.cpp499 fstab->recs = static_cast<struct fstab_rec *>( in fs_mgr_read_fstab_file()
500 calloc(fstab->num_entries, sizeof(struct fstab_rec))); in fs_mgr_read_fstab_file()
608 a->recs = static_cast<struct fstab_rec *>(realloc( in in_place_merge()
609 a->recs, total_entries * (sizeof(struct fstab_rec)))); in in_place_merge()
746 struct fstab_rec *new_fstab_recs; in fs_mgr_add_entry()
749 new_fstab_recs = (struct fstab_rec *) in fs_mgr_add_entry()
750 realloc(fstab->recs, sizeof(struct fstab_rec) * (n + 1)); in fs_mgr_add_entry()
757 memset(&new_fstab_recs[n], 0, sizeof(struct fstab_rec)); in fs_mgr_add_entry()
774 struct fstab_rec *fs_mgr_get_entry_for_mount_point_after(struct fstab_rec *start_rec, struct fstab … in fs_mgr_get_entry_for_mount_point_after()
806 struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path) in fs_mgr_get_entry_for_mount_point()
[all …]
Dfs_mgr_priv.h118 int load_verity_state(struct fstab_rec* fstab, int* mode);
Dfs_mgr_format.cpp127 int fs_mgr_do_format(struct fstab_rec *fstab, bool crypt_footer) in fs_mgr_do_format()
Dfs_mgr.cpp276 struct fstab_rec *rec, int *fs_stat) in do_quota_with_shutdown_check()
362 static void do_reserved_size(char *blk_device, char *fs_type, struct fstab_rec *rec, int *fs_stat) in do_reserved_size()
465 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) in __mount()
625 static int translate_ext_labels(struct fstab_rec *rec) in translate_ext_labels()
703 static bool needs_block_encryption(const struct fstab_rec* rec) in needs_block_encryption()
725 static int handle_encryptable(const struct fstab_rec* rec) in handle_encryptable()
983 int fs_mgr_do_mount_one(struct fstab_rec *rec) in fs_mgr_do_mount_one()
Dfs_mgr_verity.cpp571 static int compare_last_signature(struct fstab_rec *fstab, int *match) in compare_last_signature()
642 static int get_verity_state_offset(struct fstab_rec *fstab, off64_t *offset) in get_verity_state_offset()
656 int load_verity_state(struct fstab_rec* fstab, int* mode) { in load_verity_state()
723 int fs_mgr_setup_verity(struct fstab_rec *fstab, bool wait_for_verity_dev) in fs_mgr_setup_verity()
Dfs_mgr_avb.cpp338 static bool hashtree_dm_verity_setup(struct fstab_rec* fstab_entry, in hashtree_dm_verity_setup()
546 bool FsManagerAvbHandle::SetUpAvb(struct fstab_rec* fstab_entry, bool wait_for_verity_dev) { in SetUpAvb()
/system/update_engine/
Dutils_android.cc45 struct fstab_rec* record; in DeviceForMountPoint()
/system/libvintf/
DVintfObjectRecovery.cpp32 fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab.get(), path); in mountAt()
/system/core/adb/
Dremount_service.cpp59 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab.get(), dir); in find_fstab_mount()
/system/extras/boot_control_copy/
Dbootinfo.c55 struct fstab_rec *record; in boot_info_open_partition()
/system/vold/
DTrimTask.cpp70 struct fstab_rec *prev_rec = NULL; in addFromFstab()
Dcryptfs.cpp1428 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT); in cryptfs_restart_internal()
2616 static int get_fs_type(struct fstab_rec *rec) in get_fs_type()
2643 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT); in cryptfs_enable_all_volumes()
3506 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT); in cryptfs_isConvertibleToFBE()
3579 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT); in cryptfs_get_file_encryption_modes()