/linux/include/linux/ |
A D | pid.h | 9 enum pid_type enum 92 extern struct task_struct *pid_task(struct pid *pid, enum pid_type); 93 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 97 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); 99 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); 104 extern void attach_pid(struct task_struct *task, enum pid_type); 105 extern void detach_pid(struct task_struct *task, enum pid_type); 106 extern void change_pid(struct task_struct *task, enum pid_type, 110 enum pid_type);
|
A D | signal.h | 278 enum pid_type; 282 struct task_struct *p, enum pid_type type); 284 struct task_struct *p, enum pid_type type);
|
A D | sched.h | 1520 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 2315 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
|
A D | fs.h | 930 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member 1381 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
|
/linux/kernel/ |
A D | pid.c | 163 enum pid_type type; in alloc_pid() 321 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 331 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 337 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid() 356 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid() 361 void change_pid(struct task_struct *task, enum pid_type type, in change_pid() 389 enum pid_type type) in transfer_pid() 396 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 438 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 448 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() [all …]
|
A D | exit.c | 953 enum pid_type wo_type; 1555 enum pid_type type; in kernel_waitid() 1654 enum pid_type type; in kernel_wait4()
|
A D | signal.c | 990 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal() 1072 enum pid_type type, bool force) in __send_signal() 1213 enum pid_type type) in send_signal() 1288 enum pid_type type) in do_send_sig_info() 1432 struct task_struct *p, enum pid_type type) in group_send_sig_info() 1946 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
|
A D | fork.c | 1737 enum pid_type type; in init_task_pid_links() 1744 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2482 enum pid_type type; in init_idle_pids()
|
/linux/fs/ |
A D | fcntl.c | 95 filp->f_owner.pid_type = type; in f_modown() 116 enum pid_type type; in f_setown() 158 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown() 214 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) in f_getown_ex() 217 switch (filp->f_owner.pid_type) { in f_getown_ex() 735 int fd, int reason, enum pid_type type) in send_sigio_to_task() 792 enum pid_type type; in send_sigio() 798 type = fown->pid_type; in send_sigio() 821 struct fown_struct *fown, enum pid_type type) in send_sigurg_to_task() 830 enum pid_type type; in send_sigurg() [all …]
|
/linux/kernel/sched/ |
A D | core_sched.c | 127 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
|
/linux/include/linux/sched/ |
A D | signal.h | 360 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type); 647 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
|
/linux/tools/testing/selftests/sched/ |
A D | cs_prctl_test.c | 61 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
|
/linux/kernel/trace/ |
A D | bpf_trace.c | 814 enum pid_type type; 827 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
|
/linux/Documentation/admin-guide/hw-vuln/ |
A D | core-scheduling.rst | 64 ``pid_type`` for which the operation applies. It is one of
|
/linux/kernel/time/ |
A D | posix-cpu-timers.c | 101 static inline enum pid_type clock_pid_type(const clockid_t clock) in clock_pid_type()
|
A D | posix-timers.c | 338 enum pid_type type; in posix_timer_event()
|
/linux/arch/s390/kernel/ |
A D | perf_cpum_sf.c | 628 u32 pid, enum pid_type type) in cpumsf_pid_type()
|
/linux/drivers/tty/ |
A D | tty_io.c | 2246 enum pid_type type; in __tty_fasync()
|
/linux/kernel/events/ |
A D | core.c | 1400 enum pid_type type) in perf_event_pid_type()
|