Searched refs:pid_type (Results 1 - 21 of 21) sorted by relevance

/linux-master/include/linux/
H A Dpid_types.h5 enum pid_type { enum
H A Dpid.h89 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)
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);
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 Dfs.h948 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member in struct:fown_struct
1118 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
H A Dsched.h2179 extern int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
/linux-master/kernel/
H A Dexit.h13 enum pid_type wo_type;
H A Dpid.c170 enum pid_type type;
330 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type)
340 void attach_pid(struct task_struct *task, enum pid_type type)
346 static void __change_pid(struct task_struct *task, enum pid_type type,
370 void detach_pid(struct task_struct *task, enum pid_type type)
375 void change_pid(struct task_struct *task, enum pid_type type,
403 enum pid_type type)
409 struct task_struct *pid_task(struct pid *pid, enum pid_type type)
451 struct pid *get_task_pid(struct task_struct *task, enum pid_type type)
461 struct task_struct *get_pid_task(struct pid *pid, enum pid_type typ
[all...]
H A Dsignal.c627 kernel_siginfo_t *info, enum pid_type *type)
995 static void complete_signal(int sig, struct task_struct *p, enum pid_type type)
1075 struct task_struct *t, enum pid_type type, bool force)
1216 struct task_struct *t, enum pid_type type)
1295 enum pid_type type)
1444 struct task_struct *p, enum pid_type type)
1484 struct pid *pid, enum pid_type type)
1968 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type)
2607 static int ptrace_signal(int signr, kernel_siginfo_t *info, enum pid_type type)
2739 enum pid_type typ
[all...]
H A Dfork.c1955 enum pid_type type;
1962 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid)
2691 enum pid_type type;
H A Dexit.c1650 enum pid_type type;
1760 enum pid_type type;
/linux-master/fs/
H A Dfcntl.c90 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type,
97 filp->f_owner.pid_type = type;
108 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type,
118 enum pid_type type;
158 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) {
160 if (filp->f_owner.pid_type == PIDTYPE_PGID)
216 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type))
219 switch (filp->f_owner.pid_type) {
735 int fd, int reason, enum pid_type type)
792 enum pid_type typ
[all...]
H A Dsignalfd.c158 enum pid_type type;
/linux-master/include/linux/sched/
H A Dsignal.h280 kernel_siginfo_t *info, enum pid_type *type);
286 enum pid_type __type;
344 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type);
667 struct pid *task_pid_type(struct task_struct *task, enum pid_type type)
/linux-master/kernel/sched/
H A Dcore_sched.c129 int sched_core_share_pid(unsigned int cmd, pid_t pid, enum pid_type type,
/linux-master/tools/testing/selftests/sched/
H A Dcs_prctl_test.c62 enum pid_type {PIDTYPE_PID = 0, PIDTYPE_TGID, PIDTYPE_PGID}; enum
/linux-master/kernel/time/
H A Dposix-cpu-timers.c108 static inline enum pid_type clock_pid_type(const clockid_t clock)
H A Dposix-timers.c282 enum pid_type type;
/linux-master/arch/s390/kernel/
H A Dperf_cpum_sf.c670 u32 pid, enum pid_type type)
/linux-master/kernel/trace/
H A Dbpf_trace.c828 enum pid_type type;
842 static int bpf_send_signal_common(u32 sig, enum pid_type type)
/linux-master/drivers/tty/
H A Dtty_io.c2233 enum pid_type type;
/linux-master/kernel/events/
H A Dcore.c1323 enum pid_type type)

Completed in 662 milliseconds