Lines Matching defs:pAtt
9564 const ComObjPtr<MediumAttachment> &pAtt = *it;
9566 AssertStmt(!pAtt.isNull(), continue);
9569 AutoCaller autoAttCaller(pAtt);
9575 AutoReadLock attLock(pAtt COMMA_LOCKVAL_SRC_POS);
9577 if (pAtt->i_getControllerName() == Bstr(aName).raw())
9578 atts.push_back(pAtt);
10662 MediumAttachment* pAtt = *it;
10663 if (pAtt->i_getType() == DeviceType_HardDisk)
10665 Medium* pMedium = pAtt->i_getMedium();
10681 rc = lockedMediaMap->Insert(pAtt, pMediumLockList);
10714 MediumAttachment* pAtt = *it;
10716 DeviceType_T devType = pAtt->i_getType();
10717 Medium* pMedium = pAtt->i_getMedium();
10739 mMediaData->mAttachments.push_back(pAtt);
10773 rc = lockedMediaMap->Get(pAtt, pMediumLockList);
10804 pAtt->i_getControllerName(),
10805 pAtt->i_getPort(),
10806 pAtt->i_getDevice(),
10811 pAtt->i_getNonRotational(),
10812 pAtt->i_getDiscard(),
10813 pAtt->i_getHotPluggable(),
10814 pAtt->i_getBandwidthGroup());
10817 rc = lockedMediaMap->ReplaceKey(pAtt, attachment);
10864 const ComObjPtr<MediumAttachment> &pAtt = *it;
10865 if (pAtt->i_isImplicit())
10915 MediumAttachment* pAtt = *it;
10916 if (pAtt->i_getType() == DeviceType_HardDisk)
10918 Medium* pMedium = pAtt->i_getMedium();
10936 rc = lockedMediaMap->Insert(pAtt, pMediumLockList);
10956 ComObjPtr<MediumAttachment> pAtt = *it;
10957 ComObjPtr<Medium> pMedium = pAtt->i_getMedium();
10962 if (pAtt->i_isImplicit())
10965 LogFlowThisFunc(("Detaching '%s', pending deletion\n", pAtt->i_getLogName()));
10969 implicitAtts.push_back(pAtt);
10977 LogFlowThisFunc(("Detaching '%s', no deletion\n", pAtt->i_getLogName()));
10983 LogFlowThisFunc(("Not detaching '%s'\n", pAtt->i_getLogName()));
11013 ComObjPtr<MediumAttachment> pAtt = *it;
11014 Assert(pAtt);
11015 LogFlowThisFunc(("Deleting '%s'\n", pAtt->i_getLogName()));
11016 ComObjPtr<Medium> pMedium = pAtt->i_getMedium();
11021 AssertMsg(SUCCEEDED(rc), ("rc=%Rhrc it=%s hd=%s\n", rc, pAtt->i_getLogName(),
14229 MediumAttachment* pAtt = *it;
14230 DeviceType_T devType = pAtt->i_getType();
14231 Medium *pMedium = pAtt->i_getMedium();
14260 HRESULT rc = mData->mSession.mLockedMedia.Insert(pAtt, pMediumLockList);