Home | History | Annotate | Download | only in util

Lines Matching refs:th

68 	struct thread *th;
80 th = rb_entry(parent, struct thread, rb_node);
82 if (th->pid == pid) {
83 self->last_match = th;
84 return th;
87 if (pid < th->pid)
93 th = thread__new(pid);
94 if (th != NULL) {
95 rb_link_node(&th->rb_node, parent, p);
96 rb_insert_color(&th->rb_node, &self->threads);
97 self->last_match = th;
100 return th;