Lines Matching refs:lock_
54 size_t ByteSize(RosAlloc* rosalloc) const REQUIRES(rosalloc->lock_) { in ByteSize()
63 REQUIRES(rosalloc->lock_) { in SetByteSize()
72 void* End(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in End()
78 REQUIRES(rosalloc->lock_) { in IsLargerThanPageReleaseThreshold()
82 REQUIRES(rosalloc->lock_) { in IsAtEndOfSpace()
85 bool ShouldReleasePages(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in ShouldReleasePages()
102 void ReleasePages(RosAlloc* rosalloc) REQUIRES(rosalloc->lock_) { in ReleasePages()
722 AllocationTrackingSet<FreePageRun*, kAllocatorTagRosAlloc> free_page_runs_ GUARDED_BY(lock_);
755 GUARDED_BY(lock_);
758 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
781 REQUIRES(lock_);
783 size_t FreePages(Thread* self, void* ptr, bool already_zero) REQUIRES(lock_);
788 REQUIRES(!lock_);
793 REQUIRES(!lock_);
794 void* AllocFromCurrentRunUnlocked(Thread* self, size_t idx) REQUIRES(!lock_);
798 REQUIRES(!lock_);
801 Run* AllocRun(Thread* self, size_t idx) REQUIRES(!lock_);
805 Run* RefillRun(Thread* self, size_t idx) REQUIRES(!lock_);
808 size_t FreeInternal(Thread* self, void* ptr) REQUIRES(!lock_);
813 REQUIRES(!lock_);
816 void RevokeRun(Thread* self, size_t idx, Run* run) REQUIRES(!lock_);
819 void RevokeThreadUnsafeCurrentRuns() REQUIRES(!lock_);
822 size_t ReleasePageRange(uint8_t* start, uint8_t* end) REQUIRES(lock_);
825 std::string DumpPageMap() REQUIRES(lock_);
852 REQUIRES(!lock_);
854 REQUIRES(!bulk_free_lock_, !lock_);
856 REQUIRES(!bulk_free_lock_, !lock_);
871 size_t UsableSize(const void* ptr) REQUIRES(!lock_);
882 bool Trim() REQUIRES(!lock_);
886 REQUIRES(!lock_);
889 size_t ReleasePages() REQUIRES(!lock_);
891 size_t Footprint() REQUIRES(!lock_);
893 size_t FootprintLimit() REQUIRES(!lock_);
895 void SetFootprintLimit(size_t bytes) REQUIRES(!lock_);
900 size_t RevokeThreadLocalRuns(Thread* thread) REQUIRES(!lock_, !bulk_free_lock_);
904 size_t RevokeAllThreadLocalRuns() REQUIRES(!Locks::thread_list_lock_, !lock_, !bulk_free_lock_);
930 !lock_);
933 REQUIRES(!bulk_free_lock_, !lock_);
936 REQUIRES(Locks::mutator_lock_) REQUIRES(!lock_) REQUIRES(!bulk_free_lock_);