/linux-6.6.21/block/ |
D | ioprio.c | 99 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 105 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 235 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 243 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/linux-6.6.21/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enumerator 286 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_CREATE, 0, PIDTYPE_PGID, 0) < 0) in main() 329 if (_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 0) < 0) in main() 337 validate(_prctl(PR_SCHED_CORE, PR_SCHED_CORE_MAX, 0, PIDTYPE_PGID, 0) < 0 in main() 340 validate(_prctl(PR_SCHED_CORE, PR_SCHED_CORE_SHARE_TO, 0, PIDTYPE_PGID, 1) < 0 in main()
|
/linux-6.6.21/kernel/ |
D | exit.c | 129 detach_pid(p, PIDTYPE_PGID); in __unhash_process() 331 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 340 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 360 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 363 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 1670 type = PIDTYPE_PGID; in kernel_waitid() 1677 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_waitid() 1761 type = PIDTYPE_PGID; in kernel_wait4() 1764 type = PIDTYPE_PGID; in kernel_wait4() 1765 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_wait4()
|
D | sys.c | 253 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 255 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 319 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 323 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2() 1124 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2() 1134 change_pid(p, PIDTYPE_PGID, pgrp); in SYSCALL_DEFINE2() 1222 change_pid(curr, PIDTYPE_PGID, pid); in set_special_pids() 1240 if (pid_task(sid, PIDTYPE_PGID)) in ksys_setsid()
|
D | signal.c | 1478 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1479 int err = group_send_sig_info(sig, info, p, PIDTYPE_PGID); in __kill_pgrp_info() 1482 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
D | fork.c | 2679 init_task_pid(p, PIDTYPE_PGID, task_pgrp(current)); in copy_process() 2698 attach_pid(p, PIDTYPE_PGID); in copy_process()
|
/linux-6.6.21/kernel/sched/ |
D | core_sched.c | 142 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-6.6.21/fs/ |
D | fcntl.c | 127 type = PIDTYPE_PGID; in f_setown() 159 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown() 189 type = PIDTYPE_PGID; in f_setown_ex() 227 case PIDTYPE_PGID: in f_getown_ex()
|
D | exec.c | 1133 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
|
/linux-6.6.21/include/linux/ |
D | pid.h | 13 PIDTYPE_PGID, enumerator
|
D | sched.h | 1612 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, ns); in task_pgrp_nr_ns() 1617 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, NULL); in task_pgrp_vnr()
|
/linux-6.6.21/init/ |
D | init_task.c | 40 [PIDTYPE_PGID] = &init_struct_pid,
|
/linux-6.6.21/fs/autofs/ |
D | inode.c | 313 sbi->oz_pgrp = get_task_pid(current, PIDTYPE_PGID); in autofs_fill_super()
|
D | dev-ioctl.c | 358 new_pid = get_task_pid(current, PIDTYPE_PGID); in autofs_dev_ioctl_setpipefd()
|
/linux-6.6.21/drivers/tty/ |
D | tty_jobctrl.c | 446 p = pid_task(pgrp, PIDTYPE_PGID); in session_of_pgrp()
|
D | tty_io.c | 2231 type = PIDTYPE_PGID; in __tty_fasync()
|
/linux-6.6.21/include/linux/sched/ |
D | signal.h | 694 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp()
|