Searched refs:vol_list (Results 1 - 3 of 3) sorted by relevance

/system/vold/
H A Dcryptfs.c1151 struct volume_info *vol_list = 0; local
1211 vol_list = malloc(sizeof(struct volume_info) * num_vols);
1212 vold_getDirectVolumeList(vol_list);
1215 if (should_encrypt(&vol_list[i])) {
1216 fd = open(vol_list[i].blk_dev, O_RDONLY);
1217 if ( (vol_list[i].size = get_blkdev_size(fd)) == 0) {
1218 SLOGE("Cannot get size of block device %s\n", vol_list[i].blk_dev);
1223 ret=vold_disableVol(vol_list[i].label);
1227 SLOGE("Failed to unmount volume %s\n", vol_list[i].label);
1329 if (should_encrypt(&vol_list[
[all...]
H A DVolumeManager.h140 int getDirectVolumeList(struct volume_info *vol_list);
H A DVolumeManager.cpp1330 extern "C" int vold_getDirectVolumeList(struct volume_info *vol_list) { argument
1332 return vm->getDirectVolumeList(vol_list);
1335 int VolumeManager::getDirectVolumeList(struct volume_info *vol_list) { argument
1342 (*i)->getVolInfo(&vol_list[n]);
1343 snprintf(vol_list[n].blk_dev, sizeof(vol_list[n].blk_dev),

Completed in 56 milliseconds