Lines Matching refs:aThat
109 * @note Locks @a aThat object for reading.
111 HRESULT ParallelPort::init(Machine *aParent, ParallelPort *aThat)
113 LogFlowThisFunc(("aParent=%p, aThat=%p\n", aParent, aThat));
115 ComAssertRet(aParent && aThat, E_INVALIDARG);
124 unconst(m->pPeer) = aThat;
126 AutoCaller thatCaller (aThat);
129 AutoReadLock thatLock(aThat COMMA_LOCKVAL_SRC_POS);
130 m->bd.share(aThat->m->bd);
143 * @note Locks @a aThat object for reading.
145 HRESULT ParallelPort::initCopy(Machine *aParent, ParallelPort *aThat)
147 LogFlowThisFunc(("aParent=%p, aThat=%p\n", aParent, aThat));
149 ComAssertRet(aParent && aThat, E_INVALIDARG);
160 AutoCaller thatCaller(aThat);
163 AutoReadLock thatLock(aThat COMMA_LOCKVAL_SRC_POS);
164 m->bd.attachCopy(aThat->m->bd);
476 * represented by @a aThat (locked for reading).
478 void ParallelPort::i_copyFrom(ParallelPort *aThat)
480 AssertReturnVoid (aThat != NULL);
487 AutoCaller thatCaller (aThat);
490 /* peer is not modified, lock it for reading (aThat is "master" so locked
492 AutoReadLock rl(aThat COMMA_LOCKVAL_SRC_POS);
496 m->bd.assignCopy(aThat->m->bd);