Home | History | Annotate | Download | only in runtime

Lines Matching refs:nstk

48 	nstk    uintptr
99 func newBucket(typ bucketType, nstk int) *bucket {
100 size := unsafe.Sizeof(bucket{}) + uintptr(nstk)*unsafe.Sizeof(uintptr(0))
113 b.nstk = uintptr(nstk)
120 return stk[:b.nstk:b.nstk]
128 data := add(unsafe.Pointer(b), unsafe.Sizeof(*b)+b.nstk*unsafe.Sizeof(uintptr(0)))
137 data := add(unsafe.Pointer(b), unsafe.Sizeof(*b)+b.nstk*unsafe.Sizeof(uintptr(0)))
141 // Return the bucket for stk[0:nstk], allocating new bucket if needed.
235 nstk := callers(4, stk[:])
237 b := stkbucket(memProfile, size, stk[:nstk], true)
300 var nstk int
303 nstk = callers(skip, stk[:])
305 nstk = gcallers(gp.m.curg, skip, stk[:])
308 b := stkbucket(blockProfile, 0, stk[:nstk], true)
437 for i := int(b.nstk); i < len(r.Stack0); i++ {
446 fn(b, uintptr(b.nstk), &b.stk()[0], b.size, mp.allocs, mp.frees)