Lines Matching defs:kmem_stkinfo_log
129 kmem_stkinfo_t *kmem_stkinfo_log; /* stackinfo circular log */
130 static kmutex_t kmem_stkinfo_lock; /* protects kmem_stkinfo_log */
1955 if (kmem_stkinfo_log == NULL) {
1956 kmem_stkinfo_log = (kmem_stkinfo_t *)
1959 if (kmem_stkinfo_log == NULL) {
2052 if (kmem_stkinfo_log[i].percent == 0) {
2058 smallest = kmem_stkinfo_log[i].percent;
2062 if (kmem_stkinfo_log[i].percent < smallest) {
2063 smallest = kmem_stkinfo_log[i].percent;
2068 if (percent >= kmem_stkinfo_log[index].percent) {
2069 kmem_stkinfo_log[index].kthread = (caddr_t)t;
2070 kmem_stkinfo_log[index].t_startpc = (caddr_t)t->t_startpc;
2071 kmem_stkinfo_log[index].start = start;
2072 kmem_stkinfo_log[index].stksz = stksz;
2073 kmem_stkinfo_log[index].percent = percent;
2074 kmem_stkinfo_log[index].t_tid = t->t_tid;
2075 kmem_stkinfo_log[index].cmd[0] = '\0';
2080 kmem_stkinfo_log[index].cmd[stksz] = '\0';
2084 (void) memcpy(kmem_stkinfo_log[index].cmd,