VirtualBox

Changeset 38878 in vbox for trunk/include/VBox/vscsi.h


Ignore:
Timestamp:
Sep 27, 2011 9:07:07 AM (13 years ago)
Author:
vboxsync
Message:

PDM,Devices,Drivers: Add async discard API and make us of it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vscsi.h

    r38680 r38878  
    9595typedef VSCSILUNTYPE *PVSCSILUNTYPE;
    9696
    97 /**
    98  * Range descriptor.
    99  */
    100 typedef struct VSCSIRANGE
    101 {
    102     /** Start offset. */
    103     uint64_t offStart;
    104     /** Size of the range. */
    105     size_t   cbRange;
    106 } VSCSIRANGE;
    107 /** Pointer to a range descriptor. */
    108 typedef VSCSIRANGE *PVSCSIRANGE;
    109 
    11097/** The LUN can handle the UNMAP command. */
    11198#define VSCSI_LUN_FEATURE_UNMAP          RT_BIT(0)
     
    326313 * @param   pcRanges       Where to store the number of ranges on success.
    327314 */
    328 VBOXDDU_DECL(int) VSCSIIoReqUnmapParamsGet(VSCSIIOREQ hVScsiIoReq, PVSCSIRANGE *ppaRanges,
     315VBOXDDU_DECL(int) VSCSIIoReqUnmapParamsGet(VSCSIIOREQ hVScsiIoReq, PCRTRANGE *ppaRanges,
    329316                                           unsigned *pcRanges);
    330317
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette