Lines Matching refs:thread_stat
114 struct thread_stat { struct
123 static struct thread_stat *thread_stat_find(u32 tid) in thread_stat_find() argument
126 struct thread_stat *st; in thread_stat_find()
130 st = container_of(node, struct thread_stat, rb); in thread_stat_find()
142 static void thread_stat_insert(struct thread_stat *new) in thread_stat_insert()
146 struct thread_stat *p; in thread_stat_insert()
149 p = container_of(*rb, struct thread_stat, rb); in thread_stat_insert()
164 static struct thread_stat *thread_stat_findnew_after_first(u32 tid) in thread_stat_findnew_after_first()
166 struct thread_stat *st; in thread_stat_findnew_after_first()
172 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_after_first()
186 static struct thread_stat *thread_stat_findnew_first(u32 tid);
187 static struct thread_stat *(*thread_stat_findnew)(u32 tid) =
190 static struct thread_stat *thread_stat_findnew_first(u32 tid) in thread_stat_findnew_first()
192 struct thread_stat *st; in thread_stat_findnew_first()
194 st = zalloc(sizeof(struct thread_stat)); in thread_stat_findnew_first()
364 static struct lock_seq_stat *get_seq(struct thread_stat *ts, void *addr) in get_seq()
405 struct thread_stat *ts; in report_lock_acquire_event()
477 struct thread_stat *ts; in report_lock_acquired_event()
540 struct thread_stat *ts; in report_lock_contended_event()
595 struct thread_stat *ts; in report_lock_release_event()
761 struct thread_stat *st; in dump_threads()
769 st = container_of(node, struct thread_stat, rb); in dump_threads()