Searched refs:fstab_rec (Results 1 - 18 of 18) sorted by relevance

/system/core/fs_mgr/include_fstab/fstab/
H A Dfstab.h40 struct fstab_rec* recs;
44 struct fstab_rec { struct
74 struct fstab_rec* fs_mgr_get_entry_for_mount_point(struct fstab* fstab, const char* path);
75 int fs_mgr_is_voldmanaged(const struct fstab_rec* fstab);
76 int fs_mgr_is_nonremovable(const struct fstab_rec* fstab);
77 int fs_mgr_is_verified(const struct fstab_rec* fstab);
78 int fs_mgr_is_verifyatboot(const struct fstab_rec* fstab);
79 int fs_mgr_is_avb(const struct fstab_rec* fstab);
80 int fs_mgr_is_encryptable(const struct fstab_rec* fstab);
81 int fs_mgr_is_file_encrypted(const struct fstab_rec* fsta
[all...]
/system/core/init/
H A Dinit_first_stage.cpp67 virtual bool SetUpDmVerity(fstab_rec* fstab_rec) = 0;
72 std::vector<fstab_rec*> mount_fstab_recs_;
85 bool SetUpDmVerity(fstab_rec* fstab_rec) override;
98 bool SetUpDmVerity(fstab_rec* fstab_rec) override;
124 // Stores device_tree_fstab_->recs[] into mount_fstab_recs_ (vector<fstab_rec*>)
267 for (auto fstab_rec : mount_fstab_recs_) {
268 if (!SetUpDmVerity(fstab_rec)) {
321 SetUpDmVerity(fstab_rec* fstab_rec) argument
421 SetUpDmVerity(fstab_rec* fstab_rec) argument
[all...]
H A Dproperty_service.cpp712 fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab.get(), RECOVERY_MOUNT_POINT);
H A Dbuiltins.cpp671 static void verity_update_property(fstab_rec *fstab, const char *mount_point,
/system/core/fs_mgr/include/
H A Dfs_mgr.h53 typedef void (*fs_mgr_verity_state_callback)(struct fstab_rec *fstab,
73 int fs_mgr_do_mount_one(struct fstab_rec *rec);
76 struct fstab_rec const* fs_mgr_get_crypt_entry(struct fstab const* fstab);
82 int fs_mgr_do_format(struct fstab_rec *fstab, bool reserve_footer);
88 int fs_mgr_setup_verity(struct fstab_rec *fstab, bool wait_for_verity_dev);
H A Dfs_mgr_avb.h98 SetUpAvbHashtreeResult SetUpAvbHashtree(fstab_rec* fstab_entry, bool wait_for_verity_dev);
/system/update_engine/
H A Dutils_android.cc45 struct fstab_rec* record;
/system/core/fs_mgr/
H A Dfs_mgr_fstab.cpp517 fstab->recs = static_cast<struct fstab_rec *>(
518 calloc(fstab->num_entries, sizeof(struct fstab_rec)));
627 a->recs = static_cast<struct fstab_rec *>(realloc(
628 a->recs, total_entries * (sizeof(struct fstab_rec))));
766 struct fstab_rec *new_fstab_recs;
769 new_fstab_recs = (struct fstab_rec *)
770 realloc(fstab->recs, sizeof(struct fstab_rec) * (n + 1));
777 memset(&new_fstab_recs[n], 0, sizeof(struct fstab_rec));
791 * Returns the 1st matching fstab_rec that follows the start_rec.
794 struct fstab_rec *fs_mgr_get_entry_for_mount_point_afte
[all...]
H A Dfs_mgr_priv.h126 int load_verity_state(struct fstab_rec* fstab, int* mode);
H A Dfs_mgr_format.cpp96 int fs_mgr_do_format(struct fstab_rec *fstab, bool crypt_footer)
H A Dfs_mgr.cpp297 static void tune_quota(const char* blk_device, const struct fstab_rec* rec,
333 static void tune_reserved_size(const char* blk_device, const struct fstab_rec* rec,
373 static void tune_encrypt(const char* blk_device, const struct fstab_rec* rec,
407 static int prepare_fs_for_mount(const char* blk_device, const struct fstab_rec* rec) {
494 static int __mount(const char *source, const char *target, const struct fstab_rec *rec)
643 static int translate_ext_labels(struct fstab_rec *rec)
721 static bool needs_block_encryption(const struct fstab_rec* rec)
742 static bool should_use_metadata_encryption(const struct fstab_rec* rec) {
749 static int handle_encryptable(const struct fstab_rec* rec)
1003 /* wrapper to __mount() and expects a fully prepared fstab_rec,
[all...]
H A Dfs_mgr_avb.cpp347 static bool hashtree_dm_verity_setup(struct fstab_rec* fstab_entry,
395 // Updates fstab_rec->blk_device to verity device name.
573 SetUpAvbHashtreeResult FsManagerAvbHandle::SetUpAvbHashtree(struct fstab_rec* fstab_entry,
H A Dfs_mgr_verity.cpp574 static int compare_last_signature(struct fstab_rec *fstab, int *match)
645 static int get_verity_state_offset(struct fstab_rec *fstab, off64_t *offset)
659 int load_verity_state(struct fstab_rec* fstab, int* mode) {
754 int fs_mgr_setup_verity(struct fstab_rec *fstab, bool wait_for_verity_dev)
/system/libvintf/
H A DVintfObjectRecovery.cpp32 fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab.get(), path);
/system/core/adb/
H A Dremount_service.cpp59 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab.get(), dir);
/system/extras/boot_control_copy/
H A Dbootinfo.c55 struct fstab_rec *record;
/system/vold/
H A DTrimTask.cpp70 struct fstab_rec *prev_rec = NULL;
H A Dcryptfs.cpp1424 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
2009 static int get_fs_type(struct fstab_rec *rec)
2036 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
2892 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
2965 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);

Completed in 217 milliseconds