/linux-6.1.9/kernel/sched/ |
D | core_sched.c | 140 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD != PIDTYPE_PID); in sched_core_share_pid() 172 if (type != PIDTYPE_PID || uaddr & 7) { in sched_core_share_pid() 197 if (type != PIDTYPE_PID) { in sched_core_share_pid() 210 if (type == PIDTYPE_PID) { in sched_core_share_pid()
|
/linux-6.1.9/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 61 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enumerator 116 ret = prctl(PR_SCHED_CORE, PR_SCHED_CORE_GET, pid, PIDTYPE_PID, in get_cs_cookie() 301 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, pid, PIDTYPE_PID, 0) < 0) in main() 312 PIDTYPE_PID, 0) < 0) in main()
|
/linux-6.1.9/kernel/ |
D | pid.c | 323 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() 693 task = get_pid_task(pid, PIDTYPE_PID); in pidfd_getfd()
|
D | exit.c | 125 detach_pid(p, PIDTYPE_PID); in __unhash_process() 1562 target = pid_task(wo->wo_pid, PIDTYPE_PID); in do_wait_pid() 1597 if (wo->wo_type == PIDTYPE_PID) { in do_wait() 1654 type = PIDTYPE_PID; in kernel_waitid() 1671 type = PIDTYPE_PID; in kernel_waitid() 1758 type = PIDTYPE_PID; in kernel_wait4() 1779 .wo_type = PIDTYPE_PID, in kernel_wait() 1892 task = pid_task(pid, PIDTYPE_PID); in thread_group_exited()
|
D | signal.c | 638 *type = PIDTYPE_PID; in dequeue_signal() 1011 else if ((type == PIDTYPE_PID) || thread_group_empty(p)) in complete_signal() 1093 pending = (type != PIDTYPE_PID) ? &t->signal->shared_pending : &t->pending; in __send_signal_locked() 1192 trace_signal_generate(sig, info, t, type != PIDTYPE_PID, result); in __send_signal_locked() 1349 ret = send_signal_locked(sig, info, t, PIDTYPE_PID); in force_sig_info_to_task() 1476 p = pid_task(pid, PIDTYPE_PID); in kill_pid_info() 1554 p = pid_task(pid, PIDTYPE_PID); in kill_pid_usb_asyncio() 1636 return do_send_sig_info(sig, info, p, PIDTYPE_PID); in send_sig_info() 1996 pending = (type != PIDTYPE_PID) ? &t->signal->shared_pending : &t->pending; in send_sigqueue() 2002 trace_signal_generate(sig, &q->info, t, type != PIDTYPE_PID, result); in send_sigqueue() [all …]
|
D | fork.c | 1790 for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) in init_task_pid_links() 1797 if (type == PIDTYPE_PID) in init_task_pid() 1883 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo() 2440 init_task_pid(p, PIDTYPE_PID, pid); in copy_process() 2476 attach_pid(p, PIDTYPE_PID); in copy_process() 2568 for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) { in init_idle_pids() 2688 pid = get_task_pid(p, PIDTYPE_PID); in kernel_clone()
|
D | pid_namespace.c | 203 task = pid_task(pid, PIDTYPE_PID); in zap_pid_ns_processes()
|
/linux-6.1.9/kernel/bpf/ |
D | bpf_task_storage.c | 135 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_lookup_elem() 169 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_update_elem() 216 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_delete_elem()
|
D | task_iter.c | 64 task = get_pid_task(pid, PIDTYPE_PID); in task_group_seq_get_next() 73 task = get_pid_task(pid, PIDTYPE_PID); in task_group_seq_get_next() 89 *tid = __task_pid_nr_ns(next_task, PIDTYPE_PID, common->ns); in task_group_seq_get_next() 143 task = get_pid_task(pid, PIDTYPE_PID); in task_seq_get_next()
|
/linux-6.1.9/include/linux/ |
D | pid.h | 11 PIDTYPE_PID, enumerator 203 if (type == PIDTYPE_PID) \
|
/linux-6.1.9/drivers/infiniband/core/ |
D | umem_odp.c | 136 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_alloc_implicit() 250 umem_odp->tgid = get_task_pid(current->group_leader, PIDTYPE_PID); in ib_umem_odp_get() 372 owning_process = get_pid_task(umem_odp->tgid, PIDTYPE_PID); in ib_umem_odp_map_dma_and_lock()
|
/linux-6.1.9/arch/powerpc/platforms/book3s/ |
D | vas-api.c | 74 task_ref->pid = get_task_pid(current, PIDTYPE_PID); in get_vas_user_win_ref() 111 tsk = get_pid_task(pid, PIDTYPE_PID); in ref_get_pid_and_task() 114 tsk = get_pid_task(pid, PIDTYPE_PID); in ref_get_pid_and_task()
|
/linux-6.1.9/fs/ |
D | fcntl.c | 180 type = PIDTYPE_PID; in f_setown_ex() 218 case PIDTYPE_PID: in f_getown_ex() 787 p = pid_task(pid, PIDTYPE_PID); in send_sigio() 828 p = pid_task(pid, PIDTYPE_PID); in send_sigurg()
|
/linux-6.1.9/init/ |
D | init_task.c | 38 [PIDTYPE_PID] = &init_struct_pid,
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | habanalabs_drv.c | 159 hpriv->taskpid = get_task_pid(current, PIDTYPE_PID); in hl_device_open() 269 hpriv->taskpid = get_task_pid(current, PIDTYPE_PID); in hl_device_open_ctrl()
|
/linux-6.1.9/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_gem.c | 263 task = pid_task(file->pid, PIDTYPE_PID); in vmw_debugfs_gem_info_show()
|
/linux-6.1.9/fs/proc/ |
D | internal.h | 130 return get_pid_task(proc_pid(inode), PIDTYPE_PID); in get_proc_task()
|
D | base.c | 773 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show() 1280 if (current != pid_task(proc_pid(inode), PIDTYPE_PID)) { in proc_loginuid_write() 1911 pid = get_task_pid(task, PIDTYPE_PID); in proc_pid_make_inode() 1974 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_getattr() 2018 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_revalidate() 2031 return !proc_pid(inode)->tasks[PIDTYPE_PID].first; in proc_inode_is_dead() 2456 tp->task = get_pid_task(tp->pid, PIDTYPE_PID); in timers_start() 2756 task = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_pid_attr_write() 3796 task = pid_task(pid, PIDTYPE_PID); in first_tid()
|
D | proc_net.c | 274 task = pid_task(proc_pid(dir), PIDTYPE_PID); in get_proc_task_net()
|
D | fd.c | 314 p = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_fd_permission()
|
D | array.c | 708 start = pid_task(proc_pid(inode), PIDTYPE_PID); in get_children_pid() 717 task = pid_task(pid_prev, PIDTYPE_PID); in get_children_pid()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_rd.c | 383 task = pid_task(submit->pid, PIDTYPE_PID); in msm_rd_dump_submit()
|
/linux-6.1.9/drivers/misc/cxl/ |
D | api.c | 287 ctx->pid = get_task_pid(task, PIDTYPE_PID); in cxl_start_context()
|
/linux-6.1.9/drivers/gpu/drm/ |
D | drm_debugfs.c | 97 task = pid_task(priv->pid, PIDTYPE_PID); in drm_clients_info()
|
/linux-6.1.9/drivers/tty/ |
D | tty_jobctrl.c | 443 p = pid_task(pgrp, PIDTYPE_PID); in session_of_pgrp()
|