Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_scan.c84 int type = OsIsPageActive(fpage->vmPage) ? VM_LRU_ACTIVE_FILE : VM_LRU_INACTIVE_FILE; in OsLruCacheDel()
92 return (physSeg->lruSize[VM_LRU_ACTIVE_FILE] > in OsInactiveListIsLow()
101 physSeg->lruSize[VM_LRU_ACTIVE_FILE]++; in OsMoveToActiveList()
104 LOS_ListTailInsert(&physSeg->lruList[VM_LRU_ACTIVE_FILE], &fpage->lru); in OsMoveToActiveList()
112 physSeg->lruSize[VM_LRU_ACTIVE_FILE]--; in OsMoveToInactiveList()
123 LOS_ListTailInsert(&physSeg->lruList[VM_LRU_ACTIVE_FILE], &fpage->lru); in OsMoveToActiveHead()
213 LOS_DL_LIST *activeFile = &physSeg->lruList[VM_LRU_ACTIVE_FILE]; in OsShrinkActiveList()
311 totalPages = physSeg->lruSize[VM_LRU_ACTIVE_FILE] + physSeg->lruSize[VM_LRU_INACTIVE_FILE]; in OsTryShrinkMemory()
Dlos_vm_dump.c534 PRINTK("active file %d\n", seg->lruSize[VM_LRU_ACTIVE_FILE]); in OsVmPhysDump()
Dlos_vm_filemap.c92 OsLruCacheAdd(page, VM_LRU_ACTIVE_FILE); in OsAddToPageacheLru()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_phys.h67 VM_LRU_ACTIVE_FILE, enumerator