HomeSort by relevance Sort by last modified time
    Searched refs:key_loc (Results 1 - 5 of 5) sorted by null

  /bootable/recovery/
roots.cpp 223 // if there's a key_loc that looks like a path, it should be a
225 if (v->key_loc != NULL && v->key_loc[0] == '/') {
226 LOGI("wiping %s\n", v->key_loc);
227 int fd = open(v->key_loc, O_WRONLY | O_CREAT, 0644);
229 LOGE("format_volume: failed to open %s\n", v->key_loc);
239 } else if (v->key_loc != NULL && strcmp(v->key_loc, "footer") == 0) {
246 if (v->key_loc != NULL && strcmp(v->key_loc, "footer") == 0 && length < 0)
    [all...]
  /system/core/fs_mgr/include/
fs_mgr.h 68 char *key_loc; member in struct:fstab_rec
101 int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc,
  /system/core/fs_mgr/
fs_mgr_fstab.c 28 char *key_loc; member in struct:fs_mgr_flag_values
142 flag_vals->key_loc = strdup(strchr(p, '=') + 1);
155 flag_vals->key_loc = strdup(strchr(p, '=') + 1);
160 flag_vals->key_loc = strdup(strchr(p, '=') + 1);
359 fstab->recs[cnt].key_loc = flag_vals.key_loc;
400 free(fstab->recs[i].key_loc);
fs_mgr.c 592 strcmp(fstab->recs[top_idx].key_loc, KEY_IN_FOOTER)) {
593 int fd = open(fstab->recs[top_idx].key_loc, O_WRONLY, 0644);
595 INFO("%s(): also wipe %s\n", __func__, fstab->recs[top_idx].key_loc);
600 fstab->recs[top_idx].key_loc, strerror(errno));
860 * key_loc must be at least PROPERTY_VALUE_MAX bytes long
864 int fs_mgr_get_crypt_info(struct fstab *fstab, char *key_loc, char *real_blk_device, int size)
872 if (key_loc) {
873 *key_loc = '\0';
891 if (key_loc) {
892 strlcpy(key_loc, fstab->recs[i].key_loc, size)
    [all...]
  /system/vold/
cryptfs.c 539 char key_loc[PROPERTY_VALUE_MAX]; local
544 fs_mgr_get_crypt_info(fstab, key_loc, real_blkdev, sizeof(key_loc));
546 if (!strcmp(key_loc, KEY_IN_FOOTER)) {
567 strlcpy(cached_metadata_fname, key_loc, sizeof(cached_metadata_fname));
1773 char key_loc[PROPERTY_VALUE_MAX]; local
2948 char key_loc[PROPERTY_VALUE_MAX]; local
    [all...]

Completed in 251 milliseconds