Lines Matching defs:aThat
223 * @note Locks @a aThat object for writing if @a aReshare is @c true, or for
227 StorageController *aThat,
230 LogFlowThisFunc(("aParent=%p, aThat=%p, aReshare=%RTbool\n",
231 aParent, aThat, aReshare));
233 ComAssertRet(aParent && aThat, E_INVALIDARG);
242 AutoCaller thatCaller(aThat);
247 AutoWriteLock thatLock(aThat COMMA_LOCKVAL_SRC_POS);
249 unconst(aThat->m->pPeer) = this;
250 m->bd.attach (aThat->m->bd);
254 unconst(m->pPeer) = aThat;
256 AutoReadLock thatLock(aThat COMMA_LOCKVAL_SRC_POS);
257 m->bd.share (aThat->m->bd);
271 HRESULT StorageController::initCopy(Machine *aParent, StorageController *aThat)
273 LogFlowThisFunc(("aParent=%p, aThat=%p\n", aParent, aThat));
275 ComAssertRet(aParent && aThat, E_INVALIDARG);
284 AutoCaller thatCaller(aThat);
287 AutoReadLock thatlock(aThat COMMA_LOCKVAL_SRC_POS);
288 m->bd.attachCopy(aThat->m->bd);
813 * represented by @a aThat (locked for reading).