Searched defs:vol_list (Results 1 - 2 of 2) sorted by relevance

/system/vold/
H A DVolumeManager.cpp1404 extern "C" int vold_getDirectVolumeList(struct volume_info *vol_list) { argument
1406 return vm->getDirectVolumeList(vol_list);
1409 int VolumeManager::getDirectVolumeList(struct volume_info *vol_list) { argument
1416 (*i)->getVolInfo(&vol_list[n]);
1417 snprintf(vol_list[n].blk_dev, sizeof(vol_list[n].blk_dev),
H A Dcryptfs.c1604 struct volume_info *vol_list = 0; local
1664 vol_list = malloc(sizeof(struct volume_info) * num_vols);
1665 vold_getDirectVolumeList(vol_list);
1668 if (should_encrypt(&vol_list[i])) {
1669 fd = open(vol_list[i].blk_dev, O_RDONLY);
1670 if ( (vol_list[i].size = get_blkdev_size(fd)) == 0) {
1671 SLOGE("Cannot get size of block device %s\n", vol_list[i].blk_dev);
1676 ret=vold_disableVol(vol_list[i].label);
1680 SLOGE("Failed to unmount volume %s\n", vol_list[i].label);
1797 if (should_encrypt(&vol_list[
[all...]

Completed in 266 milliseconds