Lines Matching refs:top
69 struct tostruct *top, *prevtop; in _MCOUNT_DECL() local
194 top = &p->tos[toindex]; in _MCOUNT_DECL()
195 top->selfpc = selfpc; in _MCOUNT_DECL()
196 top->count = 1; in _MCOUNT_DECL()
197 top->link = 0; in _MCOUNT_DECL()
200 top = &p->tos[toindex]; in _MCOUNT_DECL()
201 if (top->selfpc == selfpc) { in _MCOUNT_DECL()
205 top->count++; in _MCOUNT_DECL()
215 if (top->link == 0) { in _MCOUNT_DECL()
226 top = &p->tos[toindex]; in _MCOUNT_DECL()
227 top->selfpc = selfpc; in _MCOUNT_DECL()
228 top->count = 1; in _MCOUNT_DECL()
229 top->link = *frompcindex; in _MCOUNT_DECL()
236 prevtop = top; in _MCOUNT_DECL()
237 top = &p->tos[top->link]; in _MCOUNT_DECL()
238 if (top->selfpc == selfpc) { in _MCOUNT_DECL()
244 top->count++; in _MCOUNT_DECL()
246 prevtop->link = top->link; in _MCOUNT_DECL()
247 top->link = *frompcindex; in _MCOUNT_DECL()