Searched refs:vol_list (Results 1 – 3 of 3) sorted by relevance
1604 struct volume_info *vol_list = 0; in cryptfs_enable() local1664 vol_list = malloc(sizeof(struct volume_info) * num_vols); in cryptfs_enable()1665 vold_getDirectVolumeList(vol_list); in cryptfs_enable()1668 if (should_encrypt(&vol_list[i])) { in cryptfs_enable()1669 fd = open(vol_list[i].blk_dev, O_RDONLY); in cryptfs_enable()1670 if ( (vol_list[i].size = get_blkdev_size(fd)) == 0) { in cryptfs_enable()1671 SLOGE("Cannot get size of block device %s\n", vol_list[i].blk_dev); in cryptfs_enable()1676 ret=vold_disableVol(vol_list[i].label); in cryptfs_enable()1680 SLOGE("Failed to unmount volume %s\n", vol_list[i].label); in cryptfs_enable()1797 if (should_encrypt(&vol_list[i])) { in cryptfs_enable()[all …]
140 int getDirectVolumeList(struct volume_info *vol_list);
1502 extern "C" int vold_getDirectVolumeList(struct volume_info *vol_list) { in vold_getDirectVolumeList() argument1504 return vm->getDirectVolumeList(vol_list); in vold_getDirectVolumeList()1507 int VolumeManager::getDirectVolumeList(struct volume_info *vol_list) { in getDirectVolumeList() argument1514 (*i)->getVolInfo(&vol_list[n]); in getDirectVolumeList()1515 snprintf(vol_list[n].blk_dev, sizeof(vol_list[n].blk_dev), in getDirectVolumeList()