Home
last modified time | relevance | path

Searched refs:pid_type (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/include/linux/
Dpid.h9 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);
Dsignal.h278 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);
Dsched.h1564 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
2420 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
Dfs.h903 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member
1373 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
/linux-6.1.9/kernel/
Dpid.c163 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 …]
Dsignal.c630 kernel_siginfo_t *info, enum pid_type *type) in dequeue_signal()
998 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal()
1080 struct task_struct *t, enum pid_type type, bool force) in __send_signal_locked()
1221 struct task_struct *t, enum pid_type type) in send_signal_locked()
1290 enum pid_type type) in do_send_sig_info()
1435 struct task_struct *p, enum pid_type type) in group_send_sig_info()
1961 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
2559 static int ptrace_signal(int signr, kernel_siginfo_t *info, enum pid_type type) in ptrace_signal()
2691 enum pid_type type; in get_signal()
3574 enum pid_type type; in do_sigtimedwait()
Dexit.c1036 enum pid_type wo_type;
1639 enum pid_type type; in kernel_waitid()
1738 enum pid_type type; in kernel_wait4()
Dfork.c1788 enum pid_type type; in init_task_pid_links()
1795 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2566 enum pid_type type; in init_idle_pids()
/linux-6.1.9/fs/
Dfcntl.c88 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown()
95 filp->f_owner.pid_type = type; in f_modown()
106 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
116 enum pid_type type; in f_setown()
156 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) { in f_getown()
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()
717 int fd, int reason, enum pid_type type) in send_sigio_to_task()
774 enum pid_type type; in send_sigio()
[all …]
Dsignalfd.c158 enum pid_type type; in signalfd_dequeue()
/linux-6.1.9/include/linux/sched/
Dsignal.h279 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);
675 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
/linux-6.1.9/kernel/sched/
Dcore_sched.c129 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
/linux-6.1.9/tools/testing/selftests/sched/
Dcs_prctl_test.c61 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
/linux-6.1.9/Documentation/admin-guide/hw-vuln/
Dcore-scheduling.rst64 ``pid_type`` for which the operation applies. It is one of
/linux-6.1.9/kernel/trace/
Dbpf_trace.c824 enum pid_type type;
837 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
/linux-6.1.9/kernel/time/
Dposix-cpu-timers.c108 static inline enum pid_type clock_pid_type(const clockid_t clock) in clock_pid_type()
Dposix-timers.c338 enum pid_type type; in posix_timer_event()
/linux-6.1.9/arch/s390/kernel/
Dperf_cpum_sf.c629 u32 pid, enum pid_type type) in cpumsf_pid_type()
/linux-6.1.9/drivers/tty/
Dtty_io.c2224 enum pid_type type; in __tty_fasync()
/linux-6.1.9/kernel/events/
Dcore.c1340 enum pid_type type) in perf_event_pid_type()