type runtime.mspan
78 uses
runtime (current package)
malloc.go#L845: func nextFreeFast(s *mspan) gclinkptr {
malloc.go#L872: func (c *mcache) nextFree(spc spanClass) (v gclinkptr, s *mspan, shouldhelpgc bool) {
malloc.go#L981: var span *mspan
mbitmap.go#L139: func (s *mspan) allocBitsForIndex(allocBitIndex uintptr) markBits {
mbitmap.go#L148: func (s *mspan) refillAllocCache(whichByte uintptr) {
mbitmap.go#L166: func (s *mspan) nextFreeIndex() uintptr {
mbitmap.go#L221: func (s *mspan) isFree(index uintptr) bool {
mbitmap.go#L229: func (s *mspan) objIndex(p uintptr) uintptr {
mbitmap.go#L247: func (s *mspan) markBitsForIndex(objIndex uintptr) markBits {
mbitmap.go#L252: func (s *mspan) markBitsForBase() markBits {
mbitmap.go#L328: func badPointer(s *mspan, p, refBase, refOff uintptr) {
mbitmap.go#L368: func findObject(p, refBase, refOff uintptr) (base uintptr, s *mspan, objIndex uintptr) {
mbitmap.go#L745: func (h heapBits) initSpan(s *mspan) {
mbitmap.go#L774: func (s *mspan) countAlloc() int {
mbitmap.go#L1866: func materializeGCProg(ptrdata uintptr, prog *byte) *mspan {
mbitmap.go#L1875: func dematerializeGCProg(s *mspan) {
mcache.go#L44: alloc [numSpanClasses]*mspan // spans to allocate from, indexed by spanClass
mcache.go#L82: var emptymspan mspan
mcache.go#L209: func (c *mcache) allocLarge(size uintptr, needzero bool, noscan bool) *mspan {
mcentral.go#L79: func (c *mcentral) cacheSpan() *mspan {
mcentral.go#L106: var s *mspan
mcentral.go#L188: func (c *mcentral) uncacheSpan(s *mspan) {
mcentral.go#L228: func (c *mcentral) grow() *mspan {
mgcmark.go#L812: var s *mspan
mgcmark.go#L1408: func greyobject(obj, base, off uintptr, span *mspan, gcw *gcWork, objIndex uintptr) {
mgcmark.go#L1514: func gcmarknewobject(span *mspan, obj, size, scanSize uintptr) {
mgcsweep.go#L96: func (h *mheap) nextSpanForSweep() *mspan {
mgcsweep.go#L101: var s *mspan
mgcsweep.go#L202: var s *mspan
mgcsweep.go#L286: func (s *mspan) ensureSwept() {
mgcsweep.go#L320: func (s *mspan) sweep(preserve bool) bool {
mgcsweep.go#L580: func (s *mspan) reportZombies() {
mgcwork.go#L362: var s *mspan
mheap.go#L82: allspans []*mspan // all spans out there
mheap.go#L244: spans [pagesPerArena]*mspan
mheap.go#L377: first *mspan // first span in list, or nil if none
mheap.go#L378: last *mspan // last span in list, or nil if none
mheap.go#L382: type mspan struct {
mheap.go#L383: next *mspan // next span in list, or nil if none
mheap.go#L384: prev *mspan // previous span in list, or nil if none
mheap.go#L468: func (s *mspan) base() uintptr {
mheap.go#L472: func (s *mspan) layout() (size, n, total uintptr) {
mheap.go#L496: s := (*mspan)(p)
mheap.go#L505: var new []*mspan
mheap.go#L631: func spanOf(p uintptr) *mspan {
mheap.go#L666: func spanOfUnchecked(p uintptr) *mspan {
mheap.go#L677: func spanOfHeap(p uintptr) *mspan {
mheap.go#L705: h.spanalloc.init(unsafe.Sizeof(mspan{}), recordspan, unsafe.Pointer(h), &memstats.mspan_sys)
mheap.go#L899: func (h *mheap) alloc(npages uintptr, spanclass spanClass, needzero bool) *mspan {
mheap.go#L903: var s *mspan
mheap.go#L939: func (h *mheap) allocManual(npages uintptr, typ spanAllocType) *mspan {
mheap.go#L948: func (h *mheap) setSpans(base, npage uintptr, s *mspan) {
mheap.go#L1037: func (h *mheap) tryAllocMSpan() *mspan {
mheap.go#L1060: func (h *mheap) allocMSpanLocked() *mspan {
mheap.go#L1066: return (*mspan)(h.spanalloc.alloc())
mheap.go#L1072: pp.mspancache.buf[i] = (*mspan)(h.spanalloc.alloc())
mheap.go#L1092: func (h *mheap) freeMSpanLocked(s *mspan) {
mheap.go#L1124: func (h *mheap) allocSpan(npages uintptr, typ spanAllocType, spanclass spanClass) (s *mspan) {
mheap.go#L1408: func (h *mheap) freeSpan(s *mspan) {
mheap.go#L1433: func (h *mheap) freeManual(s *mspan, typ spanAllocType) {
mheap.go#L1440: func (h *mheap) freeSpanLocked(s *mspan, typ spanAllocType) {
mheap.go#L1525: func (span *mspan) init(base uintptr, npages uintptr) {
mheap.go#L1545: func (span *mspan) inList() bool {
mheap.go#L1555: func (list *mSpanList) remove(span *mspan) {
mheap.go#L1580: func (list *mSpanList) insert(span *mspan) {
mheap.go#L1598: func (list *mSpanList) insertBack(span *mspan) {
mheap.go#L1657: func spanHasSpecials(s *mspan) {
mheap.go#L1665: func spanHasNoSpecials(s *mspan) {
mspanset.go#L69: spans [spanSetBlockEntries]*mspan
mspanset.go#L74: func (b *spanSet) push(s *mspan) {
mspanset.go#L141: func (b *spanSet) pop() *mspan {
mspanset.go#L190: s := (*mspan)(atomic.Loadp(unsafe.Pointer(&block.spans[bottom])))
mspanset.go#L195: s = (*mspan)(atomic.Loadp(unsafe.Pointer(&block.spans[bottom])))
os_nonopenbsd.go#L11: func osStackAlloc(s *mspan) {
os_nonopenbsd.go#L16: func osStackFree(s *mspan) {
runtime2.go#L627: buf [128]*mspan
stack.go#L383: var s *mspan
stack.go#L697: var s *mspan
 |
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. |