type runtime.pageAlloc
22 uses
runtime (current package)
mgcscavenge.go#L399: func (p *pageAlloc) scavenge(nbytes uintptr, mayUnlock bool) uintptr {
mgcscavenge.go#L450: func (p *pageAlloc) scavengeStartGen() {
mgcscavenge.go#L501: func (p *pageAlloc) scavengeReserve() (addrRange, uint32) {
mgcscavenge.go#L533: func (p *pageAlloc) scavengeUnreserve(r addrRange, gen uint32) {
mgcscavenge.go#L562: func (p *pageAlloc) scavengeOne(work addrRange, max uintptr, mayUnlock bool) (uintptr, addrRange) {
mgcscavenge.go#L710: func (p *pageAlloc) scavengeRangeLocked(ci chunkIdx, base, npages uint) uintptr {
mheap.go#L66: pages pageAlloc // page allocation data structure
mpagealloc.go#L175: type pageAlloc struct {
mpagealloc.go#L302: func (p *pageAlloc) init(mheapLock *mutex, sysStat *sysMemStat) {
mpagealloc.go#L332: func (p *pageAlloc) tryChunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L343: func (p *pageAlloc) chunkOf(ci chunkIdx) *pallocData {
mpagealloc.go#L351: func (p *pageAlloc) grow(base, size uintptr) {
mpagealloc.go#L417: func (p *pageAlloc) update(base, npages uintptr, contig, alloc bool) {
mpagealloc.go#L505: func (p *pageAlloc) allocRange(base, npages uintptr) uintptr {
mpagealloc.go#L542: func (p *pageAlloc) findMappedAddr(addr offAddr) offAddr {
mpagealloc.go#L578: func (p *pageAlloc) find(npages uintptr) (uintptr, offAddr) {
mpagealloc.go#L803: func (p *pageAlloc) alloc(npages uintptr) (addr uintptr, scav uintptr) {
mpagealloc.go#L864: func (p *pageAlloc) free(base, npages uintptr) {
mpagealloc_64bit.go#L70: func (p *pageAlloc) sysInit() {
mpagealloc_64bit.go#L99: func (p *pageAlloc) sysGrow(base, limit uintptr) {
mpagecache.go#L79: func (c *pageCache) flush(p *pageAlloc) {
mpagecache.go#L116: func (p *pageAlloc) allocToCache() pageCache {
 |
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. |