Lines Matching refs:kkstp
157 kinfo_kstack_sort(struct kinfo_kstack *kkstp, int count) in kinfo_kstack_sort() argument
160 qsort(kkstp, count, sizeof(*kkstp), kinfo_kstack_compare); in kinfo_kstack_sort()
167 struct kinfo_kstack *kkstp, *kkstp_free; in procstat_kstack() local
177 kkstp = kkstp_free = procstat_getkstack(procstat, kipp, &kstk_count); in procstat_kstack()
178 if (kkstp == NULL) in procstat_kstack()
192 kinfo_kstack_sort(kkstp, kstk_count); in procstat_kstack()
194 kkstp = &kkstp_free[i]; in procstat_kstack()
203 if (kkstp->kkst_tid == kipp->ki_tid) in procstat_kstack()
210 xo_emit("{:thread_id/%6d/%d} ", kkstp->kkst_tid); in procstat_kstack()
215 switch (kkstp->kkst_state) { in procstat_kstack()
237 kstack_cleanup(kkstp->kkst_trace, trace, in procstat_kstack()
240 kstack_cleanup_encoded(kkstp->kkst_trace, encoded_trace, in procstat_kstack()