Home
last modified time | relevance | path

Searched refs:usageCount (Results 1 – 4 of 4) sorted by relevance

/haiku/headers/private/package/hpkg/
H A DStrings.h25 uint32 usageCount; member
32 usageCount(1) in CachedString()
84 return a->usageCount > b->usageCount; in operator()
/haiku/src/kits/package/hpkg/
H A DStrings.cpp38 string->usageCount++; in Get()
57 if (--string->usageCount == 0) { in Put()
H A DWriterImplBase.cpp667 if (cachedString->usageCount < minUsageCount) in WriteCachedStrings()
/haiku/src/system/kernel/vm/
H A Dvm_page.cpp2736 int32 usageCount; in idle_scan_active_pages() local
2739 usageCount = vm_clear_page_mapping_accessed_flags(page); in idle_scan_active_pages()
2741 usageCount = vm_remove_all_page_mappings_if_unaccessed(page); in idle_scan_active_pages()
2743 if (usageCount > 0) { in idle_scan_active_pages()
2744 usageCount += page->usage_count + kPageUsageAdvance; in idle_scan_active_pages()
2745 if (usageCount > kPageUsageMax) in idle_scan_active_pages()
2746 usageCount = kPageUsageMax; in idle_scan_active_pages()
2749 usageCount += page->usage_count - (int32)kPageUsageDecline; in idle_scan_active_pages()
2750 if (usageCount < 0) { in idle_scan_active_pages()
2751 usageCount = 0; in idle_scan_active_pages()
[all …]