Searched refs:VBOXVDMACMD_HEADER_SIZE (Results 1 - 2 of 2) sorted by relevance

/vbox/include/VBox/
H A DVBoxVideo.h1396 #define VBOXVDMACMD_HEADER_SIZE() sizeof (VBOXVDMACMD) macro
1397 #define VBOXVDMACMD_SIZE_FROMBODYSIZE(_s) (VBOXVDMACMD_HEADER_SIZE() + (_s))
1399 #define VBOXVDMACMD_BODY(_pCmd, _t) ( (_t*)(((uint8_t*)(_pCmd)) + VBOXVDMACMD_HEADER_SIZE()) )
1400 #define VBOXVDMACMD_BODY_SIZE(_s) ( (_s) - VBOXVDMACMD_HEADER_SIZE() )
1401 #define VBOXVDMACMD_FROM_BODY(_pCmd) ( (VBOXVDMACMD*)(((uint8_t*)(_pCmd)) - VBOXVDMACMD_HEADER_SIZE()) )
/vbox/src/VBox/Devices/Graphics/
H A DDevVGA_VDMA.cpp2107 if (cbCmdDr < sizeof (*pCmdDr) + VBOXVDMACMD_HEADER_SIZE())
2113 if (cbDmaCmd < cbCmdDr - sizeof (*pCmdDr) - VBOXVDMACMD_HEADER_SIZE())
2134 Assert(cbDmaCmd >= VBOXVDMACMD_HEADER_SIZE());
2464 Assert(cbBuffer >= VBOXVDMACMD_HEADER_SIZE());
2468 if (cbBuffer < VBOXVDMACMD_HEADER_SIZE())

Completed in 445 milliseconds