Searched refs:pg (Results 1 – 7 of 7) sorted by relevance
| /sys/kern/ |
| D | palloc.c | 95 FreePage *pg; in PAlloc_AddRegion() local 155 pg = (void *)(start + i); in PAlloc_AddRegion() 156 pg->magic = FREEPAGE_MAGIC_FREE; in PAlloc_AddRegion() 161 LIST_INSERT_HEAD(&freeList, pg, entries); in PAlloc_AddRegion() 172 PAllocGetInfo(void *pg) in PAllocGetInfo() argument 174 uintptr_t entry = (uintptr_t)DMVA2PA(pg) / PGSIZE; in PAllocGetInfo() 191 FreePage *pg; in PAlloc_AllocPage() local 194 pg = LIST_FIRST(&freeList); in PAlloc_AllocPage() 195 ASSERT(pg != NULL); in PAlloc_AllocPage() 196 LIST_REMOVE(pg, entries); in PAlloc_AllocPage() [all …]
|
| D | loader.c | 190 void *pg; in Loader_LoadInit() local 193 pg = PAlloc_AllocPage(); in Loader_LoadInit() 194 if (!pg) in Loader_LoadInit() 201 status = VFS_Read(initvn, pg, 0, 1024); in Loader_LoadInit() 218 Loader_Load(thr, initvn, pg, 1024); in Loader_LoadInit()
|
| D | syscall.c | 72 void *pg; in Syscall_Spawn() local 121 pg = PAlloc_AllocPage(); in Syscall_Spawn() 122 if (!pg) { in Syscall_Spawn() 129 if (!Loader_CheckHeader(pg)) { in Syscall_Spawn() 131 PAlloc_Release(pg); in Syscall_Spawn() 149 Loader_Load(thr, file, pg, 1024); in Syscall_Spawn()
|
| /sys/amd64/ |
| D | xmem.c | 105 void *pg = PAlloc_AllocPage(); in XMem_Allocate() local 106 if (pg == NULL) in XMem_Allocate() 109 PMap_SystemMap(DMVA2PA((uint64_t)pg), xmem->base + off, 1, 0); in XMem_Allocate()
|
| D | pmap.c | 440 void *pg = PAlloc_AllocPage(); in PMap_AllocMap() local 441 *entry = (uint64_t)DMVA2PA(pg) | PTE_P | PTE_U | flags; in PMap_AllocMap()
|
| /sys/include/ |
| D | kmem.h | 21 void PAlloc_Retain(void *pg); 22 void PAlloc_Release(void *pg);
|
| / |
| D | SConstruct | 64 env.Append(CPPFLAGS = [ "-pg" ]) 65 env.Append(LINKFLAGS = [ "-pg" ])
|