Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dpid.h95 extern struct task_struct *pid_task(struct pid *pid, enum pid_type);
96 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task()
100 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type);
102 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
107 extern void attach_pid(struct task_struct *task, enum pid_type);
108 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type);
109 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type,
113 enum pid_type);
232 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
H A Dsignal.h279 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 Dpid_types.h5 enum pid_type { enum
H A Dposix-timers.h193 enum pid_type it_pid_type;
H A Dfs.h1192 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member
1392 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
H A Dsched.h2323 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
/linux/fs/
H A Dfcntl.c127 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
140 f_owner->pid_type = type; in __f_setown()
155 enum pid_type type; in f_setown()
206 if (pid_task(f_owner->pid, f_owner->pid_type)) { in f_getown()
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()
857 int fd, int reason, enum pid_type type) in send_sigio_to_task()
[all …]
H A Dsignalfd.c157 enum pid_type type; in signalfd_dequeue()
/linux/kernel/
H A Dpid.c166 enum pid_type type; in alloc_pid()
373 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
383 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
394 enum pid_type type, struct pid *new) in __change_pid()
415 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type type) in detach_pid()
420 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type type, in change_pid()
450 enum pid_type type) in transfer_pid()
457 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
499 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
509 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
H A Dexit.h13 enum pid_type wo_type;
H A Dsignal.c618 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()
1943 static void posixtimer_queue_sigqueue(struct sigqueue *q, struct task_struct *t, enum pid_type type) in posixtimer_queue_sigqueue()
2731 static int ptrace_signal(int signr, kernel_siginfo_t *info, enum pid_type type) in ptrace_signal()
2863 enum pid_type typ in get_signal()
[all...]
H A Dexit.c1741 enum pid_type type; in kernel_waitid_prepare()
1851 enum pid_type type; in kernel_wait4()
H A Dfork.c1801 enum pid_type type; in init_task_pid_links()
1808 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2549 enum pid_type type; in init_idle_pids()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_send_signal_kern.c9 int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, u64 value) __ksym;
/linux/include/linux/sched/
H A Dsignal.h285 extern int dequeue_signal(sigset_t *mask, kernel_siginfo_t *info, enum pid_type *type);
291 enum pid_type __type; in kernel_dequeue_signal()
669 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
/linux/kernel/sched/
H A Dcore_sched.c131 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type, in sched_core_share_pid()
/linux/tools/testing/selftests/sched/
H A Dcs_prctl_test.c62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
/linux/Documentation/admin-guide/hw-vuln/
H A Dcore-scheduling.rst64 ``pid_type`` for which the operation applies. It is one of
/linux/kernel/trace/
H A Dbpf_trace.c798 enum pid_type type;
817 static int bpf_send_signal_common(u32 sig, enum pid_type type, struct task_struct *task, u64 value) in bpf_send_signal_common()
3529 __bpf_kfunc int bpf_send_signal_task(struct task_struct *task, int sig, enum pid_type type, in bpf_send_signal_task()
/linux/security/landlock/
H A Dfs.c1782 p = pid_task(fown->pid, fown->pid_type); in control_current_fowner()
/linux/kernel/time/
H A Dposix-cpu-timers.c108 static inline enum pid_type clock_pid_type(const clockid_t clock) in clock_pid_type()
/linux/arch/s390/kernel/
H A Dperf_cpum_sf.c602 u32 pid, enum pid_type type) in cpumsf_pid_type()
/linux/drivers/tty/
H A Dtty_io.c2224 enum pid_type type; in __tty_fasync()
/linux/kernel/events/
H A Dcore.c1522 enum pid_type type) in perf_event_pid_type()