Home
last modified time | relevance | path

Searched refs:thread_pid (Results 1 – 8 of 8) sorted by relevance

/linux/net/core/
H A Dscm.c152 struct pid *thread_pid; in scm_replace_pid() local
164 thread_pid = task_pid(current); in scm_replace_pid()
166 thread_pid = pid; in scm_replace_pid()
168 err = pidfs_register_pid(thread_pid); in scm_replace_pid()
173 scm->pid[PIDTYPE_PID] = get_pid(thread_pid); in scm_replace_pid()
/linux/kernel/
H A Dpid.c385 &task->thread_pid : in task_pid_ptr()
438 struct pid *pid1 = left->thread_pid; in exchange_tids()
439 struct pid *pid2 = right->thread_pid; in exchange_tids()
449 rcu_assign_pointer(left->thread_pid, pid2); in exchange_tids()
450 rcu_assign_pointer(right->thread_pid, pid1); in exchange_tids()
H A Dexit.c247 struct pid *thread_pid; in release_thread()
260 * Pin @thread_pid before __unhash_process() clears it. The last in release_task()
263 thread_pid = get_pid(task_pid(p)); in release_task()
292 proc_flush_pid(thread_pid); in release_task()
293 put_pid(thread_pid); in release_task()
253 struct pid *thread_pid; release_task() local
H A Dfork.c1867 task->thread_pid = pid; in init_task_pid()
/linux/include/linux/
H A Dpid.h280 return task->thread_pid; in task_pid()
329 return READ_ONCE(p->thread_pid) != NULL; in pid_alive()
H A Dsched.h1117 struct pid *thread_pid; member
/linux/init/
H A Dinit_task.c186 .thread_pid = &init_struct_pid,
/linux/kernel/trace/
H A Dtrace_osnoise.c1994 kill_pid(kthread->thread_pid, SIGKILL, 1); in stop_kthread()