Lines Matching defs:sp
139 getnextframeptr(void **sp) {
140 void **newsp = (void **)*sp;
148 if (newsp <= sp)
152 if ((char *)newsp - (char *)sp > 100000)
167 void **sp;
174 sp = (void **)getrbp();
175 if (sp == NULL)
178 * sp is the frame ptr of this function itself due to the call to
181 sp = getnextframeptr(sp);
188 sp = (void **)&addrs - 2;
191 while (sp != NULL && i < maxaddrs) {
192 addrs[i++] = *(sp + 1);
193 sp = getnextframeptr(sp);