Searched refs:segID (Results 1 – 4 of 4) sorted by relevance
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_page.c | 46 STATIC VOID OsVmPageInit(LosVmPage *page, paddr_t pa, UINT8 segID) in OsVmPageInit() argument 52 page->segID = segID; in OsVmPageInit() 65 #define VMPAGEINIT(page, pa, segID) do { \ argument 66 OsVmPageInit(page, pa, segID); \ 77 INT32 segID; in OsVmPageStartup() local 99 for (segID = 0; segID < g_vmPhysSegNum; segID++) { in OsVmPageStartup() 100 seg = &g_vmPhysSeg[segID]; in OsVmPageStartup() 107 VMPAGEINIT(page, pa, segID); in OsVmPageStartup() 108 VMPAGEINIT(page, pa, segID); in OsVmPageStartup() 109 VMPAGEINIT(page, pa, segID); in OsVmPageStartup() [all …]
|
D | los_vm_phys.c | 165 if (page->segID >= VM_PHYS_SEG_MAX) { in OsVmPhysFreeListAddUnsafe() 166 LOS_Panic("The page segment id(%d) is invalid\n", page->segID); in OsVmPhysFreeListAddUnsafe() 170 seg = &g_vmPhysSeg[page->segID]; in OsVmPhysFreeListAddUnsafe() 182 if ((page->segID >= VM_PHYS_SEG_MAX) || (page->order >= VM_LIST_ORDER_MAX)) { in OsVmPhysFreeListDelUnsafe() 183 LOS_Panic("The page segment id(%u) or order(%u) is invalid\n", page->segID, page->order); in OsVmPhysFreeListDelUnsafe() 186 seg = &g_vmPhysSeg[page->segID]; in OsVmPhysFreeListDelUnsafe() 206 LosVmPage *OsVmPhysToPage(paddr_t pa, UINT8 segID) in OsVmPhysToPage() argument 211 if (segID >= VM_PHYS_SEG_MAX) { in OsVmPhysToPage() 212 LOS_Panic("The page segment id(%d) is invalid\n", segID); in OsVmPhysToPage() 214 seg = &g_vmPhysSeg[segID]; in OsVmPhysToPage() [all …]
|
/kernel/liteos_a/kernel/base/include/ |
D | los_vm_page.h | 53 UINT8 segID; /**< the segment id of vm page */ member
|
D | los_vm_phys.h | 104 LosVmPage *OsVmPhysToPage(paddr_t pa, UINT8 segID);
|