Lines Matching refs:vol_handle
291 HANDLE vol_handle; member
824 fd->vol_handle = INVALID_HANDLE_VALUE; in ntfs_device_win32_open_file()
864 fd->vol_handle = INVALID_HANDLE_VALUE; in ntfs_device_win32_open_drive()
947 fd->vol_handle = INVALID_HANDLE_VALUE; in ntfs_device_win32_open_lowlevel()
1147 HANDLE vol_handle = ntfs_device_win32_open_volume_for_partition( in ntfs_device_win32_open_partition() local
1158 tmp = ntfs_device_win32_getntfssize(vol_handle); in ntfs_device_win32_open_partition()
1163 if (vol_handle != INVALID_HANDLE_VALUE) { in ntfs_device_win32_open_partition()
1165 ntfs_device_win32_lock(vol_handle)) { in ntfs_device_win32_open_partition()
1166 CloseHandle(vol_handle); in ntfs_device_win32_open_partition()
1170 fd->vol_handle = vol_handle; in ntfs_device_win32_open_partition()
1182 fd->vol_handle = INVALID_HANDLE_VALUE; in ntfs_device_win32_open_partition()
1351 if (fd->vol_handle != INVALID_HANDLE_VALUE && pos < fd->geo_size) { in ntfs_device_win32_pio()
1353 handle = fd->vol_handle; in ntfs_device_win32_pio()
1476 if (fd->vol_handle != INVALID_HANDLE_VALUE && old_pos < fd->geo_size) { in ntfs_device_win32_read()
1540 if (fd->vol_handle != INVALID_HANDLE_VALUE) { in ntfs_device_win32_close()
1542 ntfs_device_win32_dismount(fd->vol_handle); in ntfs_device_win32_close()
1543 ntfs_device_win32_unlock(fd->vol_handle); in ntfs_device_win32_close()
1545 if (!CloseHandle(fd->vol_handle)) in ntfs_device_win32_close()
1584 if ((fd->vol_handle != INVALID_HANDLE_VALUE) && in ntfs_device_win32_sync()
1585 !FlushFileBuffers(fd->vol_handle)) { in ntfs_device_win32_sync()
1714 if (fd->vol_handle != INVALID_HANDLE_VALUE && old_pos < fd->geo_size) { in ntfs_device_win32_write()