/vbox/src/VBox/Frontends/VBoxBalloonCtrl/ |
H A D | VBoxWatchdogUtils.cpp | 65 * @param pMachine Pointer to the machine's internal structure. 69 int getMetric(PVBOXWATCHDOG_MACHINE pMachine, const Bstr& strName, LONG *pulData) argument 71 AssertPtrReturn(pMachine, VERR_INVALID_POINTER); 77 pMachine->machine.queryInterfaceTo(&metricObjects[0]); 95 Assert(!pMachine->collector.isNull()); 96 HRESULT hrc = pMachine->collector->QueryMetricsData( 139 * @param pMachine Machine to get payload for. 142 void* payloadFrom(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument 144 AssertPtrReturn(pMachine, NULL); 146 mapPayloadIter it = pMachine 153 payloadAlloc(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule, size_t cbSize, void **ppszPayload) argument 178 payloadFree(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule) argument 199 getMachineState(const PVBOXWATCHDOG_MACHINE pMachine) argument [all...] |
H A D | VBoxModBallooning.cpp | 212 * @param pMachine Machine to determine ballooning for. 214 static bool balloonIsRequired(PVBOXWATCHDOG_MACHINE pMachine) argument 216 AssertPtrReturn(pMachine, false); 220 payloadFrom(pMachine, VBOX_MOD_BALLOONING_NAME); 222 pData->ulBalloonSizeMax = pMachine->machine.isNull() 223 ? 0 : balloonGetMaxSize(pMachine->machine); 236 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local 237 AssertPtrBreakStmt(pMachine, vrc=VERR_INVALID_PARAMETER); 239 ComPtr<IMachine> m = pMachine->machine; 260 ComPtr<IPerformanceCollector> coll = pMachine 285 balloonMachineUpdate(const Bstr &strUuid, PVBOXWATCHDOG_MACHINE pMachine) argument 509 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local 523 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local 534 PVBOXWATCHDOG_MACHINE pMachine = getMachine(strUuid); local [all...] |
H A D | VBoxWatchdogInternal.h | 230 extern int getMetric(PVBOXWATCHDOG_MACHINE pMachine, const Bstr& strName, LONG *pulData); 231 void* payloadFrom(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule); 232 int payloadAlloc(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule, size_t cbSize, void **ppszPayload); 233 void payloadFree(PVBOXWATCHDOG_MACHINE pMachine, const char *pszModule); 236 MachineState_T getMachineState(const PVBOXWATCHDOG_MACHINE pMachine);
|
H A D | VBoxModAPIMonitor.cpp | 181 static int apimonMachineControl(const Bstr &strUuid, PVBOXWATCHDOG_MACHINE pMachine, argument 185 AssertPtrReturn(pMachine, VERR_INVALID_POINTER); 317 static bool apimonHandleVM(const PVBOXWATCHDOG_MACHINE pMachine) argument 323 mapGroupsIterConst itVMGroup = pMachine->groups.begin(); 324 while ( itVMGroup != pMachine->groups.end()
|
/vbox/src/VBox/Main/src-server/ |
H A D | BIOSSettingsImpl.cpp | 38 : pMachine(NULL) 41 Machine * const pMachine; member in struct:BIOSSettings::Data 86 unconst(m->pMachine) = aParent; 117 unconst(m->pMachine) = aParent; 147 unconst(m->pMachine) = aParent; 175 unconst(m->pMachine) = NULL; 199 AutoMutableStateDependency adep(m->pMachine); 208 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); // mParent is const, needs no locking 209 m->pMachine->i_setModified(Machine::IsModified_BIOS); 228 AutoMutableStateDependency adep(m->pMachine); [all...] |
H A D | ParallelPortImpl.cpp | 41 pMachine(NULL) 46 Machine * const pMachine; member in struct:ParallelPort::Data 87 unconst(m->pMachine) = aParent; 123 unconst(m->pMachine) = aParent; 157 unconst(m->pMachine) = aParent; 188 unconst(m->pMachine) = NULL; 210 AutoMutableStateDependency adep(m->pMachine); 230 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); 231 m->pMachine->i_setModified(Machine::IsModified_ParallelPorts); 234 m->pMachine [all...] |
H A D | SerialPortImpl.cpp | 68 unconst(m->pMachine) = aParent; 104 unconst(m->pMachine) = aParent; 138 unconst(m->pMachine) = aParent; 169 unconst(m->pMachine) = NULL; 193 AutoMutableStateDependency adep(m->pMachine); 207 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_POS); 208 m->pMachine->i_setModified(Machine::IsModified_SerialPorts); 211 m->pMachine->i_onSerialPortChange(this); 230 AutoMutableOrSavedStateDependency adep(m->pMachine); 278 AutoWriteLock mlock(m->pMachine COMMA_LOCKVAL_SRC_PO [all...] |
H A D | HostPower.cpp | 145 ComPtr<SessionMachine> pMachine = *it; local 146 rc = pMachine->GetExtraData(Bstr("VBoxInternal2/SavestateOnBatteryLow").raw(), 165 rc = pMachine->i_saveStateWithReason(Reason_HostBatteryLow, progress); 168 LogRel(("SaveState '%s' failed with %Rhrc\n", pMachine->i_getName().c_str(), rc)); 185 LogRel(("SaveState '%s' succeeded\n", pMachine->i_getName().c_str()));
|
H A D | ClientToken.cpp | 74 Machine::ClientToken::ClientToken(const ComObjPtr<Machine> &pMachine, argument 76 mMachine(pMachine) 80 Bstr tokenId = pMachine->mData->m_strConfigFileFull; 92 pMachine->mData->mUuid.raw()); 123 Utf8Str semName = pMachine->mData->m_strConfigFileFull; 192 mClientTokenId = pMachine->mData->m_strConfigFileFull;
|
H A D | SnapshotImpl.cpp | 67 ComObjPtr<SnapshotMachine> pMachine; member in struct:Snapshot::Data 134 m->pMachine = aMachine; 162 Assert(m->pMachine->isWriteLockOnCurrentThread()); 185 if (m->pMachine) 187 m->pMachine->uninit(); 188 m->pMachine.setNull(); 218 Assert( m->pMachine->mData->mMachineState == MachineState_DeletingSnapshot 219 || m->pMachine->mData->mMachineState == MachineState_DeletingSnapshotOnline 220 || m->pMachine->mData->mMachineState == MachineState_DeletingSnapshotPaused); 221 Assert(m->pMachine 988 ComObjPtr<Machine> pMachine = aSessionMachine->mPeer; local 3082 ComObjPtr<Machine> pMachine = this; local [all...] |
H A D | MediumAttachmentImpl.cpp | 71 : pMachine(aMachine), 76 Machine * const pMachine; member in struct:MediumAttachment::Data 143 unconst(m->pMachine) = aParent; 221 unconst(m->pMachine) = NULL; 366 hrc = m->pMachine->i_getBandwidthGroup(m->bd->strBandwidthGroup, pBwGroup, true /* fSetError */); 583 void MediumAttachment::i_updateParentMachine(Machine * const pMachine) argument 592 unconst(m->pMachine) = pMachine;
|
H A D | VirtualBoxImpl.cpp | 612 ComObjPtr<Machine> pMachine; local 613 if (SUCCEEDED(rc = pMachine.createObject())) 615 rc = pMachine->initFromSettings(this, 619 rc = i_registerMachine(pMachine); 931 const ComObjPtr<Machine> &pMachine = *it; local 932 AutoCaller autoMachineCaller(pMachine); 935 AutoReadLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 937 if (pMachine->i_isAccessible()) 939 const StringsList &thisGroups = pMachine->i_getGroups(); 1101 const ComObjPtr<Machine> &pMachine local 1152 const ComObjPtr<Machine> &pMachine = *it; local 1601 Machine *pMachine = static_cast<Machine*>(aM); local 1673 const ComObjPtr<Machine> &pMachine = *it; local 1725 ComPtr<IMachine> pMachine = saMachines[i]; local 3102 ComObjPtr<Machine> pMachine = *it; local 3150 ComObjPtr<Machine> &pMachine = *it; local 4071 Machine *pMachine = *it; local 4166 ComObjPtr<Machine> pMachine; local 4468 i_unregisterMachine(Machine *pMachine, const Guid &id) argument 4542 ComObjPtr<Machine> pMachine; local 4579 ComObjPtr<Machine> pMachine; local 4624 const ComObjPtr<Machine> &pMachine = *it; local [all...] |
H A D | USBDeviceFilterImpl.cpp | 464 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local 472 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 473 pMachine->i_setModified(Machine::IsModified_USB); 502 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local 510 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 511 pMachine->i_setModified(Machine::IsModified_USB); 618 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local 626 AutoWriteLock mlock(pMachine COMMA_LOCKVAL_SRC_POS); 627 pMachine->i_setModified(Machine::IsModified_USB); 656 ComObjPtr<Machine> pMachine local 800 ComObjPtr<Machine> pMachine = mParent->i_getMachine(); local [all...] |
H A D | BandwidthGroupImpl.cpp | 245 ComObjPtr<Machine> pMachine = m->pParent->i_getMachine(); local 247 pMachine->i_onBandwidthGroupChange(this);
|
H A D | USBControllerImpl.cpp | 53 Data(Machine *pMachine) argument 54 : pParent(pMachine)
|
H A D | USBProxyService.cpp | 465 ComObjPtr<SessionMachine> pMachine = *it; local 469 && pMachine == aIgnoreMachine) 475 if (runMachineFilters(pMachine, aDevice)) 477 LogFlowThisFunc(("{%s} attached to %p\n", aDevice->i_getName().c_str(), (void *)pMachine));
|
/vbox/src/VBox/Main/include/ |
H A D | BandwidthControlImpl.h | 76 Data(Machine *pMachine) argument 77 : pParent(pMachine)
|
H A D | ClientToken.h | 57 * @param pMachine Reference to Machine object 60 ClientToken(const ComObjPtr<Machine> &pMachine, SessionMachine *pSessionMachine);
|
H A D | SerialPortImpl.h | 91 pMachine(NULL) 95 Machine * const pMachine; member in struct:SerialPort::Data
|
H A D | MediumAttachmentImpl.h | 94 void i_updateParentMachine(Machine * const pMachine);
|
H A D | ApplianceImplPrivate.h | 156 ComPtr<IMachine> pMachine; member in struct:MyHardDiskAttachment 233 ComPtr<Machine> pMachine; // VirtualBox machine this description was exported from (export only) member in struct:VirtualSystemDescription::Data
|
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageSnapshot.cpp | 164 * @param pMachine Reference to the VM (locked) we're operating on. 166 static RTEXITCODE handleSnapshotList(HandlerArg *pArgs, ComPtr<IMachine> &pMachine) argument 191 HRESULT hrc = pMachine->FindSnapshot(Bstr().raw(), pSnapshot.asOutParam()); 200 CHECK_ERROR2_RET(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam()), RTEXITCODE_FAILURE); 213 * @param pMachine Machine to dump snapshots for. 215 void DumpSnapshot(ComPtr<IMachine> &pMachine) argument 223 CHECK_ERROR_BREAK(pMachine, FindSnapshot(Bstr("").raw(), pSnapshot.asOutParam())); 227 CHECK_ERROR_BREAK(pMachine, COMGETTER(CurrentSnapshot)(pCurrentSnapshot.asOutParam())); 231 CHECK_ERROR_BREAK(pMachine, COMGETTER(MediumAttachments)(ComSafeArrayAsOutParam(aAttachments))); 277 ComPtr<IMachine> pMachine; local [all...] |
/vbox/src/VBox/Main/src-client/ |
H A D | ConsoleImpl2.cpp | 131 static Utf8Str *GetExtraDataBoth(IVirtualBox *pVirtualBox, IMachine *pMachine, const char *pszName, Utf8Str *pStrValue); 263 static int getSmcDeviceKey(IVirtualBox *pVirtualBox, IMachine *pMachine, Utf8Str *pStrKey, bool *pfGetKeyFromRealSMC) argument 270 GetExtraDataBoth(pVirtualBox, pMachine, "VBoxInternal2/SmcDeviceKey", pStrKey); 483 * @param pMachine Pointer to the IMachine interface. 488 static Utf8Str *GetExtraDataBoth(IVirtualBox *pVirtualBox, IMachine *pMachine, const char *pszName, Utf8Str *pStrValue) argument 494 HRESULT hrc = pMachine->GetExtraData(bstrName.raw(), bstrValue.asOutParam()); 526 static int SetBiosDiskInfo(ComPtr<IMachine> pMachine, PCFGMNODE pCfg, PCFGMNODE pBiosCfg, argument 541 hrc = pMachine->GetMediumAttachmentsOfController(controllerName.raw(), 979 ComPtr<IMachine> pMachine = i_machine(); local 992 hrc = pMachine 3310 i_configCfgmOverlay(PCFGMNODE pRoot, IVirtualBox *pVirtualBox, IMachine *pMachine) argument 3486 i_configDumpAPISettingsTweaks(IVirtualBox *pVirtualBox, IMachine *pMachine) argument 3928 ComPtr<IMachine> pMachine = i_machine(); local 4594 ComPtr<IMachine> pMachine = i_machine(); local [all...] |
H A D | ConsoleImplTeleporter.cpp | 135 IMachine *pMachine, IInternalMachineControl *pControl, 138 , mpMachine(pMachine) 1021 * @param pMachine The IMachine for the virtual machine. 1032 HRESULT Console::i_teleporterTrg(PUVM pUVM, IMachine *pMachine, Utf8Str *pErrorMsg, bool fStartPaused, argument 1035 LogThisFunc(("pUVM=%p pMachine=%p fStartPaused=%RTbool pProgress=%p\n", pUVM, pMachine, fStartPaused, pProgress)); 1043 HRESULT hrc = pMachine->COMGETTER(TeleporterPort)(&uPort); 1049 hrc = pMachine->COMGETTER(TeleporterAddress)(bstrAddress.asOutParam()); 1056 hrc = pMachine->COMGETTER(TeleporterPassword)(bstrPassword.asOutParam()); 1080 hrc = pMachine 134 TeleporterStateTrg(Console *pConsole, PUVM pUVM, Progress *pProgress, IMachine *pMachine, IInternalMachineControl *pControl, PRTTIMERLR phTimerLR, bool fStartPaused) argument [all...] |
/vbox/src/VBox/Main/testcase/ |
H A D | tstOVF.cpp | 351 ComPtr<IMachine> pMachine; local 352 rc = pVirtualBox->FindMachine(bstrUUID.raw(), pMachine.asOutParam()); 357 rc = pMachine->Unregister(CleanupMode_DetachAllReturnHardDisksOnly, 362 rc = pMachine->DeleteConfig(ComSafeArrayAsInParam(sfaMedia), pProgress.asOutParam());
|