Lines Matching refs:pid
52 _get_task_permitted_caps(int pid, int tid, uint64_t *cap) in _get_task_permitted_caps() argument
63 snprintf(path, sizeof path, "/proc/%d/task/%d/status", pid, tid); in _get_task_permitted_caps()
195 agent->pid = ps_getpid(proc_handle); in td_ta_new()
234 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper()
235 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
249 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); in _event_getmsg_helper()
250 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
258 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL); in _event_getmsg_helper()
259 gEventMsgHandle.tid = gEventMsgHandle.pid; in _event_getmsg_helper()
295 th->pid = ps_getpid(agent->ph); in td_ta_map_lwp2thr()
366 snprintf(path, sizeof(path), "/proc/%d/task/", agent->pid); in td_ta_thr_iter()
372 handle.pid = agent->pid; in td_ta_thr_iter()