/linux-6.12.1/include/linux/ |
D | pid.h | 89 extern struct task_struct *pid_task(struct pid *pid, enum pid_type); 90 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task() 94 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type); 96 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type); 101 extern void attach_pid(struct task_struct *task, enum pid_type); 102 extern void detach_pid(struct task_struct *task, enum pid_type); 103 extern void change_pid(struct task_struct *task, enum pid_type, 107 enum pid_type); 228 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
|
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);
|
D | pid_types.h | 5 enum pid_type { enum
|
D | fs.h | 969 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member 1163 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
|
D | sched.h | 2186 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
|
/linux-6.12.1/kernel/ |
D | pid.c | 170 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() 346 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid() 370 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid() 375 void change_pid(struct task_struct *task, enum pid_type type, in change_pid() 403 enum pid_type type) in transfer_pid() 409 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task() 451 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 461 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task() [all …]
|
D | exit.h | 13 enum pid_type wo_type;
|
D | signal.c | 626 int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type) in dequeue_signal() 994 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal() 1074 struct task_struct *t, enum pid_type type, bool force) in __send_signal_locked() 1215 struct task_struct *t, enum pid_type type) in send_signal_locked() 1294 enum pid_type type) in do_send_sig_info() 1441 struct task_struct *p, enum pid_type type) in group_send_sig_info() 1481 struct pid *pid, enum pid_type type) in kill_pid_info_type() 1966 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue() 2615 static int ptrace_signal(int signr, kernel_siginfo_t *info, enum pid_type type) in ptrace_signal() 2747 enum pid_type type; in get_signal() [all …]
|
D | exit.c | 1711 enum pid_type type; in kernel_waitid_prepare() 1821 enum pid_type type; in kernel_wait4()
|
D | fork.c | 1939 enum pid_type type; in init_task_pid_links() 1946 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2680 enum pid_type type; in init_idle_pids()
|
/linux-6.12.1/fs/ |
D | fcntl.c | 128 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() 141 f_owner->pid_type = type; in __f_setown() 156 enum pid_type type; in f_setown() 207 if (pid_task(f_owner->pid, f_owner->pid_type)) { in f_getown() 209 if (f_owner->pid_type == PIDTYPE_PGID) in f_getown() 267 enum pid_type pid_type = PIDTYPE_PID; in f_getown_ex() local 273 if (pid_task(f_owner->pid, f_owner->pid_type)) in f_getown_ex() 276 pid_type = f_owner->pid_type; in f_getown_ex() 279 switch (pid_type) { in f_getown_ex() 849 int fd, int reason, enum pid_type type) in send_sigio_to_task() [all …]
|
D | signalfd.c | 157 enum pid_type type; in signalfd_dequeue()
|
/linux-6.12.1/include/linux/sched/ |
D | signal.h | 279 extern int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type); 285 enum pid_type __type; in kernel_dequeue_signal() 343 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type); 666 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
|
/linux-6.12.1/kernel/sched/ |
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.12.1/tools/testing/selftests/sched/ |
D | cs_prctl_test.c | 62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
|
/linux-6.12.1/Documentation/admin-guide/hw-vuln/ |
D | core-scheduling.rst | 64 ``pid_type`` for which the operation applies. It is one of
|
/linux-6.12.1/kernel/time/ |
D | posix-timers.c | 283 enum pid_type type; in posix_timer_queue_signal()
|
D | posix-cpu-timers.c | 108 static inline enum pid_type clock_pid_type(const clockid_t clock) in clock_pid_type()
|
/linux-6.12.1/arch/s390/kernel/ |
D | perf_cpum_sf.c | 617 u32 pid, enum pid_type type) in cpumsf_pid_type()
|
/linux-6.12.1/kernel/trace/ |
D | bpf_trace.c | 804 enum pid_type type; 818 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
|
/linux-6.12.1/drivers/tty/ |
D | tty_io.c | 2233 enum pid_type type; in __tty_fasync()
|
/linux-6.12.1/kernel/events/ |
D | core.c | 1360 enum pid_type type) in perf_event_pid_type()
|