Home
last modified time | relevance | path

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

/system/core/fs_mgr/
Dfs_mgr.c590 strcmp(fstab->recs[top_idx].key_loc, KEY_IN_FOOTER)) { in fs_mgr_mount_all()
591 int fd = open(fstab->recs[top_idx].key_loc, O_WRONLY, 0644); in fs_mgr_mount_all()
593 INFO("%s(): also wipe %s\n", __func__, fstab->recs[top_idx].key_loc); in fs_mgr_mount_all()
598 fstab->recs[top_idx].key_loc, strerror(errno)); in fs_mgr_mount_all()
850 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
858 if (key_loc) { in fs_mgr_get_crypt_info()
859 *key_loc = '\0'; in fs_mgr_get_crypt_info()
876 if (key_loc) { in fs_mgr_get_crypt_info()
877 strlcpy(key_loc, fstab->recs[i].key_loc, size); in fs_mgr_get_crypt_info()
Dfs_mgr_fstab.c28 char *key_loc; member
128 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags()
141 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags()
325 fstab->recs[cnt].key_loc = flag_vals.key_loc; in fs_mgr_read_fstab()
360 free(fstab->recs[i].key_loc); in fs_mgr_free_fstab()
/system/core/fs_mgr/include/
Dfs_mgr.h61 char *key_loc; member
92 int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc,
/system/vold/
Dcryptfs.c553 char key_loc[PROPERTY_VALUE_MAX]; in get_crypt_ftr_info() local
558 fs_mgr_get_crypt_info(fstab, key_loc, real_blkdev, sizeof(key_loc)); in get_crypt_ftr_info()
560 if (!strcmp(key_loc, KEY_IN_FOOTER)) { in get_crypt_ftr_info()
581 strlcpy(cached_metadata_fname, key_loc, sizeof(cached_metadata_fname)); in get_crypt_ftr_info()
1770 char key_loc[PROPERTY_VALUE_MAX]; local
1783 fs_mgr_get_crypt_info(fstab, key_loc, 0, sizeof(key_loc));
1792 if ((key_loc[0] == '/') && (access("key_loc", F_OK) == -1)) {
2906 char key_loc[PROPERTY_VALUE_MAX]; local
2943 fs_mgr_get_crypt_info(fstab, key_loc, 0, sizeof(key_loc));
2961 if ((how == CRYPTO_ENABLE_INPLACE) && (!strcmp(key_loc, KEY_IN_FOOTER))) {
[all …]