Searched refs:nPage (Results 1 – 4 of 4) sorted by relevance
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_page.c | 76 UINT32 nPage; in OsVmPageStartup() local 87 nPage = pageNum * PAGE_SIZE / (sizeof(LosVmPage) + PAGE_SIZE); in OsVmPageStartup() 88 g_vmPageArraySize = nPage * sizeof(LosVmPage); in OsVmPageStartup() 101 nPage = seg->size >> PAGE_SHIFT; in OsVmPageStartup() 102 UINT32 count = nPage >> 3; /* 3: 2 ^ 3, nPage / 8, cycle count */ in OsVmPageStartup() 103 UINT32 left = nPage & 0x7; /* 0x7: nPage % 8, left page */ in OsVmPageStartup() 119 OsVmPageOrderListInit(seg->pageBase, nPage); in OsVmPageStartup()
|
D | los_vm_scan.c | 289 int OsTryShrinkMemory(size_t nPage) in OsTryShrinkMemory() argument 300 if (nPage == 0) { in OsTryShrinkMemory() 301 nPage = VM_FILEMAP_MIN_SCAN; in OsTryShrinkMemory() 304 if (nPage > VM_FILEMAP_MAX_SCAN) { in OsTryShrinkMemory() 305 nPage = VM_FILEMAP_MAX_SCAN; in OsTryShrinkMemory() 318 … OsShrinkActiveList(physSeg, (nPage < VM_FILEMAP_MIN_SCAN) ? VM_FILEMAP_MIN_SCAN : nPage); in OsTryShrinkMemory() 321 nReclaimed += OsShrinkInactiveList(physSeg, nPage, &dirtyList); in OsTryShrinkMemory() 324 if (nReclaimed >= nPage) { in OsTryShrinkMemory() 336 int OsTryShrinkMemory(size_t nPage) in OsTryShrinkMemory() argument
|
D | los_vm_phys.c | 603 LosVmPage *nPage = NULL; in LOS_PhysPagesFree() local 611 LOS_DL_LIST_FOR_EACH_ENTRY_SAFE(page, nPage, list, LosVmPage, node) { in LOS_PhysPagesFree()
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_filemap.h | 210 int OsTryShrinkMemory(size_t nPage);
|