Lines Matching defs:pageAlloc
180 type pageAlloc struct { struct
202 summary [summaryLevels][]pallocSum
239 chunks [1 << pallocChunksL1Bits]*[1 << pallocChunksL2Bits]pallocData
249 searchAddr offAddr
255 start, end chunkIdx
266 inUse addrRanges
269 scav struct {
285 mheapLock *mutex
289 sysStat *sysMemStat
295 summaryMappedReady uintptr
299 chunkHugePages bool
302 test bool
305 func (p *pageAlloc) init(mheapLock *mutex, sysStat *sysMemStat, test bool) {
338 func (p *pageAlloc) tryChunkOf(ci chunkIdx) *pallocData {
349 func (p *pageAlloc) chunkOf(ci chunkIdx) *pallocData {
357 func (p *pageAlloc) grow(base, size uintptr) {
444 func (p *pageAlloc) enableChunkHugePages() {
485 func (p *pageAlloc) update(base, npages uintptr, contig, alloc bool) {
570 func (p *pageAlloc) allocRange(base, npages uintptr) uintptr {
611 func (p *pageAlloc) findMappedAddr(addr offAddr) offAddr {
647 func (p *pageAlloc) find(npages uintptr) (uintptr, offAddr) {
872 func (p *pageAlloc) alloc(npages uintptr) (addr uintptr, scav uintptr) {
933 func (p *pageAlloc) free(base, npages uintptr) {