Home
last modified time | relevance | path

Searched refs:key_loc (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/
Dfs_mgr_fstab.c28 char *key_loc; member
143 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags()
156 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags()
161 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags()
360 fstab->recs[cnt].key_loc = flag_vals.key_loc; in fs_mgr_read_fstab()
401 free(fstab->recs[i].key_loc); in fs_mgr_free_fstab()
Dfs_mgr.c592 strcmp(fstab->recs[top_idx].key_loc, KEY_IN_FOOTER)) { in fs_mgr_mount_all()
593 int fd = open(fstab->recs[top_idx].key_loc, O_WRONLY, 0644); in fs_mgr_mount_all()
595 INFO("%s(): also wipe %s\n", __func__, fstab->recs[top_idx].key_loc); in fs_mgr_mount_all()
600 fstab->recs[top_idx].key_loc, strerror(errno)); in fs_mgr_mount_all()
864 int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc, char *real_blk_device, int size) in fs_mgr_get_crypt_info() argument
872 if (key_loc) { in fs_mgr_get_crypt_info()
873 *key_loc = '\0'; in fs_mgr_get_crypt_info()
891 if (key_loc) { in fs_mgr_get_crypt_info()
892 strlcpy(key_loc, fstab->recs[i].key_loc, size); in fs_mgr_get_crypt_info()
/system/core/fs_mgr/include/
Dfs_mgr.h68 char *key_loc; member
101 int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc,
/system/vold/
Dcryptfs.c539 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local
544 fs_mgr_get_crypt_info(fstab, key_loc, real_blkdev, sizeof(key_loc)); in get_crypt_ftr_info()
546 if (!strcmp(key_loc, KEY_IN_FOOTER)) { in get_crypt_ftr_info()
567 strlcpy(cached_metadata_fname, key_loc, sizeof(cached_metadata_fname)); in get_crypt_ftr_info()
1773 char key_loc[PROPERTY_VALUE_MAX]; local
1787 fs_mgr_get_crypt_info(fstab, key_loc, 0, sizeof(key_loc));
1796 if ((key_loc[0] == '/') && (access("key_loc", F_OK) == -1)) {
2948 char key_loc[PROPERTY_VALUE_MAX]; local
2998 fs_mgr_get_crypt_info(fstab, key_loc, 0, sizeof(key_loc));
3016 if ((how == CRYPTO_ENABLE_INPLACE) && (!strcmp(key_loc, KEY_IN_FOOTER))) {
[all …]