Lines Matching refs:pid_t
23 struct thread_map *thread_map__new_by_pid(pid_t pid) in thread_map__new_by_pid()
36 threads = malloc(sizeof(*threads) + sizeof(pid_t) * items); 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()
69 max_threads * sizeof(pid_t)); in thread_map__new_by_uid()
83 pid_t pid = strtol(dirent.d_name, &end, 10); in thread_map__new_by_uid()
110 max_threads * sizeof(pid_t))); 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()
164 pid_t pid, prev_pid = INT_MAX; in thread_map__new_by_pid_str()
189 sizeof(pid_t) * total_tasks)); in thread_map__new_by_pid_str()
219 struct thread_map *threads = malloc(sizeof(*threads) + sizeof(pid_t)); in thread_map__new_dummy()
232 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str()
256 nt = realloc(threads, sizeof(*threads) + sizeof(pid_t) * ntasks); in thread_map__new_by_tid_str()