/linux/block/ |
A D | ioprio.c | 130 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 136 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 224 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 232 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
|
/linux/kernel/ |
A D | exit.c | 78 detach_pid(p, PIDTYPE_PGID); in __unhash_process() 275 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp() 284 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp() 304 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs() 307 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs() 1577 type = PIDTYPE_PGID; in kernel_waitid() 1584 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_waitid() 1668 type = PIDTYPE_PGID; in kernel_wait4() 1671 type = PIDTYPE_PGID; in kernel_wait4() 1672 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_wait4()
|
A D | sys.c | 238 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3() 240 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3() 304 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2() 308 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2() 1090 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2() 1100 change_pid(p, PIDTYPE_PGID, pgrp); in SYSCALL_DEFINE2() 1188 change_pid(curr, PIDTYPE_PGID, pid); in set_special_pids() 1206 if (pid_task(sid, PIDTYPE_PGID)) in ksys_setsid()
|
A D | signal.c | 1458 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info() 1459 int err = group_send_sig_info(sig, info, p, PIDTYPE_PGID); in __kill_pgrp_info() 1462 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
|
A D | fork.c | 2364 init_task_pid(p, PIDTYPE_PGID, task_pgrp(current)); in copy_process() 2383 attach_pid(p, PIDTYPE_PGID); in copy_process()
|
/linux/tools/testing/selftests/sched/ |
A D | cs_prctl_test.c | 61 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/kernel/sched/ |
A D | core_sched.c | 140 BUILD_BUG_ON(PR_SCHED_CORE_SCOPE_PROCESS_GROUP != PIDTYPE_PGID); in sched_core_share_pid() 142 if (type > PIDTYPE_PGID || cmd >= PR_SCHED_CORE_MAX || pid < 0 || in sched_core_share_pid()
|
/linux/fs/ |
A D | fcntl.c | 126 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()
|
A D | exec.c | 1124 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
|
/linux/include/linux/ |
A D | pid.h | 13 PIDTYPE_PGID, enumerator
|
A D | sched.h | 1560 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, ns); in task_pgrp_nr_ns() 1565 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, NULL); in task_pgrp_vnr()
|
/linux/init/ |
A D | init_task.c | 40 [PIDTYPE_PGID] = &init_struct_pid,
|
/linux/fs/autofs/ |
A D | inode.c | 312 sbi->oz_pgrp = get_task_pid(current, PIDTYPE_PGID); in autofs_fill_super()
|
A D | dev-ioctl.c | 358 new_pid = get_task_pid(current, PIDTYPE_PGID); in autofs_dev_ioctl_setpipefd()
|
/linux/drivers/tty/ |
A D | tty_jobctrl.c | 441 p = pid_task(pgrp, PIDTYPE_PGID); in session_of_pgrp()
|
A D | tty_io.c | 2252 type = PIDTYPE_PGID; in __tty_fasync()
|
/linux/include/linux/sched/ |
A D | signal.h | 669 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp()
|