Lines Matching refs:pcstack_limit
172 dtrace_getustack_common(uint64_t *pcstack, int pcstack_limit, user_addr_t pc,
185 ASSERT(pcstack == NULL || pcstack_limit > 0);
201 pcstack_limit--;
202 if (pcstack_limit <= 0)
258 dtrace_getupcstack(uint64_t *pcstack, int pcstack_limit)
271 if (pcstack_limit <= 0)
285 pcstack_limit--;
287 if (pcstack_limit <= 0)
302 pcstack_limit--;
303 if (pcstack_limit <= 0)
318 n = dtrace_getustack_common(pcstack, pcstack_limit, pc, fp);
320 ASSERT(n <= pcstack_limit);
323 pcstack_limit -= n;
326 while (pcstack_limit-- > 0)
381 dtrace_getufpstack(uint64_t *pcstack, uint64_t *fpstack, int pcstack_limit)
397 if (pcstack_limit <= 0)
411 pcstack_limit--;
413 if (pcstack_limit <= 0)
434 pcstack_limit--;
435 if (pcstack_limit <= 0)
447 pcstack_limit--;
448 if (pcstack_limit <= 0)
500 while (pcstack_limit-- > 0)
505 dtrace_getpcstack(pc_t *pcstack, int pcstack_limit, int aframes,
525 if (intrpc != NULL && depth < pcstack_limit)
528 while (depth < pcstack_limit) {
559 ASSERT(depth < pcstack_limit);
564 if (depth < pcstack_limit)
569 while (depth < pcstack_limit)