Lines Matching refs:top
334 struct tostruct *top, *prevtop; in __mcount_internal() local
374 top = &p->tos[toindex]; in __mcount_internal()
375 top->selfpc = selfpc; in __mcount_internal()
376 top->count = 1; in __mcount_internal()
377 top->link = 0; in __mcount_internal()
380 top = &p->tos[toindex]; in __mcount_internal()
381 if (top->selfpc == selfpc) { in __mcount_internal()
383 top->count++; in __mcount_internal()
393 if (top->link == 0) { in __mcount_internal()
404 top = &p->tos[toindex]; in __mcount_internal()
405 top->selfpc = selfpc; in __mcount_internal()
406 top->count = 1; in __mcount_internal()
407 top->link = *frompcindex; in __mcount_internal()
414 prevtop = top; in __mcount_internal()
415 top = &p->tos[top->link]; in __mcount_internal()
416 if (top->selfpc == selfpc) { in __mcount_internal()
421 top->count++; in __mcount_internal()
423 prevtop->link = top->link; in __mcount_internal()
424 top->link = *frompcindex; in __mcount_internal()