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.h57 struct fstab_rec *recs;
61 struct fstab_rec { struct
79 typedef void (*fs_mgr_verity_state_callback)(struct fstab_rec *fstab, argument
108 struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path);
109 int fs_mgr_is_voldmanaged(const struct fstab_rec *fstab);
110 int fs_mgr_is_nonremovable(const struct fstab_rec *fstab);
111 int fs_mgr_is_verified(const struct fstab_rec *fstab);
112 int fs_mgr_is_encryptable(const struct fstab_rec *fstab);
113 int fs_mgr_is_file_encrypted(const struct fstab_rec *fstab);
114 const char* fs_mgr_get_file_encryption_mode(const struct fstab_rec *fstab);
[all …]
/system/core/fs_mgr/
Dfs_mgr_fstab.c292 fstab->recs = calloc(fstab->num_entries, sizeof(struct fstab_rec)); in fs_mgr_read_fstab()
420 struct fstab_rec *new_fstab_recs; in fs_mgr_add_entry()
423 new_fstab_recs = (struct fstab_rec *) in fs_mgr_add_entry()
424 realloc(fstab->recs, sizeof(struct fstab_rec) * (n + 1)); in fs_mgr_add_entry()
431 memset(&new_fstab_recs[n], 0, sizeof(struct fstab_rec)); in fs_mgr_add_entry()
448 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()
480 struct fstab_rec *fs_mgr_get_entry_for_mount_point(struct fstab *fstab, const char *path) in fs_mgr_get_entry_for_mount_point()
485 int fs_mgr_is_voldmanaged(const struct fstab_rec *fstab) in fs_mgr_is_voldmanaged()
490 int fs_mgr_is_nonremovable(const struct fstab_rec *fstab) in fs_mgr_is_nonremovable()
495 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.cpp654 static int compare_last_signature(struct fstab_rec *fstab, int *match) in compare_last_signature()
727 static int get_verity_state_offset(struct fstab_rec *fstab, off64_t *offset) in get_verity_state_offset()
741 static int load_verity_state(struct fstab_rec *fstab, int *mode) in load_verity_state()
944 int fs_mgr_setup_verity(struct fstab_rec *fstab) in fs_mgr_setup_verity()
/system/update_engine/
Dutils_android.cc50 struct fstab_rec* record; in DeviceForMountPoint()
/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);
3861 struct fstab_rec* rec = fs_mgr_get_entry_for_mount_point(fstab, DATA_MNT_POINT);
/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.cpp803 static void verity_update_property(fstab_rec *fstab, const char *mount_point, in verity_update_property()