Lines Matching refs:pLock
120 InternalStreamLock* pLock = NULL; in LockFile() local
124 pLock = rLockList.GetObject( i ); in LockFile()
125 if( aStat.st_ino == pLock->m_aStat.st_ino ) in LockFile()
128 StreamMode nLockMode = pLock->m_pStream->GetStreamMode(); in LockFile()
142 if( pLock->m_nStartPos == 0 && pLock->m_nEndPos == 0 ) // whole file is already locked in LockFile()
147 if( ( nStart < pLock->m_nStartPos && nEnd > pLock->m_nStartPos ) || in LockFile()
148 ( nStart < pLock->m_nEndPos && nEnd > pLock->m_nEndPos ) ) in LockFile()
153 pLock = new InternalStreamLock( nStart, nEnd, pStream ); in LockFile()
162 InternalStreamLock* pLock = NULL; in UnlockFile() local
168 if( ( pLock = rLockList.GetObject( i ) )->m_pStream == pStream ) in UnlockFile()
170 delete pLock; in UnlockFile()
178 if( ( pLock = rLockList.GetObject( i ) )->m_pStream == pStream && in UnlockFile()
179 nStart == pLock->m_nStartPos && nEnd == pLock->m_nEndPos ) in UnlockFile()
181 delete pLock; in UnlockFile()