MSpan 506 src/pkg/runtime/heapdump.c MSpan *s, **allspans; MSpan 566 src/pkg/runtime/heapdump.c MSpan *s; MSpan 740 src/pkg/runtime/heapdump.c MSpan *s, **allspans; MSpan 770 src/pkg/runtime/heapdump.c MSpan *s; MSpan 85 src/pkg/runtime/malloc.h typedef struct MSpan MSpan; MSpan 321 src/pkg/runtime/malloc.h MSpan* alloc[NumSizeClasses]; // spans to allocate from MSpan 330 src/pkg/runtime/malloc.h MSpan* runtime·MCache_Refill(MCache *c, int32 sizeclass); MSpan 419 src/pkg/runtime/malloc.h MSpan *next; // in a span linked list MSpan 420 src/pkg/runtime/malloc.h MSpan *prev; // in a span linked list MSpan 445 src/pkg/runtime/malloc.h void runtime·MSpan_Init(MSpan *span, PageID start, uintptr npages); MSpan 446 src/pkg/runtime/malloc.h void runtime·MSpan_EnsureSwept(MSpan *span); MSpan 447 src/pkg/runtime/malloc.h bool runtime·MSpan_Sweep(MSpan *span); MSpan 452 src/pkg/runtime/malloc.h void runtime·MSpanList_Init(MSpan *list); MSpan 453 src/pkg/runtime/malloc.h bool runtime·MSpanList_IsEmpty(MSpan *list); MSpan 454 src/pkg/runtime/malloc.h void runtime·MSpanList_Insert(MSpan *list, MSpan *span); MSpan 455 src/pkg/runtime/malloc.h void runtime·MSpanList_InsertBack(MSpan *list, MSpan *span); MSpan 456 src/pkg/runtime/malloc.h void runtime·MSpanList_Remove(MSpan *span); // from whatever list it is in MSpan 464 src/pkg/runtime/malloc.h MSpan nonempty; // list of spans with a free object MSpan 465 src/pkg/runtime/malloc.h MSpan empty; // list of spans with no free objects (or cached in an MCache) MSpan 470 src/pkg/runtime/malloc.h MSpan* runtime·MCentral_CacheSpan(MCentral *c); MSpan 471 src/pkg/runtime/malloc.h void runtime·MCentral_UncacheSpan(MCentral *c, MSpan *s); MSpan 472 src/pkg/runtime/malloc.h bool runtime·MCentral_FreeSpan(MCentral *c, MSpan *s, int32 n, MLink *start, MLink *end); MSpan 481 src/pkg/runtime/malloc.h MSpan free[MaxMHeapList]; // free lists of given length MSpan 482 src/pkg/runtime/malloc.h MSpan freelarge; // free lists length >= MaxMHeapList MSpan 483 src/pkg/runtime/malloc.h MSpan busy[MaxMHeapList]; // busy lists of large objects of given length MSpan 484 src/pkg/runtime/malloc.h MSpan busylarge; // busy lists of large objects length >= MaxMHeapList MSpan 485 src/pkg/runtime/malloc.h MSpan **allspans; // all spans out there MSpan 486 src/pkg/runtime/malloc.h MSpan **sweepspans; // copy of allspans referenced by sweeper MSpan 493 src/pkg/runtime/malloc.h MSpan** spans; MSpan 527 src/pkg/runtime/malloc.h MSpan* runtime·MHeap_Alloc(MHeap *h, uintptr npage, int32 sizeclass, bool large, bool needzero); MSpan 528 src/pkg/runtime/malloc.h void runtime·MHeap_Free(MHeap *h, MSpan *s, int32 acct); MSpan 529 src/pkg/runtime/malloc.h MSpan* runtime·MHeap_Lookup(MHeap *h, void *v); MSpan 530 src/pkg/runtime/malloc.h MSpan* runtime·MHeap_LookupMaybe(MHeap *h, void *v); MSpan 536 src/pkg/runtime/malloc.h void runtime·MHeap_SplitSpan(MHeap *h, MSpan *s); MSpan 540 src/pkg/runtime/malloc.h int32 runtime·mlookup(void *v, byte **base, uintptr *size, MSpan **s); MSpan 588 src/pkg/runtime/malloc.h void runtime·freeallspecials(MSpan *span, void *p, uintptr size); MSpan 16 src/pkg/runtime/mcache.c static MSpan emptymspan; MSpan 54 src/pkg/runtime/mcache.c MSpan* MSpan 58 src/pkg/runtime/mcache.c MSpan *s; MSpan 114 src/pkg/runtime/mcache.c MSpan *s; MSpan 23 src/pkg/runtime/mcentral.c static void MCentral_ReturnToHeap(MCentral *c, MSpan *s); MSpan 35 src/pkg/runtime/mcentral.c MSpan* MSpan 38 src/pkg/runtime/mcentral.c MSpan *s; MSpan 107 src/pkg/runtime/mcentral.c runtime·MCentral_UncacheSpan(MCentral *c, MSpan *s) MSpan 161 src/pkg/runtime/mcentral.c MSpan *s; MSpan 205 src/pkg/runtime/mcentral.c runtime·MCentral_FreeSpan(MCentral *c, MSpan *s, int32 n, MLink *start, MLink *end) MSpan 261 src/pkg/runtime/mcentral.c MSpan *s; MSpan 293 src/pkg/runtime/mcentral.c MCentral_ReturnToHeap(MCentral *c, MSpan *s) MSpan 274 src/pkg/runtime/mgc0.c MSpan *s; MSpan 428 src/pkg/runtime/mgc0.c MSpan *s; MSpan 665 src/pkg/runtime/mgc0.c MSpan *s; MSpan 1248 src/pkg/runtime/mgc0.c MSpan **allspans, *s; MSpan 1757 src/pkg/runtime/mgc0.c runtime·MSpan_EnsureSwept(MSpan *s) MSpan 1783 src/pkg/runtime/mgc0.c runtime·MSpan_Sweep(MSpan *s) MSpan 1969 src/pkg/runtime/mgc0.c MSpan** spans; MSpan 2003 src/pkg/runtime/mgc0.c MSpan *s; MSpan 2042 src/pkg/runtime/mgc0.c MSpan *s; MSpan 2163 src/pkg/runtime/mgc0.c MSpan *s; MSpan 19 src/pkg/runtime/mheap.c static MSpan *MHeap_AllocLocked(MHeap*, uintptr, int32); MSpan 21 src/pkg/runtime/mheap.c static void MHeap_FreeLocked(MHeap*, MSpan*); MSpan 22 src/pkg/runtime/mheap.c static MSpan *MHeap_AllocLarge(MHeap*, uintptr); MSpan 23 src/pkg/runtime/mheap.c static MSpan *BestFit(MSpan*, uintptr, MSpan*); MSpan 29 src/pkg/runtime/mheap.c MSpan *s; MSpan 30 src/pkg/runtime/mheap.c MSpan **all; MSpan 34 src/pkg/runtime/mheap.c s = (MSpan*)p; MSpan 39 src/pkg/runtime/mheap.c all = (MSpan**)runtime·SysAlloc(cap*sizeof(all[0]), &mstats.other_sys); MSpan 61 src/pkg/runtime/mheap.c runtime·FixAlloc_Init(&h->spanalloc, sizeof(MSpan), RecordSpan, h, &mstats.mspan_sys); MSpan 95 src/pkg/runtime/mheap.c MHeap_ReclaimList(MHeap *h, MSpan *list, uintptr npages) MSpan 97 src/pkg/runtime/mheap.c MSpan *s; MSpan 170 src/pkg/runtime/mheap.c MSpan* MSpan 173 src/pkg/runtime/mheap.c MSpan *s; MSpan 200 src/pkg/runtime/mheap.c static MSpan* MSpan 204 src/pkg/runtime/mheap.c MSpan *s, *t; MSpan 275 src/pkg/runtime/mheap.c static MSpan* MSpan 284 src/pkg/runtime/mheap.c static MSpan* MSpan 285 src/pkg/runtime/mheap.c BestFit(MSpan *list, uintptr npage, MSpan *best) MSpan 287 src/pkg/runtime/mheap.c MSpan *s; MSpan 307 src/pkg/runtime/mheap.c MSpan *s; MSpan 348 src/pkg/runtime/mheap.c MSpan* MSpan 365 src/pkg/runtime/mheap.c MSpan* MSpan 368 src/pkg/runtime/mheap.c MSpan *s; MSpan 384 src/pkg/runtime/mheap.c runtime·MHeap_Free(MHeap *h, MSpan *s, int32 acct) MSpan 399 src/pkg/runtime/mheap.c MHeap_FreeLocked(MHeap *h, MSpan *s) MSpan 401 src/pkg/runtime/mheap.c MSpan *t; MSpan 458 src/pkg/runtime/mheap.c scavengelist(MSpan *list, uint64 now, uint64 limit) MSpan 461 src/pkg/runtime/mheap.c MSpan *s; MSpan 566 src/pkg/runtime/mheap.c runtime·MSpan_Init(MSpan *span, PageID start, uintptr npages) MSpan 589 src/pkg/runtime/mheap.c runtime·MSpanList_Init(MSpan *list) MSpan 597 src/pkg/runtime/mheap.c runtime·MSpanList_Remove(MSpan *span) MSpan 608 src/pkg/runtime/mheap.c runtime·MSpanList_IsEmpty(MSpan *list) MSpan 614 src/pkg/runtime/mheap.c runtime·MSpanList_Insert(MSpan *list, MSpan *span) MSpan 627 src/pkg/runtime/mheap.c runtime·MSpanList_InsertBack(MSpan *list, MSpan *span) MSpan 648 src/pkg/runtime/mheap.c MSpan *span; MSpan 694 src/pkg/runtime/mheap.c MSpan *span; MSpan 812 src/pkg/runtime/mheap.c runtime·freeallspecials(MSpan *span, void *p, uintptr size) MSpan 847 src/pkg/runtime/mheap.c runtime·MHeap_SplitSpan(MHeap *h, MSpan *s) MSpan 849 src/pkg/runtime/mheap.c MSpan *t; MSpan 884 src/pkg/runtime/stack.c MSpan *span;