func runtime.chunkPageIndex
14 uses
runtime (current package)
mgcscavenge.go#L618: base, npages := p.chunkOf(maxChunk).findScavengeCandidate(chunkPageIndex(maxAddr), minPages, maxPages)
mpagealloc.go#L112: func chunkPageIndex(p uintptr) uint {
mpagealloc.go#L510: si, ei := chunkPageIndex(base), chunkPageIndex(limit)
mpagealloc.go#L815: if pallocChunkPages-chunkPageIndex(p.searchAddr.addr()) >= uint(npages) {
mpagealloc.go#L819: j, searchIdx := p.chunkOf(i).find(npages, chunkPageIndex(p.searchAddr.addr()))
mpagealloc.go#L822: print("runtime: searchIdx = ", chunkPageIndex(p.searchAddr.addr()), ", p.searchAddr = ", hex(p.searchAddr.addr()), "\n")
mpagealloc.go#L880: p.chunkOf(i).free1(chunkPageIndex(base))
mpagealloc.go#L884: si, ei := chunkPageIndex(base), chunkPageIndex(limit)
mpagecache.go#L86: pi := chunkPageIndex(c.base)
mpagecache.go#L129: j, _ := chunk.find(1, chunkPageIndex(p.searchAddr.addr()))
mpagecache.go#L152: cache: ^chunk.pages64(chunkPageIndex(addr)),
mpagecache.go#L153: scav: chunk.scavenged.block64(chunkPageIndex(addr)),
 |
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. |