| /linux-6.15/include/linux/ |
| H A D | pid.h | 91 extern struct task_struct *pid_task(struct pid *pid, enum pid_type); 92 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 96 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); 98 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); 103 extern void attach_pid(struct task_struct *task, enum pid_type); 104 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type); 105 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type, 109 enum pid_type); 228 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 | 188 enum pid_type it_pid_type;
|
| H A D | fs.h | 1021 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member 1214 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
|
| H A D | sched.h | 2254 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
|
| /linux-6.15/fs/ |
| H A D | fcntl.c | 140 f_owner->pid_type = type; in __f_setown() 155 enum pid_type type; in f_setown() 208 if (f_owner->pid_type == PIDTYPE_PGID) in f_getown() 266 enum pid_type pid_type = PIDTYPE_PID; in f_getown_ex() local 272 if (pid_task(f_owner->pid, f_owner->pid_type)) in f_getown_ex() 275 pid_type = f_owner->pid_type; in f_getown_ex() 278 switch (pid_type) { in f_getown_ex() 903 enum pid_type type; in send_sigio() 909 type = fown->pid_type; in send_sigio() 942 enum pid_type type; in send_sigurg() [all …]
|
| H A D | signalfd.c | 157 enum pid_type type; in signalfd_dequeue()
|
| H A D | pidfs.c | 769 enum pid_type type; in pidfs_pid_valid()
|
| /linux-6.15/kernel/ |
| H A D | pid.c | 165 enum pid_type type; in alloc_pid() 328 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 338 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 349 enum pid_type type, struct pid *new) in __change_pid() 375 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type type) in detach_pid() 410 enum pid_type type) in transfer_pid() 417 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 459 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 469 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() 513 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() [all …]
|
| H A D | exit.h | 13 enum pid_type wo_type;
|
| H A D | signal.c | 618 int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type) in dequeue_signal() 963 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal() 1043 struct task_struct *t, enum pid_type type, bool force) in __send_signal_locked() 1184 struct task_struct *t, enum pid_type type) in send_signal_locked() 1263 enum pid_type type) in do_send_sig_info() 1410 struct task_struct *p, enum pid_type type) in group_send_sig_info() 1450 struct pid *pid, enum pid_type type) in kill_pid_info_type() 2863 enum pid_type type; in get_signal() 3751 enum pid_type type; in do_sigtimedwait() 3934 enum pid_type type) in prepare_kill_siginfo() [all …]
|
| H A D | exit.c | 1725 enum pid_type type; in kernel_waitid_prepare() 1835 enum pid_type type; in kernel_wait4()
|
| H A D | fork.c | 2002 enum pid_type type; in init_task_pid_links() 2009 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2739 enum pid_type type; in init_idle_pids()
|
| /linux-6.15/tools/testing/selftests/bpf/progs/ |
| H A D | test_send_signal_kern.c | 9 int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __ksym;
|
| /linux-6.15/include/linux/sched/ |
| H A D | signal.h | 281 extern int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type); 287 enum pid_type __type; in kernel_dequeue_signal() 665 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
|
| /linux-6.15/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()
|
| /linux-6.15/tools/testing/selftests/sched/ |
| H A D | cs_prctl_test.c | 62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
|
| /linux-6.15/kernel/trace/ |
| H A D | bpf_trace.c | 800 enum pid_type type; 819 static int bpf_send_signal_common(u32 sig, enum pid_type type, struct task_struct *task, u64 value) in bpf_send_signal_common() 3570 __bpf_kfunc int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, in bpf_send_signal_task()
|
| /linux-6.15/Documentation/admin-guide/hw-vuln/ |
| H A D | core-scheduling.rst | 64 ``pid_type`` for which the operation applies. It is one of
|
| /linux-6.15/kernel/time/ |
| H A D | posix-cpu-timers.c | 108 static inline enum pid_type clock_pid_type(const clockid_t clock) in clock_pid_type()
|
| /linux-6.15/security/landlock/ |
| H A D | fs.c | 1790 p = pid_task(fown->pid, fown->pid_type); in control_current_fowner()
|
| /linux-6.15/arch/s390/kernel/ |
| H A D | perf_cpum_sf.c | 604 u32 pid, enum pid_type type) in cpumsf_pid_type()
|
| /linux-6.15/drivers/tty/ |
| H A D | tty_io.c | 2233 enum pid_type type; in __tty_fasync()
|
| /linux-6.15/kernel/events/ |
| H A D | core.c | 1400 enum pid_type type) in perf_event_pid_type()
|