Lines Matching refs:stackptr
662 uint32_t stackptr = 0;
672 stackptr = thread->machine.upcb->save_r1;
678 stackptr = thread->machine.pcb->save_r1;
691 *tracebuf++ = stackptr;
693 if (!stackptr || (stackptr == fence)) {
697 if (stackptr < prevsp) {
701 if (stackptr & 0x000000F) {
704 if (stackptr > stacklimit) {
708 if (kdp_vm_read((caddr_t) (stackptr + LR_OFFSET), (caddr_t) tracebuf, sizeof(caddr_t)) != sizeof(caddr_t)) {
713 prevsp = stackptr;
715 if (kdp_vm_read((caddr_t) stackptr, (caddr_t) &stackptr, sizeof(caddr_t)) != sizeof(caddr_t)) {
744 addr64_t stackptr = 0;
753 stackptr = thread->machine.upcb->save_r1;
758 stackptr = thread->machine.pcb->save_r1;
771 *tracebuf++ = stackptr;
773 if (!stackptr || (stackptr == fence)){
776 if (stackptr < prevsp) {
779 if (stackptr & 0x000000F) {
782 if (stackptr > stacklimit) {
786 if (machine_read64(stackptr+LR_OFFSET64, (caddr_t) tracebuf, sizeof(addr64_t)) != sizeof(addr64_t)) {
791 prevsp = stackptr;
792 if (machine_read64(stackptr, (caddr_t) &stackptr, sizeof(addr64_t)) != sizeof(addr64_t)) {