• Home
  • Raw
  • Download

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()
721 AllocationTrackingSet<FreePageRun*, kAllocatorTagRosAlloc> free_page_runs_ GUARDED_BY(lock_);
754 GUARDED_BY(lock_);
757 Mutex lock_ DEFAULT_MUTEX_ACQUIRED_AFTER;
780 REQUIRES(lock_);
782 size_t FreePages(Thread* self, void* ptr, bool already_zero) REQUIRES(lock_);
787 REQUIRES(!lock_);
792 REQUIRES(!lock_);
793 void* AllocFromCurrentRunUnlocked(Thread* self, size_t idx) REQUIRES(!lock_);
797 REQUIRES(!lock_);
800 Run* AllocRun(Thread* self, size_t idx) REQUIRES(!lock_);
804 Run* RefillRun(Thread* self, size_t idx) REQUIRES(!lock_);
807 size_t FreeInternal(Thread* self, void* ptr) REQUIRES(!lock_);
812 REQUIRES(!lock_);
815 void RevokeRun(Thread* self, size_t idx, Run* run) REQUIRES(!lock_);
818 void RevokeThreadUnsafeCurrentRuns() REQUIRES(!lock_);
821 size_t ReleasePageRange(uint8_t* start, uint8_t* end) REQUIRES(lock_);
824 std::string DumpPageMap() REQUIRES(lock_);
851 REQUIRES(!lock_);
853 REQUIRES(!bulk_free_lock_, !lock_);
855 REQUIRES(!bulk_free_lock_, !lock_);
870 size_t UsableSize(const void* ptr) REQUIRES(!lock_);
881 bool Trim() REQUIRES(!lock_);
885 REQUIRES(!lock_);
888 size_t ReleasePages() REQUIRES(!lock_);
890 size_t Footprint() REQUIRES(!lock_);
892 size_t FootprintLimit() REQUIRES(!lock_);
894 void SetFootprintLimit(size_t bytes) REQUIRES(!lock_);
899 size_t RevokeThreadLocalRuns(Thread* thread) REQUIRES(!lock_, !bulk_free_lock_);
903 size_t RevokeAllThreadLocalRuns() REQUIRES(!Locks::thread_list_lock_, !lock_, !bulk_free_lock_);
929 !lock_);
932 REQUIRES(!bulk_free_lock_, !lock_);
935 REQUIRES(Locks::mutator_lock_) REQUIRES(!lock_) REQUIRES(!bulk_free_lock_);