Lines Matching refs:pcstack_limit
197 dtrace_getustack_common(uint64_t *pcstack, int pcstack_limit, user_addr_t pc,
210 ASSERT(pcstack == NULL || pcstack_limit > 0);
226 pcstack_limit--;
227 if (pcstack_limit <= 0)
271 dtrace_getupcstack(uint64_t *pcstack, int pcstack_limit)
284 if (pcstack_limit <= 0)
298 pcstack_limit--;
300 if (pcstack_limit <= 0)
308 pcstack_limit--;
309 if (pcstack_limit <= 0)
326 n = dtrace_getustack_common(pcstack, pcstack_limit, pc, sp);
328 ASSERT(n <= pcstack_limit);
331 pcstack_limit -= n;
334 while (pcstack_limit-- > 0)
382 dtrace_getufpstack(uint64_t *pcstack, uint64_t *fpstack, int pcstack_limit)
398 if (pcstack_limit <= 0)
412 pcstack_limit--;
414 if (pcstack_limit <= 0)
435 pcstack_limit--;
436 if (pcstack_limit <= 0)
451 pcstack_limit--;
452 if (pcstack_limit <= 0)
492 while (pcstack_limit-- > 0)
497 dtrace_getpcstack(pc_t *pcstack, int pcstack_limit, int aframes,
517 if (intrpc != NULL && depth < pcstack_limit)
520 while (depth < pcstack_limit) {
551 ASSERT(depth < pcstack_limit);
556 if (depth < pcstack_limit)
561 while (depth < pcstack_limit)