Home
last modified time | relevance | path

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

12

/linux/kernel/sched/
A Dcore_sched.c138 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_THREAD != PIDTYPE_PID); in sched_core_share_pid()
170 if (type != PIDTYPE_PID || uaddr & 7) { in sched_core_share_pid()
195 if (type != PIDTYPE_PID) { in sched_core_share_pid()
208 if (type == PIDTYPE_PID) { in sched_core_share_pid()
/linux/tools/testing/selftests/sched/
A Dcs_prctl_test.c61 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/kernel/
A 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()
692 task = get_pid_task(pid, PIDTYPE_PID); in pidfd_getfd()
A Dexit.c75 detach_pid(p, PIDTYPE_PID); in __unhash_process()
1478 target = pid_task(wo->wo_pid, PIDTYPE_PID); in do_wait_pid()
1513 if (wo->wo_type == PIDTYPE_PID) { in do_wait()
1570 type = PIDTYPE_PID; in kernel_waitid()
1587 type = PIDTYPE_PID; in kernel_waitid()
1674 type = PIDTYPE_PID; in kernel_wait4()
1695 .wo_type = PIDTYPE_PID, in kernel_wait()
1808 task = pid_task(pid, PIDTYPE_PID); in thread_group_exited()
A 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()
1184 trace_signal_generate(sig, info, t, type != PIDTYPE_PID, result); in __send_signal()
1346 ret = send_signal(sig, info, t, PIDTYPE_PID); in force_sig_info_to_task()
1473 p = pid_task(pid, PIDTYPE_PID); in kill_pid_info()
1551 p = pid_task(pid, PIDTYPE_PID); in kill_pid_usb_asyncio()
1633 return do_send_sig_info(sig, info, p, PIDTYPE_PID); in send_sig_info()
1987 trace_signal_generate(sig, &q->info, t, type != PIDTYPE_PID, result); in send_sigqueue()
2588 send_signal(signr, info, current, PIDTYPE_PID); in ptrace_signal()
3903 error = do_send_sig_info(sig, info, p, PIDTYPE_PID); in do_send_specific()
[all …]
A Dfork.c1739 for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) in init_task_pid_links()
1746 if (type == PIDTYPE_PID) in init_task_pid()
1831 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo()
2361 init_task_pid(p, PIDTYPE_PID, pid); in copy_process()
2396 attach_pid(p, PIDTYPE_PID); in copy_process()
2484 for (type = PIDTYPE_PID; type < PIDTYPE_MAX; ++type) { in init_idle_pids()
2594 pid = get_task_pid(p, PIDTYPE_PID); in kernel_clone()
A Dpid_namespace.c203 task = pid_task(pid, PIDTYPE_PID); in zap_pid_ns_processes()
A Dnsproxy.c367 tsk = pid_task(pid, PIDTYPE_PID); in validate_nsset()
/linux/kernel/bpf/
A Dbpf_task_storage.c133 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_lookup_elem()
167 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_update_elem()
213 task = pid_task(pid, PIDTYPE_PID); in bpf_pid_task_storage_delete_elem()
/linux/include/linux/
A Dpid.h11 PIDTYPE_PID, enumerator
203 if (type == PIDTYPE_PID) \
/linux/arch/powerpc/platforms/book3s/
A Dvas-api.c74 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/drivers/infiniband/core/
A 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()
375 owning_process = get_pid_task(umem_odp->tgid, PIDTYPE_PID); in ib_umem_odp_map_dma_and_lock()
/linux/fs/
A Dfcntl.c180 type = PIDTYPE_PID; in f_setown_ex()
218 case PIDTYPE_PID: in f_getown_ex()
805 p = pid_task(pid, PIDTYPE_PID); in send_sigio()
846 p = pid_task(pid, PIDTYPE_PID); in send_sigurg()
/linux/init/
A Dinit_task.c38 [PIDTYPE_PID] = &init_struct_pid,
/linux/fs/proc/
A Dbase.c774 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show()
1281 if (current != pid_task(proc_pid(inode), PIDTYPE_PID)) { in proc_loginuid_write()
1912 pid = get_task_pid(task, PIDTYPE_PID); in proc_pid_make_inode()
1947 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_getattr()
1991 task = pid_task(proc_pid(inode), PIDTYPE_PID); in pid_revalidate()
2004 return !proc_pid(inode)->tasks[PIDTYPE_PID].first; in proc_inode_is_dead()
2426 tp->task = get_pid_task(tp->pid, PIDTYPE_PID); in timers_start()
2726 task = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_pid_attr_write()
3727 task = pid_task(pid, PIDTYPE_PID); in first_tid()
A Dinternal.h130 return get_pid_task(proc_pid(inode), PIDTYPE_PID); in get_proc_task()
A Darray.c699 start = pid_task(proc_pid(inode), PIDTYPE_PID); in get_children_pid()
708 task = pid_task(pid_prev, PIDTYPE_PID); in get_children_pid()
A Dfd.c304 p = pid_task(proc_pid(inode), PIDTYPE_PID); in proc_fd_permission()
A Dproc_net.c264 task = pid_task(proc_pid(dir), PIDTYPE_PID); in get_proc_task_net()
/linux/drivers/gpu/drm/msm/
A Dmsm_rd.c371 task = pid_task(submit->pid, PIDTYPE_PID); in msm_rd_dump_submit()
A Dmsm_gpu.c376 task = get_pid_task(submit->pid, PIDTYPE_PID); in recover_worker()
467 task = get_pid_task(submit->pid, PIDTYPE_PID); in fault_worker()
/linux/drivers/gpu/drm/
A Ddrm_debugfs.c97 task = pid_task(priv->pid, PIDTYPE_PID); in drm_clients_info()
/linux/drivers/tty/
A Dtty_jobctrl.c443 p = pid_task(pgrp, PIDTYPE_PID); in session_of_pgrp()
/linux/drivers/misc/cxl/
A Dapi.c286 ctx->pid = get_task_pid(task, PIDTYPE_PID); in cxl_start_context()
/linux/drivers/misc/habanalabs/common/
A Dhabanalabs_drv.c144 hpriv->taskpid = get_task_pid(current, PIDTYPE_PID); in hl_device_open()

Completed in 48 milliseconds

12