Symbol: PIDTYPE_PID
arch/powerpc/platforms/book3s/vas-api.c
113
tsk = get_pid_task(pid, PIDTYPE_PID);
arch/powerpc/platforms/book3s/vas-api.c
116
tsk = get_pid_task(pid, PIDTYPE_PID);
arch/powerpc/platforms/book3s/vas-api.c
76
task_ref->pid = get_task_pid(current, PIDTYPE_PID);
arch/s390/kernel/nmi.c
267
do_send_sig_info(SIGKILL, SEND_SIG_PRIV, current, PIDTYPE_PID);
arch/s390/kernel/perf_cpum_sf.c
655
data->tid_entry.tid = cpumsf_pid_type(event, pid, PIDTYPE_PID);
drivers/accel/habanalabs/common/device.c
1439
task = get_pid_task(hpriv->taskpid, PIDTYPE_PID);
drivers/accel/habanalabs/common/habanalabs_drv.c
197
hpriv->taskpid = get_task_pid(current, PIDTYPE_PID);
drivers/accel/habanalabs/common/habanalabs_drv.c
306
hpriv->taskpid = get_task_pid(current, PIDTYPE_PID);
drivers/block/ublk_drv.c
2047
p = pid_task(pid, PIDTYPE_PID);
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
2820
usertask = get_pid_task(process_info->pid, PIDTYPE_PID);
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
2964
thread = get_pid_task(pid, PIDTYPE_PID);
drivers/gpu/drm/amd/amdkfd/kfd_process.c
1029
task = get_pid_task(pid, PIDTYPE_PID);
drivers/gpu/drm/etnaviv/etnaviv_gpu.c
1496
task = get_pid_task(submit->pid, PIDTYPE_PID);
drivers/gpu/drm/i915/gem/i915_gem_context.c
1723
ctx->pid = get_task_pid(current, PIDTYPE_PID);
drivers/gpu/drm/i915/i915_gpu_error.c
1466
task = pid_task(ctx->pid, PIDTYPE_PID);
drivers/gpu/drm/msm/msm_gem.c
990
get_pid_task(vm->pid, PIDTYPE_PID);
drivers/gpu/drm/msm/msm_gpu.c
450
task = get_pid_task(submit->pid, PIDTYPE_PID);
drivers/gpu/drm/msm/msm_gpu.c
490
task = get_pid_task(submit->pid, PIDTYPE_PID);
drivers/gpu/drm/msm/msm_rd.c
362
task = pid_task(submit->pid, PIDTYPE_PID);
drivers/gpu/drm/ttm/tests/ttm_bo_test.c
181
do_send_sig_info(SIGTERM, SEND_SIG_PRIV, task, PIDTYPE_PID);
drivers/gpu/drm/xe/xe_device.c
112
task = get_pid_task(rcu_access_pointer(file->pid), PIDTYPE_PID);
drivers/infiniband/core/umem_odp.c
347
owning_process = get_pid_task(umem_odp->tgid, PIDTYPE_PID);
drivers/tty/tty_jobctrl.c
448
p = pid_task(pgrp, PIDTYPE_PID);
fs/fcntl.c
230
type = PIDTYPE_PID;
fs/fcntl.c
266
enum pid_type pid_type = PIDTYPE_PID;
fs/fcntl.c
279
case PIDTYPE_PID:
fs/fcntl.c
927
p = pid_task(pid, PIDTYPE_PID);
fs/fcntl.c
973
p = pid_task(pid, PIDTYPE_PID);
fs/gfs2/glock.c
2239
gh_owner = pid_task(gh->gh_owner_pid, PIDTYPE_PID);
fs/pidfs.c
250
if (likely(pid_has_task(pid, PIDTYPE_PID))) {
fs/pidfs.c
292
task = pid_task(pid, PIDTYPE_PID);
fs/pidfs.c
387
task = get_pid_task(pid, PIDTYPE_PID);
fs/pidfs.c
526
task = get_pid_task(pidfd_pid(file), PIDTYPE_PID);
fs/proc/array.c
721
start = pid_task(proc_pid(inode), PIDTYPE_PID);
fs/proc/array.c
730
task = pid_task(pid_prev, PIDTYPE_PID);
fs/proc/base.c
1343
if (current != pid_task(proc_pid(inode), PIDTYPE_PID)) {
fs/proc/base.c
1967
pid = get_task_pid(task, PIDTYPE_PID);
fs/proc/base.c
2030
task = pid_task(proc_pid(inode), PIDTYPE_PID);
fs/proc/base.c
2075
task = pid_task(proc_pid(inode), PIDTYPE_PID);
fs/proc/base.c
2088
return !proc_pid(inode)->tasks[PIDTYPE_PID].first;
fs/proc/base.c
2515
tp->task = get_pid_task(tp->pid, PIDTYPE_PID);
fs/proc/base.c
2809
task = pid_task(proc_pid(inode), PIDTYPE_PID);
fs/proc/base.c
3863
task = pid_task(pid, PIDTYPE_PID);
fs/proc/base.c
808
task = get_pid_task(pid, PIDTYPE_PID);
fs/proc/fd.c
342
p = pid_task(proc_pid(inode), PIDTYPE_PID);
fs/proc/internal.h
149
return get_pid_task(proc_pid(inode), PIDTYPE_PID);
fs/proc/proc_net.c
275
task = pid_task(proc_pid(dir), PIDTYPE_PID);
include/linux/pid.h
201
if (type == PIDTYPE_PID) \
include/linux/pid.h
241
return __task_pid_nr_ns(tsk, PIDTYPE_PID, ns);
include/linux/pid.h
246
return __task_pid_nr_ns(tsk, PIDTYPE_PID, NULL);
include/linux/sched/signal.h
672
if (type == PIDTYPE_PID)
init/init_task.c
44
[PIDTYPE_PID] = &init_struct_pid,
kernel/bpf/bpf_task_storage.c
113
task = pid_task(pid, PIDTYPE_PID);
kernel/bpf/bpf_task_storage.c
156
task = pid_task(pid, PIDTYPE_PID);
kernel/bpf/bpf_task_storage.c
78
task = pid_task(pid, PIDTYPE_PID);
kernel/bpf/syscall.c
5593
task = get_pid_task(find_vpid(pid), PIDTYPE_PID);
kernel/bpf/task_iter.c
101
task = get_pid_task(pid, PIDTYPE_PID);
kernel/bpf/task_iter.c
122
task = get_pid_task(pid, PIDTYPE_PID);
kernel/bpf/task_iter.c
62
task = get_pid_task(pid, PIDTYPE_PID);
kernel/bpf/task_iter.c
76
next_tid = __task_pid_nr_ns(task, PIDTYPE_PID, common->ns);
kernel/events/core.c
1545
return perf_event_pid_type(event, p, PIDTYPE_PID);
kernel/exit.c
141
detach_pid(post->pids, p, PIDTYPE_PID);
kernel/exit.c
1652
target = pid_task(wo->wo_pid, PIDTYPE_PID);
kernel/exit.c
1680
if (wo->wo_type == PIDTYPE_PID) {
kernel/exit.c
1754
type = PIDTYPE_PID;
kernel/exit.c
1771
type = PIDTYPE_PID;
kernel/exit.c
1871
type = PIDTYPE_PID;
kernel/exit.c
1892
.wo_type = PIDTYPE_PID,
kernel/fork.c
1803
for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type)
kernel/fork.c
1810
if (type == PIDTYPE_PID)
kernel/fork.c
1883
if (!pid_has_task(pid, PIDTYPE_PID))
kernel/fork.c
2419
init_task_pid(p, PIDTYPE_PID, pid);
kernel/fork.c
2453
attach_pid(p, PIDTYPE_PID);
kernel/fork.c
2551
for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) {
kernel/fork.c
2665
pid = get_task_pid(p, PIDTYPE_PID);
kernel/nsproxy.c
403
tsk = pid_task(pid, PIDTYPE_PID);
kernel/pid.c
375
return (type == PIDTYPE_PID) ?
kernel/pid.c
431
struct hlist_head *head1 = &pid1->tasks[PIDTYPE_PID];
kernel/pid.c
432
struct hlist_head *head2 = &pid2->tasks[PIDTYPE_PID];
kernel/pid.c
452
WARN_ON_ONCE(type == PIDTYPE_PID);
kernel/pid.c
478
return pid_task(find_pid_ns(nr, ns), PIDTYPE_PID);
kernel/pid.c
622
type = PIDTYPE_PID;
kernel/pid.c
916
task = get_pid_task(pid, PIDTYPE_PID);
kernel/pid_namespace.c
229
task = pid_task(pid, PIDTYPE_PID);
kernel/ptrace.c
384
send_signal_locked(SIGSTOP, SEND_SIG_PRIV, task, PIDTYPE_PID);
kernel/sched/core_sched.c
142
BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD != PIDTYPE_PID);
kernel/sched/core_sched.c
174
if (type != PIDTYPE_PID || uaddr & 7) {
kernel/sched/core_sched.c
199
if (type != PIDTYPE_PID) {
kernel/sched/core_sched.c
212
if (type == PIDTYPE_PID) {
kernel/signal.c
1056
pending = (type != PIDTYPE_PID) ? &t->signal->shared_pending : &t->pending;
kernel/signal.c
1155
trace_signal_generate(sig, info, t, type != PIDTYPE_PID, result);
kernel/signal.c
1320
ret = send_signal_locked(sig, info, t, PIDTYPE_PID);
kernel/signal.c
1457
p = pid_task(pid, PIDTYPE_PID);
kernel/signal.c
1539
p = pid_task(pid, PIDTYPE_PID);
kernel/signal.c
1621
return do_send_sig_info(sig, info, p, PIDTYPE_PID);
kernel/signal.c
1949
pending = (type != PIDTYPE_PID) ? &t->signal->shared_pending : &t->pending;
kernel/signal.c
1970
if (t && tmr->it_pid_type != PIDTYPE_PID &&
kernel/signal.c
2083
trace_signal_generate(sig, &q->info, t, tmr->it_pid_type != PIDTYPE_PID, result);
kernel/signal.c
2911
type = PIDTYPE_PID;
kernel/signal.c
3937
info->si_code = (type == PIDTYPE_PID) ? SI_TKILL : SI_USER;
kernel/signal.c
4015
type = PIDTYPE_PID;
kernel/signal.c
4080
pid = get_task_pid(current, PIDTYPE_PID);
kernel/signal.c
4081
type = PIDTYPE_PID;
kernel/signal.c
4102
type = PIDTYPE_PID;
kernel/signal.c
4131
error = do_send_sig_info(sig, info, p, PIDTYPE_PID);
kernel/signal.c
4150
prepare_kill_siginfo(sig, &info, PIDTYPE_PID);
kernel/signal.c
5042
ret = send_signal_locked(sig, SEND_SIG_PRIV, t, PIDTYPE_PID);
kernel/signal.c
627
*type = PIDTYPE_PID;
kernel/signal.c
975
else if ((type == PIDTYPE_PID) || thread_group_empty(p))
kernel/time/posix-cpu-timers.c
110
return CPUCLOCK_PERTHREAD(clock) ? PIDTYPE_PID : PIDTYPE_TGID;
kernel/time/posix-cpu-timers.c
78
struct task_struct *tsk = pid_task(pid, PIDTYPE_PID);
kernel/time/posix-timers.c
399
rtn = pid_task(pid, PIDTYPE_PID);
kernel/time/posix-timers.c
518
new_timer->it_pid_type = PIDTYPE_PID;
kernel/trace/bpf_trace.c
3536
if (type != PIDTYPE_PID && type != PIDTYPE_TGID)
kernel/trace/bpf_trace.c
892
return bpf_send_signal_common(sig, PIDTYPE_PID, NULL, 0);
mm/damon/vaddr.c
32
return get_pid_task(t->pid, PIDTYPE_PID);
mm/memory-failure.c
473
tk->tsk, PIDTYPE_PID);
net/ipv6/ip6_flowlabel.c
441
fl->owner.pid = get_task_pid(current, PIDTYPE_PID);
tools/testing/selftests/bpf/progs/test_send_signal_kern.c
32
ret = bpf_send_signal_task(target_task, sig, PIDTYPE_PID, value);
tools/testing/selftests/sched/cs_prctl_test.c
117
ret = prctl(PR_SCHED_CORE, PR_SCHED_CORE_GET, pid, PIDTYPE_PID,
tools/testing/selftests/sched/cs_prctl_test.c
310
if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, pid, PIDTYPE_PID, 0) < 0)
tools/testing/selftests/sched/cs_prctl_test.c
321
PIDTYPE_PID, 0) < 0)
virt/kvm/kvm_main.c
3874
task = get_pid_task(target->pid, PIDTYPE_PID);
virt/kvm/kvm_main.c
4468
newpid = get_task_pid(current, PIDTYPE_PID);