Lines Matching refs:top
281 register struct tostruct *top;
332 top = &tos[toindex];
333 top->selfpc = selfpc;
334 top->count = 1;
335 top->link = 0;
338 top = &tos[toindex];
339 if (top->selfpc == selfpc) {
343 top->count++;
348 * top points to what we are looking at,
349 * prevtop points to previous top.
353 if (top->link == 0) {
355 * top is end of the chain and none of the chain
356 * had top->selfpc == selfpc.
364 top = &tos[toindex];
365 top->selfpc = selfpc;
366 top->count = 1;
367 top->link = *frompcindex;
374 prevtop = top;
375 top = &tos[top->link];
376 if (top->selfpc == selfpc) {
382 top->count++;
384 prevtop->link = top->link;
385 top->link = *frompcindex;