/kernel/linux/linux-5.10/include/linux/ |
H A D | pid.h | 9 enum pid_type enum 90 extern struct task_struct *pid_task(struct pid *pid, enum pid_type); 91 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 95 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); 97 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); 102 extern void attach_pid(struct task_struct *task, enum pid_type); 103 extern void detach_pid(struct task_struct *task, enum pid_type); 104 extern void change_pid(struct task_struct *task, enum pid_type, 108 enum pid_type);
|
H A D | signal.h | 277 enum pid_type; 281 struct task_struct *p, enum pid_type type); 283 struct task_struct *p, enum pid_type type);
|
H A D | fs.h | 891 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member 1344 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
|
H A D | sched.h | 1547 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pid.h | 9 enum pid_type enum 93 extern struct task_struct *pid_task(struct pid *pid, enum pid_type); 94 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 98 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); 100 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); 105 extern void attach_pid(struct task_struct *task, enum pid_type); 106 extern void detach_pid(struct task_struct *task, enum pid_type); 107 extern void change_pid(struct task_struct *task, enum pid_type, 111 enum pid_type);
|
H 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); 286 struct task_struct *p, enum pid_type type);
|
H A D | sched.h | 1695 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns); 2573 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
|
H A D | fs.h | 951 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member 1104 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
|
/kernel/linux/linux-5.10/kernel/ |
H 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 typ [all...] |
H A D | exit.c | 1020 enum pid_type wo_type; 1575 enum pid_type type; in kernel_waitid() 1674 enum pid_type type; in kernel_wait4()
|
H 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() 1210 enum pid_type type) in send_signal() 1285 enum pid_type type) in do_send_sig_info() 1405 struct task_struct *p, enum pid_type type) in group_send_sig_info() 1843 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
|
H A D | fork.c | 1691 enum pid_type type; in init_task_pid_links() 1699 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2435 enum pid_type type; in init_idle_pids()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | pid.c | 166 enum pid_type type; in alloc_pid() 324 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 334 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 340 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid() 359 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid() 364 void change_pid(struct task_struct *task, enum pid_type type, in change_pid() 392 enum pid_type type) in transfer_pid() 399 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 441 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 451 struct task_struct *get_pid_task(struct pid *pid, enum pid_type typ [all...] |
H A D | signal.c | 636 kernel_siginfo_t *info, enum pid_type *type) in dequeue_signal() 1004 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal() 1085 struct task_struct *t, enum pid_type type, bool force) in __send_signal_locked() 1226 struct task_struct *t, enum pid_type type) in send_signal_locked() 1305 enum pid_type type) in do_send_sig_info() 1452 struct task_struct *p, enum pid_type type) in group_send_sig_info() 1978 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue() 2592 static int ptrace_signal(int signr, kernel_siginfo_t *info, enum pid_type type) in ptrace_signal() 2724 enum pid_type type; in get_signal() 3610 enum pid_type typ in do_sigtimedwait() [all...] |
H A D | exit.c | 1060 enum pid_type wo_type; 1663 enum pid_type type; in kernel_waitid() 1762 enum pid_type type; in kernel_wait4()
|
H A D | fork.c | 1966 enum pid_type type; in init_task_pid_links() 1973 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2818 enum pid_type type; in init_idle_pids()
|
/kernel/linux/linux-5.10/fs/ |
H A D | fcntl.c | 87 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() 94 filp->f_owner.pid_type = type; in f_modown() 105 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() 115 enum pid_type type; in f_setown() 155 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) { in f_getown() 157 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown() 213 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) in f_getown_ex() 216 switch (filp->f_owner.pid_type) { in f_getown_ex() 734 int fd, int reason, enum pid_type type) in send_sigio_to_task() 791 enum pid_type typ in send_sigio() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | fcntl.c | 89 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() 96 filp->f_owner.pid_type = type; in f_modown() 107 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() 117 enum pid_type type; in f_setown() 157 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) { in f_getown() 159 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown() 215 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) in f_getown_ex() 218 switch (filp->f_owner.pid_type) { in f_getown_ex() 717 int fd, int reason, enum pid_type type) in send_sigio_to_task() 774 enum pid_type typ in send_sigio() [all...] |
H A D | signalfd.c | 158 enum pid_type type; in signalfd_dequeue()
|
/kernel/linux/linux-6.6/include/linux/sched/ |
H A D | signal.h | 279 kernel_siginfo_t *info, enum pid_type *type); 285 enum pid_type __type; in kernel_dequeue_signal() 352 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type); 672 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
|
/kernel/linux/linux-5.10/include/linux/sched/ |
H A D | signal.h | 348 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type); 635 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
|
/kernel/linux/linux-6.6/kernel/sched/ |
H A D | core_sched.c | 129 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
|
/kernel/linux/linux-6.6/tools/testing/selftests/sched/ |
H A D | cs_prctl_test.c | 62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
|
/kernel/linux/linux-5.10/kernel/trace/ |
H A D | bpf_trace.c | 1051 enum pid_type type; 1065 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | bpf_trace.c | 824 enum pid_type type; 838 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
|