Home
last modified time | relevance | path

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

/kernel/liteos_a/kernel/base/vm/
Dlos_vm_page.c46 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 …]
Dlos_vm_phys.c165 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/
Dlos_vm_page.h53 UINT8 segID; /**< the segment id of vm page */ member
Dlos_vm_phys.h104 LosVmPage *OsVmPhysToPage(paddr_t pa, UINT8 segID);