Home
last modified time | relevance | path

Searched refs:thread_pid (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/kernel/
H A Dpid.c324 &task->thread_pid : in task_pid_ptr()
370 struct pid *pid1 = left->thread_pid; in exchange_tids()
371 struct pid *pid2 = right->thread_pid; in exchange_tids()
379 rcu_assign_pointer(left->thread_pid, pid2); in exchange_tids()
380 rcu_assign_pointer(right->thread_pid, pid1); in exchange_tids()
392 new->thread_pid = old->thread_pid; in transfer_pid()
H A Dexit.c240 struct pid *thread_pid; in release_task() local
253 thread_pid = get_pid(p->thread_pid); in release_task()
277 proc_flush_pid(thread_pid); in release_task()
278 put_pid(thread_pid); in release_task()
H A Dfork.c1702 task->thread_pid = pid; in init_task_pid()
/kernel/linux/linux-6.6/kernel/
H A Dpid.c327 &task->thread_pid : in task_pid_ptr()
373 struct pid *pid1 = left->thread_pid; in exchange_tids()
374 struct pid *pid2 = right->thread_pid; in exchange_tids()
382 rcu_assign_pointer(left->thread_pid, pid2); in exchange_tids()
383 rcu_assign_pointer(right->thread_pid, pid1); in exchange_tids()
395 new->thread_pid = old->thread_pid; in transfer_pid()
H A Dexit.c249 struct pid *thread_pid; in release_task() local
262 thread_pid = get_pid(p->thread_pid); in release_task()
286 proc_flush_pid(thread_pid); in release_task()
287 put_pid(thread_pid); in release_task()
H A Dfork.c1976 task->thread_pid = pid; in init_task_pid()
/kernel/linux/linux-5.10/init/
H A Dinit_task.c136 .thread_pid = &init_struct_pid,
/kernel/linux/linux-6.6/init/
H A Dinit_task.c137 .thread_pid = &init_struct_pid,
/kernel/linux/linux-5.10/include/linux/
H A Dsched.h1014 struct pid *thread_pid; member
1533 return task->thread_pid; in task_pid()
1582 return p->thread_pid != NULL; in pid_alive()
/kernel/linux/linux-6.6/include/linux/
H A Dsched.h1121 struct pid *thread_pid; member
1681 return task->thread_pid; in task_pid()
1730 return p->thread_pid != NULL; in pid_alive()
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dasm-offsets.c53 DEFINE(IA64_TASK_THREAD_PID_OFFSET,offsetof (struct task_struct, thread_pid)); in foo()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dasm-offsets.c53 DEFINE(IA64_TASK_THREAD_PID_OFFSET,offsetof (struct task_struct, thread_pid)); in foo()
/kernel/linux/linux-6.6/kernel/trace/
H A Dtrace_osnoise.c1958 kill_pid(kthread->thread_pid, SIGKILL, 1); in stop_kthread()

Completed in 25 milliseconds