Home
last modified time | relevance | path

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

/system/core/fs_mgr/include/
Dfs_mgr.h50 struct fstab_rec *recs;
54 struct fstab_rec { struct
71 typedef void (*fs_mgr_verity_state_callback)(struct fstab_rec *fstab, argument
99 struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path);
100 int fs_mgr_is_voldmanaged(const struct fstab_rec *fstab);
101 int fs_mgr_is_nonremovable(const struct fstab_rec *fstab);
102 int fs_mgr_is_verified(const struct fstab_rec *fstab);
103 int fs_mgr_is_encryptable(const struct fstab_rec *fstab);
104 int fs_mgr_is_file_encrypted(const struct fstab_rec *fstab);
105 int fs_mgr_is_convertible_to_fbe(const struct fstab_rec *fstab);
[all …]
/system/core/fs_mgr/
Dfs_mgr_fstab.c265 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)); in fs_mgr_read_fstab()
392 struct fstab_rec *new_fstab_recs; in fs_mgr_add_entry()
395 new_fstab_recs = (struct fstab_rec *) in fs_mgr_add_entry()
396 realloc(fstab->recs, sizeof(struct fstab_rec) * (n + 1)); in fs_mgr_add_entry()
403 memset(&new_fstab_recs[n], 0, sizeof(struct fstab_rec)); in fs_mgr_add_entry()
420 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()
452 struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path) in fs_mgr_get_entry_for_mount_point()
457 int fs_mgr_is_voldmanaged(const struct fstab_rec *fstab) in fs_mgr_is_voldmanaged()
462 int fs_mgr_is_nonremovable(const struct fstab_rec *fstab) in fs_mgr_is_nonremovable()
467 int fs_mgr_is_verified(const struct fstab_rec *fstab) in fs_mgr_is_verified()
[all …]
Dfs_mgr_priv_verity.h25 int fs_mgr_setup_verity(struct fstab_rec *fstab);
Dfs_mgr_format.c104 int fs_mgr_do_format(struct fstab_rec *fstab) in fs_mgr_do_format()
Dfs_mgr.c224 static int __mount(const char *source, const char *target, const struct fstab_rec *rec) in __mount()
366 static int translate_ext_labels(struct fstab_rec *rec) in translate_ext_labels()
443 static bool needs_block_encryption(const struct fstab_rec* rec) in needs_block_encryption()
465 static int handle_encryptable(const struct fstab_rec* rec) in handle_encryptable()
Dfs_mgr_verity.cpp617 static int compare_last_signature(struct fstab_rec *fstab, int *match) in compare_last_signature()
690 static int get_verity_state_offset(struct fstab_rec *fstab, off64_t *offset) in get_verity_state_offset()
704 static int load_verity_state(struct fstab_rec *fstab, int *mode) in load_verity_state()
864 int fs_mgr_setup_verity(struct fstab_rec *fstab) in fs_mgr_setup_verity()
/system/core/adb/
Dremount_service.cpp61 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, dir); in find_fstab_mount()
/system/extras/boot_control_copy/
Dbootinfo.c61 struct fstab_rec *record; in boot_info_open_partition()
/system/vold/
DTrimTask.cpp69 struct fstab_rec *prev_rec = NULL; in addFromFstab()
Dcryptfs.c1688 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
2873 static int get_fs_type(struct fstab_rec *rec)
2900 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
3789 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
/system/update_engine/
Dboot_control_android.cc101 struct fstab_rec* record; in GetPartitionDevice()
/system/core/init/
Dproperty_service.cpp497 fstab_rec* rec = fs_mgr_get_entry_for_mount_point(tab.get(), RECOVERY_MOUNT_POINT); in load_recovery_id_prop()
Dbuiltins.cpp749 static void verity_update_property(fstab_rec *fstab, const char *mount_point, in verity_update_property()