Lines Matching refs:fp
86 * %fp + sizeof (struct frame) == oldcontext
134 #define CHECK_FOR_SIGFRAME(fp, oldctx) ((fp) + SA(sizeof (struct frame)) \
140 #define CHECK_FOR_SIGFRAME(fp, oldctx) ((((fp) + sizeof (struct frame)) + \
142 (((struct frame *)fp)->fr_savpc == (greg_t)-1))
147 #define CHECK_FOR_SIGFRAME(fp, oldctx) ((((fp) + sizeof (struct frame)) + \
149 (((struct frame *)fp)->fr_savpc == (greg_t)-1))
162 read_safe(int fd, struct frame *fp, struct frame **savefp, uintptr_t *savepc)
167 if ((uintptr_t)fp & (sizeof (void *) - 1))
170 if ((pread(fd, (void *)&newfp, sizeof (fp->fr_savfp),
171 (off_t)&fp->fr_savfp) != sizeof (fp->fr_savfp)) ||
172 pread(fd, (void *)savepc, sizeof (fp->fr_savpc),
173 (off_t)&fp->fr_savpc) != sizeof (fp->fr_savpc))
209 struct frame *fp = (struct frame *)
242 while (fp != NULL) {
247 * get value of saved fp and pc w/o crashing
250 if (read_safe(fd, fp, &savefp, &savepc) != 0) {
288 * the saved fp & pc to pass to user's function
307 signo = fp->fr_arg[0];
317 fp = savefp; /* up one in the call stack */