Lines Matching refs:stack_ptr
164 int stack_ptr; member
1310 int stack_ptr; /* next free position in stack */ in write_pages() local
1327 stack_ptr = 0; in write_pages()
1445 if (stack_ptr < MAX_STACK_DEPTH) in write_pages()
1446 func_stack[stack_ptr] = timestamp; in write_pages()
1447 stack_ptr++; in write_pages()
1452 if (stack_ptr && stack_ptr <= MAX_STACK_DEPTH) { in write_pages()
1453 ulong start = func_stack[--stack_ptr]; in write_pages()
1468 if (stack_ptr == MAX_STACK_DEPTH) in write_pages()
1629 int stack_ptr = state->stack_ptr; in process_call() local
1656 if (stack_ptr < MAX_STACK_DEPTH) { in process_call()
1657 state->stack[stack_ptr].timestamp = timestamp; in process_call()
1658 state->stack[stack_ptr].child_total = 0; in process_call()
1660 debug("%d: %20s: entry at %ld\n", stack_ptr, func->name, in process_call()
1662 stack_ptr++; in process_call()
1671 if (stack_ptr && stack_ptr <= MAX_STACK_DEPTH) { in process_call()
1672 stk = &state->stack[--stack_ptr]; in process_call()
1681 if (stack_ptr) in process_call()
1682 state->stack[stack_ptr - 1].child_total += total_duration; in process_call()
1685 stack_ptr, func->name, timestamp, in process_call()
1693 state->stack_ptr = stack_ptr; in process_call()
1719 state.stack_ptr = 0; in make_flame_tree()