PCommand
void HPTLIBAPI fRAID0SendCommand(_VBUS_ARG PCommand pCmd);
void HPTLIBAPI fRAID1SendCommand(_VBUS_ARG PCommand pCmd);
void HPTLIBAPI fJBODSendCommand(_VBUS_ARG PCommand pCmd);
void HPTLIBAPI fRAID5SendCommand(_VBUS_ARG PCommand pCmd);
int (* HPTLIBAPI pfnBuildSgl)(_VBUS_ARG PCommand pCmd, FPSCAT_GATH pSgTable, int logical);
void (* HPTLIBAPI pfnCompletion)(_VBUS_ARG PCommand pCmd);
PCommand pCmd1;
PCommand pCmd2;
void (* HPTLIBAPI pfnOrgDone)(_VBUS_ARG PCommand pCmd);
PCommand pNext;
void (* HPTLIBAPI WaitEntry)(_VBUS_ARG PCommand pCmd);
PCommand HPTLIBAPI AllocateCommand(_VBUS_ARG0);
void FASTCALL FreeCommand(_VBUS_ARG PCommand pCmd);
void HPTLIBAPI AddToWaitingList(PCommand *ppList, PCommand pCmd);
void HPTLIBAPI DoWaitingList(_VBUS_ARG PCommand *ppList);
static void HPTLIBAPI fOsCommandDone(_VBUS_ARG PCommand pCmd);
static void handleEdmaError(_VBUS_ARG PCommand pCmd);
static int HPTLIBAPI fOsBuildSgl(_VBUS_ARG PCommand pCmd, FPSCAT_GATH pSg,
PCommand pCmd = (PCommand) commandId;
fDeviceSendCommand(_VBUS_ARG PCommand pCmd)
handleEdmaError(_VBUS_ARG PCommand pCmd)
int HPTLIBAPI fOsBuildSgl(_VBUS_ARG PCommand pCmd, FPSCAT_GATH pSg, int logical)
PCommand pCmd = (PCommand)arg;
PCommand pCmd = AllocateCommand(_VBUS_P0);
fOsCommandDone(_VBUS_ARG PCommand pCmd)
R1ControlSgl(_VBUS_ARG PCommand pCmd, FPSCAT_GATH pSgTable, int logical)
static void HPTLIBAPI thread_io_done(_VBUS_ARG PCommand pCmd);
static int HPTLIBAPI R1ControlSgl(_VBUS_ARG PCommand pCmd,
thread_io_done(_VBUS_ARG PCommand pCmd)
PCommand pCmd;
PCommand pCommandBlocks;
PCommand cache_wait_list;
extern void (* HPTLIBAPI pfnSendCommand[])(_VBUS_ARG PCommand pCmd);
void HPTLIBAPI fDeviceSendCommand(_VBUS_ARG PCommand pCmd);
PCommand pFreeCommands;
PCommand LockWaitList;
void (* HPTLIBAPI pfnSendCommand)(_VBUS_ARG PCommand pCmd); /* call this to send a command to a VDevice */