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()
718 AllocationTrackingSet<FreePageRun*, kAllocatorTagRosAlloc> free_page_runs_ GUARDED_BY(lock_);
751 GUARDED_BY(lock_);
754 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
777 REQUIRES(lock_);
779 size_t FreePages(Thread* self, void* ptr, bool already_zero) REQUIRES(lock_);
784 REQUIRES(!lock_);
789 REQUIRES(!lock_);
790 void* AllocFromCurrentRunUnlocked(Thread* self, size_t idx) REQUIRES(!lock_);
794 REQUIRES(!lock_);
797 Run* AllocRun(Thread* self, size_t idx) REQUIRES(!lock_);
801 Run* RefillRun(Thread* self, size_t idx) REQUIRES(!lock_);
804 size_t FreeInternal(Thread* self, void* ptr) REQUIRES(!lock_);
809 REQUIRES(!lock_);
812 void RevokeRun(Thread* self, size_t idx, Run* run) REQUIRES(!lock_);
815 void RevokeThreadUnsafeCurrentRuns() REQUIRES(!lock_);
818 size_t ReleasePageRange(uint8_t* start, uint8_t* end) REQUIRES(lock_);
821 std::string DumpPageMap() REQUIRES(lock_);
848 REQUIRES(!lock_);
850 REQUIRES(!bulk_free_lock_, !lock_);
852 REQUIRES(!bulk_free_lock_, !lock_);
867 size_t UsableSize(const void* ptr) REQUIRES(!lock_);
878 bool Trim() REQUIRES(!lock_);
882 REQUIRES(!lock_);
885 size_t ReleasePages() REQUIRES(!lock_);
887 size_t Footprint() REQUIRES(!lock_);
889 size_t FootprintLimit() REQUIRES(!lock_);
891 void SetFootprintLimit(size_t bytes) REQUIRES(!lock_);
896 size_t RevokeThreadLocalRuns(Thread* thread) REQUIRES(!lock_, !bulk_free_lock_);
900 size_t RevokeAllThreadLocalRuns() REQUIRES(!Locks::thread_list_lock_, !lock_, !bulk_free_lock_);
926 !lock_);
929 REQUIRES(!bulk_free_lock_, !lock_);
932 REQUIRES(Locks::mutator_lock_) REQUIRES(!lock_) REQUIRES(!bulk_free_lock_);