Home
last modified time | relevance | path

Searched refs:PIDTYPE_PID (Results 1 – 25 of 48) sorted by relevance

12

/kernel/linux/linux-5.10/kernel/
Dpid.c323 return (type == PIDTYPE_PID) ? in task_pid_ptr()
372 struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID]; in exchange_tids()
373 struct hlist_head *head2 = &pid2->tasks[PIDTYPE_PID]; in exchange_tids()
391 if (type == PIDTYPE_PID) in transfer_pid()
417 return pid_task(find_pid_ns(nr, ns), PIDTYPE_PID); in find_task_by_pid_ns()
651 task = get_pid_task(pid, PIDTYPE_PID); in pidfd_getfd()
Dexit.c80 detach_pid(p, PIDTYPE_PID); in __unhash_process()
1512 type = PIDTYPE_PID; in kernel_waitid()
1529 type = PIDTYPE_PID; in kernel_waitid()
1616 type = PIDTYPE_PID; in kernel_wait4()
1637 .wo_type = PIDTYPE_PID, in kernel_wait()
1750 task = pid_task(pid, PIDTYPE_PID); in thread_group_exited()
Dsignal.c1003 else if ((type == PIDTYPE_PID) || thread_group_empty(p)) in complete_signal()
1085 pending = (type != PIDTYPE_PID) ? &t->signal->shared_pending : &t->pending; in __send_signal()
1183 trace_signal_generate(sig, info, t, type != PIDTYPE_PID, result); in __send_signal()
1334 ret = send_signal(sig, info, t, PIDTYPE_PID); in force_sig_info_to_task()
1446 p = pid_task(pid, PIDTYPE_PID); in kill_pid_info()
1524 p = pid_task(pid, PIDTYPE_PID); in kill_pid_usb_asyncio()
1606 return do_send_sig_info(sig, info, p, PIDTYPE_PID); in send_sig_info()
1878 pending = (type != PIDTYPE_PID) ? &t->signal->shared_pending : &t->pending; in send_sigqueue()
1884 trace_signal_generate(sig, &q->info, t, type != PIDTYPE_PID, result); in send_sigqueue()
2510 send_signal(signr, info, current, PIDTYPE_PID); in ptrace_signal()
[all …]
Dfork.c1681 for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) { in init_task_pid_links()
1689 if (type == PIDTYPE_PID) in init_task_pid()
1774 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo()
2297 init_task_pid(p, PIDTYPE_PID, pid); in copy_process()
2332 attach_pid(p, PIDTYPE_PID); in copy_process()
2423 for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) { in init_idle_pids()
2533 pid = get_task_pid(p, PIDTYPE_PID); in kernel_clone()
Dpid_namespace.c210 task = pid_task(pid, PIDTYPE_PID); in zap_pid_ns_processes()
Dnsproxy.c372 tsk = pid_task(pid, PIDTYPE_PID); in validate_nsset()
/kernel/linux/linux-5.10/include/linux/
Dpid.h11 PIDTYPE_PID, enumerator
201 if (type == PIDTYPE_PID) \
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem_odp.c138 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_alloc_implicit()
253 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_get()
378 owning_process = get_pid_task(umem_odp->tgid, PIDTYPE_PID); in ib_umem_odp_map_dma_and_lock()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
Dvas-fault.c96 tsk = get_pid_task(pid, PIDTYPE_PID); in update_csb()
115 tsk = get_pid_task(pid, PIDTYPE_PID); in update_csb()
/kernel/linux/linux-5.10/kernel/locking/
Drtmutex-debug.c95 task = pid_task(waiter->deadlock_task_pid, PIDTYPE_PID); in debug_rt_mutex_print_deadlock()
/kernel/linux/linux-5.10/fs/
Dfcntl.c179 type = PIDTYPE_PID; in f_setown_ex()
217 case PIDTYPE_PID: in f_getown_ex()
804 p = pid_task(pid, PIDTYPE_PID); in send_sigio()
845 p = pid_task(pid, PIDTYPE_PID); in send_sigurg()
/kernel/linux/linux-5.10/init/
Dinit_task.c38 [PIDTYPE_PID] = &init_struct_pid,
/kernel/linux/linux-5.10/drivers/staging/hungtask/
Dhungtask_user.c41 p = pid_task(find_vpid(pid), PIDTYPE_PID); in htuser_show_task()
/kernel/linux/linux-5.10/fs/proc/
Dinternal.h130 return get_pid_task(proc_pid(inode), PIDTYPE_PID); in get_proc_task()
Dfd.c307 p = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_fd_permission()
Dproc_net.c264 task = pid_task(proc_pid(dir), PIDTYPE_PID); in get_proc_task_net()
Darray.c682 start = pid_task(proc_pid(inode), PIDTYPE_PID); in get_children_pid()
691 task = pid_task(pid_prev, PIDTYPE_PID); in get_children_pid()
Dbase.c780 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show()
1303 if (current != pid_task(proc_pid(inode), PIDTYPE_PID)) { in proc_loginuid_write()
2098 pid = get_task_pid(task, PIDTYPE_PID); in proc_pid_make_inode()
2133 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_getattr()
2188 return !proc_pid(inode)->tasks[PIDTYPE_PID].first; in proc_inode_is_dead()
2610 tp->task = get_pid_task(tp->pid, PIDTYPE_PID); in timers_start()
2910 task = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_pid_attr_write()
3944 task = pid_task(pid, PIDTYPE_PID); in first_tid()
/kernel/linux/linux-5.10/kernel/bpf/
Dtask_iter.c36 task = get_pid_task(pid, PIDTYPE_PID); in task_seq_get_next()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
Dmsm_rd.c370 task = pid_task(submit->pid, PIDTYPE_PID); in msm_rd_dump_submit()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_debugfs.c97 task = pid_task(priv->pid, PIDTYPE_PID); in drm_clients_info()
/kernel/linux/linux-5.10/drivers/misc/cxl/
Dapi.c286 ctx->pid = get_task_pid(task, PIDTYPE_PID); in cxl_start_context()
/kernel/linux/linux-5.10/drivers/tty/
Dtty_jobctrl.c428 p = pid_task(pgrp, PIDTYPE_PID); in session_of_pgrp()
/kernel/linux/linux-5.10/include/linux/sched/
Dsignal.h638 if (type == PIDTYPE_PID) in task_pid_type()
/kernel/linux/linux-5.10/kernel/time/
Dposix-cpu-timers.c71 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock()
103 return CPUCLOCK_PERTHREAD(clock) ? PIDTYPE_PID : PIDTYPE_TGID; in clock_pid_type()

12