Lines Matching refs:thread_map
23 struct thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid()
25 struct thread_map *threads; in thread_map__new_by_pid()
50 struct thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid()
52 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); in thread_map__new_by_tid()
62 struct thread_map *thread_map__new_by_uid(uid_t uid) in thread_map__new_by_uid()
68 struct thread_map *threads = malloc(sizeof(*threads) + in thread_map__new_by_uid()
107 struct thread_map *tmp; in thread_map__new_by_uid()
146 struct thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new()
157 static struct thread_map *thread_map__new_by_pid_str(const char *pid_str) in thread_map__new_by_pid_str()
159 struct thread_map *threads = NULL, *nt; in thread_map__new_by_pid_str()
217 struct thread_map *thread_map__new_dummy(void) in thread_map__new_dummy()
219 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); in thread_map__new_dummy()
228 static struct thread_map *thread_map__new_by_tid_str(const char *tid_str) in thread_map__new_by_tid_str()
230 struct thread_map *threads = NULL, *nt; in thread_map__new_by_tid_str()
273 struct thread_map *thread_map__new_str(const char *pid, const char *tid, in thread_map__new_str()
285 void thread_map__delete(struct thread_map *threads) in thread_map__delete()
290 size_t thread_map__fprintf(struct thread_map *threads, FILE *fp) in thread_map__fprintf()