Home
last modified time | relevance | path

Searched refs:OsIsPageActive (Results 1 – 2 of 2) 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()
154 isOrgActive = OsIsPageActive(page); in OsPageRefIncLocked()
156 if (OsIsPageReferenced(page) && !OsIsPageActive(page)) { in OsPageRefIncLocked()
163 if (!isOrgActive && OsIsPageActive(page)) { in OsPageRefIncLocked()
168 if (OsIsPageActive(page)) { in OsPageRefIncLocked()
195 isOrgActive = OsIsPageActive(page); in OsPageRefDecNoLock()
197 if (!OsIsPageReferenced(page) && OsIsPageActive(page)) { in OsPageRefDecNoLock()
204 if (isOrgActive && !OsIsPageActive(page)) { in OsPageRefDecNoLock()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_filemap.h145 STATIC INLINE BOOL OsIsPageActive(LosVmPage *page) in OsIsPageActive() function