| /linux/include/linux/ |
| H A D | pid.h | 95 extern struct task_struct *pid_task(struct pid *pid, enum pid_type); 96 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 100 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); 102 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); 107 extern void attach_pid(struct task_struct *task, enum pid_type); 108 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type); 109 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type, 113 enum pid_type); 232 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
|
| H A D | signal.h | 279 enum pid_type; 283 struct task_struct *p, enum pid_type type); 285 struct task_struct *p, enum pid_type type); 287 struct task_struct *p, enum pid_type type);
|
| H A D | pid_types.h | 5 enum pid_type { enum
|
| H A D | posix-timers.h | 193 enum pid_type it_pid_type;
|
| H A D | fs.h | 1191 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member 1391 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
|
| H A D | sched.h | 2277 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
|
| /linux/kernel/ |
| H A D | pid.c | 166 enum pid_type type; in alloc_pid() 330 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 340 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 351 enum pid_type type, struct pid *new) in __change_pid() 372 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type type) in detach_pid() 377 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type type, in change_pid() 407 enum pid_type type) in transfer_pid() 414 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 456 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 466 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() [all …]
|
| H A D | exit.h | 13 enum pid_type wo_type;
|
| H A D | exit.c | 1735 enum pid_type type; in kernel_waitid_prepare() 1845 enum pid_type type; in kernel_wait4()
|
| H A D | fork.c | 1800 enum pid_type type; in init_task_pid_links() 1807 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2547 enum pid_type type; in init_idle_pids()
|
| /linux/include/linux/sched/ |
| H A D | signal.h | 285 extern int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type); 291 enum pid_type __type; in kernel_dequeue_signal() 669 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
|
| /linux/kernel/sched/ |
| H A D | core_sched.c | 131 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
|
| /linux/tools/testing/selftests/sched/ |
| H A D | cs_prctl_test.c | 62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
|
| /linux/Documentation/admin-guide/hw-vuln/ |
| H A D | core-scheduling.rst | 64 ``pid_type`` for which the operation applies. It is one of
|
| /linux/kernel/trace/ |
| H A D | bpf_trace.c | 798 enum pid_type type; 817 static int bpf_send_signal_common(u32 sig, enum pid_type type, struct task_struct *task, u64 value) in bpf_send_signal_common() 3508 __bpf_kfunc int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, in bpf_send_signal_task()
|
| /linux/security/landlock/ |
| H A D | fs.c | 1808 p = pid_task(fown->pid, fown->pid_type); in control_current_fowner()
|
| /linux/drivers/tty/ |
| H A D | tty_io.c | 2224 enum pid_type type; in __tty_fasync()
|
| /linux/kernel/events/ |
| H A D | core.c | 1423 enum pid_type type) in perf_event_pid_type()
|