Lines Matching refs:stackptr
506 uint32_t stackptr = 0;
519 stackptr = iss32->ebp;
527 stackptr = STACK_IKS(thread->kernel_stack)->k_ebp;
540 *tracebuf++ = stackptr;
542 if (!stackptr || (stackptr == fence)) {
547 if (stackptr & 0x0000003) {
551 if (stackptr > stacklimit) {
555 if (stackptr <= prevsp) {
559 if (kdp_machine_vm_read((mach_vm_address_t)(stackptr + RETURN_OFFSET), (caddr_t) tracebuf, sizeof(caddr_t)) != sizeof(caddr_t)) {
564 prevsp = stackptr;
565 if (kdp_machine_vm_read((mach_vm_address_t)stackptr, (caddr_t) &stackptr, sizeof(caddr_t)) != sizeof(caddr_t)) {
589 addr64_t stackptr = 0;
600 stackptr = iss64->rbp;
614 *tracebuf++ = stackptr;
616 if (!stackptr || (stackptr == fence)){
620 if (stackptr & 0x0000003) {
623 if (stackptr > stacklimit) {
627 if (stackptr <= prevsp) {
631 if (machine_read64(stackptr + RETURN_OFFSET64, (caddr_t) tracebuf, sizeof(addr64_t)) != sizeof(addr64_t)) {
636 prevsp = stackptr;
637 if (machine_read64(stackptr, (caddr_t) &stackptr, sizeof(addr64_t)) != sizeof(addr64_t)) {