Home
last modified time | relevance | path

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

/linux/block/
H A Dioprio.c99 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
105 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
209 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
217 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
/linux/tools/testing/selftests/sched/
H A Dcs_prctl_test.c62 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/include/linux/
H A Dpid_types.h8 PIDTYPE_PGID, enumerator
H A Dpid.h268 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, ns); in task_pgrp_nr_ns()
273 return __task_pid_nr_ns(tsk, PIDTYPE_PGID, NULL); in task_pgrp_vnr()
/linux/kernel/
H A Dexit.c132 detach_pid(p, PIDTYPE_PGID); in __unhash_process()
332 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in will_become_orphaned_pgrp()
341 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in will_become_orphaned_pgrp()
361 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in has_stopped_jobs()
364 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in has_stopped_jobs()
1731 type = PIDTYPE_PGID; in kernel_waitid_prepare()
1738 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_waitid_prepare()
1835 type = PIDTYPE_PGID; in kernel_wait4()
1838 type = PIDTYPE_PGID; in kernel_wait4()
1839 pid = get_task_pid(current, PIDTYPE_PGID); in kernel_wait4()
H A Dsys.c262 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE3()
264 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE3()
328 do_each_pid_thread(pgrp, PIDTYPE_PGID, p) { in SYSCALL_DEFINE2()
332 } while_each_pid_thread(pgrp, PIDTYPE_PGID, p); in SYSCALL_DEFINE2()
1133 g = pid_task(pgrp, PIDTYPE_PGID); in SYSCALL_DEFINE2()
1143 change_pid(p, PIDTYPE_PGID, pgrp); in SYSCALL_DEFINE2()
1231 change_pid(curr, PIDTYPE_PGID, pid); in set_special_pids()
1249 if (pid_task(sid, PIDTYPE_PGID)) in ksys_setsid()
H A Dsignal.c1465 do_each_pid_task(pgrp, PIDTYPE_PGID, p) { in __kill_pgrp_info()
1466 int err = group_send_sig_info(sig, info, p, PIDTYPE_PGID); in __kill_pgrp_info()
1475 } while_each_pid_task(pgrp, PIDTYPE_PGID, p); in __kill_pgrp_info()
3955 type = PIDTYPE_PGID; in SYSCALL_DEFINE4()
3977 if (type == PIDTYPE_PGID) in SYSCALL_DEFINE4()
H A Dfork.c2555 init_task_pid(p, PIDTYPE_PGID, task_pgrp(current)); in copy_process()
2574 attach_pid(p, PIDTYPE_PGID); in copy_process()
/linux/kernel/sched/
H A 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/fs/
H A Dfcntl.c168 type = PIDTYPE_PGID; in f_setown()
209 if (f_owner->pid_type == PIDTYPE_PGID) in f_getown()
239 type = PIDTYPE_PGID; in f_setown_ex()
288 case PIDTYPE_PGID: in f_getown_ex()
H A Dexec.c1110 transfer_pid(leader, tsk, PIDTYPE_PGID); in de_thread()
/linux/init/
H A Dinit_task.c42 [PIDTYPE_PGID] = &init_struct_pid,
/linux/fs/autofs/
H A Dinode.c346 sbi->oz_pgrp = get_task_pid(current, PIDTYPE_PGID); in autofs_fill_super()
H A Ddev-ioctl.c363 new_pid = get_task_pid(current, PIDTYPE_PGID); in autofs_dev_ioctl_setpipefd()
/linux/drivers/tty/
H A Dtty_jobctrl.c446 p = pid_task(pgrp, PIDTYPE_PGID); in session_of_pgrp()
H A Dtty_io.c2239 type = PIDTYPE_PGID; in __tty_fasync()
/linux/include/linux/sched/
H A Dsignal.h688 return task->signal->pids[PIDTYPE_PGID]; in task_pgrp()