Lines Matching defs:tracebuf
512 uint32_t *tracebuf = (uint32_t *)tracepos;
534 *tracebuf++ = init_eip;
538 if ((tracebound - ((char *)tracebuf)) < (4 * framesize)) {
539 tracebuf--;
543 *tracebuf++ = stackptr;
562 if (kdp_machine_vm_read((mach_vm_address_t)(stackptr + RETURN_OFFSET), (caddr_t) tracebuf, sizeof(*tracebuf)) != sizeof(*tracebuf)) {
565 tracebuf++;
569 *tracebuf++ = 0;
576 return (uint32_t) (((char *) tracebuf) - tracepos);
591 uint64_t *tracebuf = (uint64_t *)tracepos;
613 *tracebuf++ = init_rip;
617 if ((uint32_t)(tracebound - ((char *)tracebuf)) < (4 * framesize)) {
618 tracebuf--;
622 *tracebuf++ = stackptr;
636 if (machine_read64(stackptr + RETURN_OFFSET64, (caddr_t) tracebuf, sizeof(addr64_t)) != sizeof(addr64_t)) {
640 *tracebuf = VM_KERNEL_UNSLIDE(*tracebuf);
642 tracebuf++;
646 *tracebuf++ = 0;
653 return (uint32_t) (((char *) tracebuf) - tracepos);