Searched defs:iCmd (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuestIDC-unix.c.h35 DECLEXPORT(int) VBOXCALL VBoxGuestIDCCall(void *pvSession, unsigned iCmd, void *pvData, size_t cbData, size_t *pcbDataReturned);
132 * @param iCmd Requested function.
137 DECLEXPORT(int) VBOXCALL VBoxGuestIDCCall(void *pvSession, unsigned iCmd, void *pvData, size_t cbData, size_t *pcbDataReturned) argument
140 LogFlow(("VBoxGuestIDCCall: %pvSession=%p Cmd=%u pvData=%p cbData=%d\n", pvSession, iCmd, pvData, cbData));
146 return VbgdCommonIoCtl(iCmd, &g_DevExt, pSession, pvData, cbData, pcbDataReturned);
H A DVBoxGuest-darwin.cpp98 static int VbgdDarwinIOCtlSlow(PVBOXGUESTSESSION pSession, u_long iCmd, caddr_t pData, struct proc *pProcess);
99 static int VbgdDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess);
439 * @param iCmd The IOCtl command.
444 static int VbgdDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess) argument
461 Log(("VBoxDrvDarwinIOCtl: WHAT?!? pSession == NULL! This must be a mistake... pid=%d iCmd=%#lx\n",
462 (int)Process, iCmd));
470 return VbgdDarwinIOCtlSlow(pSession, iCmd, pData, pProcess);
480 * @param iCmd The IOCtl command.
484 static int VbgdDarwinIOCtlSlow(PVBOXGUESTSESSION pSession, u_long iCmd, caddr_t pData, struct proc *pProcess) argument
486 LogFlow(("VbgdDarwinIOCtlSlow: pSession=%p iCmd
[all...]
H A DVBoxGuest-haiku-stubs.c361 int VBoxGuestIDCCall(void *pvSession, unsigned iCmd, void *pvData, size_t cbData, size_t *pcbDataReturned) argument
363 return g_VBoxGuest->_VBoxGuestIDCCall(pvSession, iCmd, pvData, cbData, pcbDataReturned);
/vbox/src/VBox/HostDrivers/VBoxNetAdp/freebsd/
H A DVBoxNetAdp-freebsd.c166 VBoxNetAdpFreeBSDCtrlioctl(struct cdev *dev, u_long iCmd, caddr_t data, int flags, struct thread *td) argument
173 switch (iCmd)
176 if ( !(iCmd & IOC_INOUT) /* paranoia*/
177 || IOCPARM_LEN(iCmd) < sizeof(*pReq))
181 pReq->szName[0] && RTStrEnd(pReq->szName, RT_MIN(IOCPARM_LEN(iCmd), sizeof(pReq->szName))) ?
191 if (!RTStrEnd(pReq->szName, RT_MIN(sizeof(pReq->szName), IOCPARM_LEN(iCmd))))
/vbox/src/VBox/HostDrivers/VBoxNetAdp/darwin/
H A DVBoxNetAdp-darwin.cpp89 static int VBoxNetAdpDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess);
385 * @param iCmd The IOCtl command.
390 static int VBoxNetAdpDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess) argument
392 uint32_t cbReq = IOCPARM_LEN(iCmd);
396 Log(("VBoxNetAdpDarwinIOCtl: param len %#x; iCmd=%#lx\n", cbReq, iCmd));
397 switch (IOCBASECMD(iCmd))
401 if ( (IOC_DIRMASK & iCmd) != IOC_INOUT
437 printf("VBoxNetAdpDarwinIOCtl: unknown command %lx.\n", IOCBASECMD(iCmd));
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManage.cpp360 int iCmd = 1; local
365 for (int i = 1; i < argc || argc <= iCmd; i++)
367 if ( argc <= iCmd
382 iCmd++;
411 iCmd++;
418 iCmd++;
427 iCmd += 2;
435 iCmd += 2;
441 iCmdArg = iCmd + 1;
473 if (argc >= iCmdArg && ( !strcmp(argv[iCmd], "convertfromra
[all...]
/vbox/src/VBox/Devices/USB/linux/
H A DUSBProxyDevice-linux.cpp162 static int usbProxyLinuxDoIoCtl(PUSBPROXYDEV pProxyDev, unsigned long iCmd, void *pvArg, bool fHandleNoDev, uint32_t cTries);
180 * @param iCmd The ioctl command / function.
186 static int usbProxyLinuxDoIoCtl(PUSBPROXYDEV pProxyDev, unsigned long iCmd, void *pvArg, bool fHandleNoDev, uint32_t cTries) argument
194 rc = ioctl(RTFileToNative(pDevLnx->hFile), iCmd, pvArg);
/vbox/src/VBox/Devices/USB/testcase/
H A DtstPalmOne.c103 int doioctl(int iCmd, void *pvData, const char *pszWho) argument
109 rc = ioctl(g_fd, iCmd, pvData);
113 printf("doioctl: %s: iCmd=%#x errno=%d %s\n", pszWho, iCmd, errno, strerror(errno));
115 printf("doioctl: %s: iCmd=%#x ok\n", pszWho, iCmd);
H A DtstTrekStorGo.c103 int doioctl(int iCmd, void *pvData, const char *pszWho) argument
109 rc = ioctl(g_fd, iCmd, pvData);
113 printf("doioctl: %s: iCmd=%#x errno=%d %s\n", pszWho, iCmd, errno, strerror(errno));
115 printf("doioctl: %s: iCmd=%#x ok\n", pszWho, iCmd);
/vbox/src/VBox/Devices/USB/freebsd/
H A DUSBProxyDevice-freebsd.cpp126 * @param iCmd The ioctl command / function.
131 static int usbProxyFreeBSDDoIoCtl(PUSBPROXYDEV pProxyDev, unsigned long iCmd, argument
137 LogFlow(("usbProxyFreeBSDDoIoCtl: iCmd=%#x\n", iCmd));
141 rc = ioctl(RTFileToNative(pDevFBSD->hFile), iCmd, pvArg);
/vbox/src/VBox/Devices/Bus/
H A DDevPciIch9.cpp856 int iCmd = ich9pciGetWord(pDev, VBOX_PCI_COMMAND); local
872 if (iCmd & PCI_COMMAND_IOACCESS)
887 if (iCmd & PCI_COMMAND_MEMACCESS)
2383 uint16_t iCmd = ich9pciGetWord(pPciDev, VBOX_PCI_COMMAND);
2384 if ((iCmd & (VBOX_PCI_COMMAND_IO | VBOX_PCI_COMMAND_MEMORY)) != 0)
2424 iCmd, iStatus);
2427 iCmd & VBOX_PCI_COMMAND_MASTER ? "Yes" : "No");
H A DDevPCI.cpp1963 uint16_t iCmd = PCIDevGetWord(pPciDev, VBOX_PCI_COMMAND); local
1964 if ((iCmd & (VBOX_PCI_COMMAND_IO | VBOX_PCI_COMMAND_MEMORY)) != 0)
2004 sizeof(uint16_t), &iCmd, sizeof(uint16_t), &iStatus);
2007 iCmd & VBOX_PCI_COMMAND_MASTER ? "Yes" : "No");
/vbox/src/VBox/Main/src-helper-apps/
H A DVBoxExtPackHelperApp.cpp1228 * @param iCmd The command that is being executed. (For
1233 int iCmd, const char *pszDisplayInfoHack)
1237 NOREF(iCmd);
1364 NOREF(iCmd);
1445 papszArgs[cSuArgs - 2] = iCmd == CMD_INSTALL
1447 : iCmd == CMD_UNINSTALL
1461 papszArgs[cSuArgs - 2] = iCmd == CMD_INSTALL
1463 : iCmd == CMD_UNINSTALL
1502 papszArgs[cSuArgs - 7] = iCmd == CMD_INSTALL
1504 : iCmd
1232 RelaunchElevatedNative(const char *pszExecPath, const char **papszArgs, int cSuArgs, int cMyArgs, int iCmd, const char *pszDisplayInfoHack) argument
1564 RelaunchElevated(int argc, char **argv, int iCmd, const char *pszDisplayInfoHack) argument
[all...]
/vbox/src/VBox/HostDrivers/Support/darwin/
H A DSUPDrv-darwin.cpp107 static int VBoxDrvDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess);
108 static int VBoxDrvDarwinIOCtlSMAP(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess);
109 static int VBoxDrvDarwinIOCtlSlow(PSUPDRVSESSION pSession, u_long iCmd, caddr_t pData, struct proc *pProcess);
558 * @param iCmd The IOCtl command.
563 static int VBoxDrvDarwinIOCtl(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess) argument
585 OSDBGPRINT(("VBoxDrvDarwinIOCtl: WHAT?!? pSession == NULL! This must be a mistake... pid=%d iCmd=%#lx\n",
586 (int)Process, iCmd));
592 * the session and iCmd, and only returns a VBox status code.
595 if ( ( iCmd == SUP_IOCTL_FAST_DO_RAW_RUN
596 || iCmd
618 VBoxDrvDarwinIOCtlSMAP(dev_t Dev, u_long iCmd, caddr_t pData, int fFlags, struct proc *pProcess) argument
642 VBoxDrvDarwinIOCtlSlow(PSUPDRVSESSION pSession, u_long iCmd, caddr_t pData, struct proc *pProcess) argument
[all...]
/vbox/src/VBox/Storage/testcase/
H A Dvbox-img.cpp1721 int iCmd = 1; local
1725 for (int i = 1; i < argc || argc <= iCmd; i++)
1727 if ( argc <= iCmd
1755 iCmd++;
1763 iCmdArg = iCmd + 1;
1808 if (!strcmp(s_commandHandlers[commandIndex].command, argv[iCmd]))
1819 errorSyntax("Invalid command '%s'", argv[iCmd]);
/vbox/src/VBox/Additions/solaris/Mouse/
H A Dvboxms.c1022 * @param iCmd The IOCtl command number.
1031 typedef int FNVBMSSOLIOCTL(PVBMSSTATE pState, int iCmd, void *pvData,
1038 int iCmd, size_t cbCmd,
1040 static int vbmsSolVUIDIOCtl(PVBMSSTATE pState, int iCmd, void *pvData,
1047 int iCmd; member in struct:__anon2116
1082 int iCmd = pIOCBlk->ioc_cmd, iCmdType = iCmd & (0xff << 8); local
1086 LogRelFlowFunc((DEVICE_NAME "::pIOCBlk=%p, iCmdType=%c, iCmd=0x%x\n",
1087 pIOCBlk, (char) (iCmdType >> 8), (unsigned)iCmd));
1096 if (g_aVUIDIOCtlDescriptions[i].iCmd
1157 vbmsSolHandleIOCtl(PVBMSSTATE pState, mblk_t *pMBlk, PFNVBMSSOLIOCTL pfnHandler, int iCmd, size_t cbCmd, enum IOCTLDIRECTION enmDirection) argument
1184 vbmsSolHandleIOCtlData(PVBMSSTATE pState, mblk_t *pMBlk, PFNVBMSSOLIOCTL pfnHandler, int iCmd, size_t cbCmd, enum IOCTLDIRECTION enmDirection) argument
1232 vbmsSolHandleTransparentIOCtl(PVBMSSTATE pState, mblk_t *pMBlk, PFNVBMSSOLIOCTL pfnHandler, int iCmd, size_t cbCmd, enum IOCTLDIRECTION enmDirection) argument
1282 vbmsSolHandleIStrIOCtl(PVBMSSTATE pState, mblk_t *pMBlk, PFNVBMSSOLIOCTL pfnHandler, int iCmd) argument
1324 vbmsSolVUIDIOCtl(PVBMSSTATE pState, int iCmd, void *pvData, size_t cbBuffer, size_t *pcbData, int *prc) argument
[all...]

Completed in 240 milliseconds