Lines Matching refs:pid
64 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) in _get_task_permitted_caps() argument
75 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); in _get_task_permitted_caps()
208 agent->pid = ps_getpid(proc_handle); in td_ta_new()
247 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
248 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
262 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); in _event_getmsg_helper()
263 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
271 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL); in _event_getmsg_helper()
272 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
308 th->pid = ps_getpid(agent->ph); in td_ta_map_lwp2thr()
379 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid); in td_ta_thr_iter()
385 handle.pid = agent->pid; in td_ta_thr_iter()