runtime.pageAlloc.inUse (field)
10 uses
runtime (current package)
mgcscavenge.go#L456: p.inUse.cloneInto(&p.scav.inUse)
mgcscavenge.go#L482: p.scav.reservationBytes = alignUp(p.inUse.totalBytes, pallocChunkBytes) / scavengeReservationShards
mpagealloc.go#L261: inUse addrRanges
mpagealloc.go#L314: p.inUse.init(sysStat)
mpagealloc.go#L377: p.inUse.add(makeAddrRange(base, limit))
mpagealloc.go#L549: vAddr, ok := p.inUse.findAddrGreaterEqual(addr.addr())
mpagealloc_64bit.go#L143: inUseIndex := p.inUse.findSucc(base)
mpagealloc_64bit.go#L166: need = need.subtract(addrRangeToSumAddrRange(l, p.inUse.ranges[inUseIndex-1]))
mpagealloc_64bit.go#L168: if inUseIndex < len(p.inUse.ranges) {
mpagealloc_64bit.go#L169: need = need.subtract(addrRangeToSumAddrRange(l, p.inUse.ranges[inUseIndex]))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |