Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dpid.h9 enum pid_type enum
90 extern struct task_struct *pid_task(struct pid *pid, enum pid_type);
91 static inline bool pid_has_task(struct pid *pid, enum pid_type type) in pid_has_task()
95 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type);
97 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
102 extern void attach_pid(struct task_struct *task, enum pid_type);
103 extern void detach_pid(struct task_struct *task, enum pid_type);
104 extern void change_pid(struct task_struct *task, enum pid_type,
108 enum pid_type);
H A Dsignal.h277 enum pid_type;
281 struct task_struct *p, enum pid_type type);
283 struct task_struct *p, enum pid_type type);
H A Dfs.h908 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member
1369 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
H A Dsched.h1423 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
/OK3568_Linux_fs/kernel/kernel/
H A 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()
439 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
449 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
H A Dexit.c934 enum pid_type wo_type;
1489 enum pid_type type; in kernel_waitid()
1588 enum pid_type type; in kernel_wait4()
H A Dsignal.c993 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal()
1075 enum pid_type type, bool force) in __send_signal()
1213 enum pid_type type) in send_signal()
1288 enum pid_type type) in do_send_sig_info()
1408 struct task_struct *p, enum pid_type type) in group_send_sig_info()
1855 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
H A Dfork.c1709 enum pid_type type; in init_task_pid_links()
1717 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2457 enum pid_type type; in init_idle_pids()
/OK3568_Linux_fs/kernel/fs/
H A Dfcntl.c87 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown()
94 filp->f_owner.pid_type = type; in f_modown()
105 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
115 enum pid_type type; in f_setown()
155 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) { in f_getown()
157 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown()
213 if (pid_task(filp->f_owner.pid, filp->f_owner.pid_type)) in f_getown_ex()
216 switch (filp->f_owner.pid_type) { in f_getown_ex()
734 int fd, int reason, enum pid_type type) in send_sigio_to_task()
791 enum pid_type type; in send_sigio()
[all …]
/OK3568_Linux_fs/kernel/include/linux/sched/
H A Dsignal.h354 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type);
641 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dbpf_trace.c1047 enum pid_type type;
1060 static int bpf_send_signal_common(u32 sig, enum pid_type type) in bpf_send_signal_common()
/OK3568_Linux_fs/kernel/kernel/time/
H A Dposix-cpu-timers.c101 static inline enum pid_type clock_pid_type(const clockid_t clock) in clock_pid_type()
H A Dposix-timers.c338 enum pid_type type; in posix_timer_event()
/OK3568_Linux_fs/kernel/arch/s390/kernel/
H A Dperf_cpum_sf.c628 u32 pid, enum pid_type type) in cpumsf_pid_type()
/OK3568_Linux_fs/kernel/drivers/tty/
H A Dtty_io.c2213 enum pid_type type; in __tty_fasync()
/OK3568_Linux_fs/kernel/kernel/events/
H A Dcore.c1399 enum pid_type type) in perf_event_pid_type()