runtime.mheap.spanalloc (field)
9 uses
runtime (current package)
metrics.go#L374: a.mSpanInUse = uint64(mheap_.spanalloc.inuse)
mheap.go#L211: spanalloc fixalloc // allocator for span*
mheap.go#L705: h.spanalloc.init(unsafe.Sizeof(mspan{}), recordspan, unsafe.Pointer(h), &memstats.mspan_sys)
mheap.go#L718: h.spanalloc.zero = false
mheap.go#L1066: return (*mspan)(h.spanalloc.alloc())
mheap.go#L1072: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1104: h.spanalloc.free(unsafe.Pointer(s))
mstats.go#L613: memstats.mspan_inuse = uint64(mheap_.spanalloc.inuse)
proc.go#L4734: mheap_.spanalloc.free(unsafe.Pointer(pp.mspancache.buf[i]))
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)