Searched refs:key_loc (Results 1 – 4 of 4) sorted by relevance
/system/core/fs_mgr/ |
D | fs_mgr_fstab.c | 28 char *key_loc; member 131 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags() 144 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags() 149 flag_vals->key_loc = strdup(strchr(p, '=') + 1); in parse_flags() 333 fstab->recs[cnt].key_loc = flag_vals.key_loc; in fs_mgr_read_fstab() 373 free(fstab->recs[i].key_loc); in fs_mgr_free_fstab()
|
D | fs_mgr.c | 590 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() 862 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 870 if (key_loc) { in fs_mgr_get_crypt_info() 871 *key_loc = '\0'; in fs_mgr_get_crypt_info() 889 if (key_loc) { in fs_mgr_get_crypt_info() 890 strlcpy(key_loc, fstab->recs[i].key_loc, size); in fs_mgr_get_crypt_info()
|
/system/core/fs_mgr/include/ |
D | fs_mgr.h | 61 char *key_loc; member 92 int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc,
|
/system/vold/ |
D | cryptfs.c | 539 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 …]
|