Home
last modified time | relevance | path

Searched refs:lineLocker (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DCachedDataReader.cpp414 CachedDataReader::_LockCacheLine(CacheLineLocker* lineLocker) in _LockCacheLine() argument
419 = fCacheLineLockers.Lookup(lineLocker->Offset()); in _LockCacheLine()
421 fCacheLineLockers.Insert(lineLocker); in _LockCacheLine()
426 otherLineLocker->Queue().Add(lineLocker); in _LockCacheLine()
427 lineLocker->Wait(fLock); in _LockCacheLine()
432 CachedDataReader::_UnlockCacheLine(CacheLineLocker* lineLocker) in _UnlockCacheLine() argument
436 fCacheLineLockers.Remove(lineLocker); in _UnlockCacheLine()
438 if (CacheLineLocker* nextLineLocker = lineLocker->Queue().RemoveHead()) { in _UnlockCacheLine()
439 nextLineLocker->Queue().MoveFrom(&lineLocker->Queue()); in _UnlockCacheLine()
H A DCachedDataReader.h133 void _LockCacheLine(CacheLineLocker* lineLocker);
134 void _UnlockCacheLine(CacheLineLocker* lineLocker);