Lines Matching refs:vol_h
780 static void get_disk_properties(HANDLE vol_h, GuestDiskAddress *disk, in get_disk_properties() argument
792 if (!DeviceIoControl(vol_h, IOCTL_STORAGE_QUERY_PROPERTY, &query, in get_disk_properties()
804 if (!DeviceIoControl(vol_h, IOCTL_STORAGE_QUERY_PROPERTY, &query, in get_disk_properties()
906 HANDLE vol_h; in build_guest_disk_info() local
917 vol_h = CreateFile(name, 0, FILE_SHARE_READ, NULL, OPEN_EXISTING, in build_guest_disk_info()
919 if (vol_h == INVALID_HANDLE_VALUE) { in build_guest_disk_info()
928 if (!DeviceIoControl(vol_h, IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS, NULL, in build_guest_disk_info()
938 vol_h, IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS, NULL, in build_guest_disk_info()
993 if (vol_h != INVALID_HANDLE_VALUE) { in build_guest_disk_info()
994 CloseHandle(vol_h); in build_guest_disk_info()
1170 HANDLE vol_h; in qmp_guest_get_fsinfo() local
1174 vol_h = FindFirstVolume(guid, sizeof(guid)); in qmp_guest_get_fsinfo()
1175 if (vol_h == INVALID_HANDLE_VALUE) { in qmp_guest_get_fsinfo()
1190 } while (FindNextVolume(vol_h, guid, sizeof(guid))); in qmp_guest_get_fsinfo()
1196 FindVolumeClose(vol_h); in qmp_guest_get_fsinfo()