Home
last modified time | relevance | path

Searched refs:PIDTYPE_PGID (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/block/
Dioprio.c98 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
104 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
234 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
242 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
/Linux-v6.1/tools/testing/selftests/sched/
Dcs_prctl_test.c61 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enumerator
277 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, 0, PIDTYPE_PGID, 0) < 0) in main()
320 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 0) < 0) in main()
/Linux-v6.1/kernel/
Dexit.c81 detach_pid(p, PIDTYPE_PGID); in __unhash_process()
283 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
292 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
312 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
315 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
1599 type = PIDTYPE_PGID; in kernel_waitid()
1606 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_waitid()
1690 type = PIDTYPE_PGID; in kernel_wait4()
1693 type = PIDTYPE_PGID; in kernel_wait4()
1694 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_wait4()
Dsys.c246 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
248 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
312 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
316 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
1106 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2()
1116 change_pid(p, PIDTYPE_PGID, pgrp); in SYSCALL_DEFINE2()
1204 change_pid(curr, PIDTYPE_PGID, pid); in set_special_pids()
1222 if (pid_task(sid, PIDTYPE_PGID)) in ksys_setsid()
Dsignal.c1461 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1462 int err = group_send_sig_info(sig, info, p, PIDTYPE_PGID); in __kill_pgrp_info()
1465 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
Dfork.c2438 init_task_pid(p, PIDTYPE_PGID, task_pgrp(current)); in copy_process()
2457 attach_pid(p, PIDTYPE_PGID); in copy_process()
/Linux-v6.1/kernel/sched/
Dcore_sched.c142 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_PROCESS_GROUP != PIDTYPE_PGID); in sched_core_share_pid()
144 if (type > PIDTYPE_PGID || cmd >= PR_SCHED_CORE_MAX || pid < 0 || in sched_core_share_pid()
/Linux-v6.1/fs/
Dfcntl.c126 type = PIDTYPE_PGID; in f_setown()
158 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown()
188 type = PIDTYPE_PGID; in f_setown_ex()
226 case PIDTYPE_PGID: in f_getown_ex()
Dexec.c1131 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
/Linux-v6.1/include/linux/
Dpid.h13 PIDTYPE_PGID, enumerator
Dsched.h1604 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, ns); in task_pgrp_nr_ns()
1609 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, NULL); in task_pgrp_vnr()
/Linux-v6.1/init/
Dinit_task.c40 [PIDTYPE_PGID] = &init_struct_pid,
/Linux-v6.1/fs/autofs/
Dinode.c313 sbi->oz_pgrp = get_task_pid(current, PIDTYPE_PGID); in autofs_fill_super()
Ddev-ioctl.c358 new_pid = get_task_pid(current, PIDTYPE_PGID); in autofs_dev_ioctl_setpipefd()
/Linux-v6.1/drivers/tty/
Dtty_jobctrl.c441 p = pid_task(pgrp, PIDTYPE_PGID); in session_of_pgrp()
Dtty_io.c2230 type = PIDTYPE_PGID; in __tty_fasync()
/Linux-v6.1/include/linux/sched/
Dsignal.h697 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp()