Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dpid.h9 enum pid_type enum
87 extern struct task_struct *pid_task(struct pid *pid, enum pid_type);
88 extern struct task_struct *get_pid_task(struct pid *pid, enum pid_type);
90 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
95 extern void attach_pid(struct task_struct *task, enum pid_type);
96 extern void detach_pid(struct task_struct *task, enum pid_type);
97 extern void change_pid(struct task_struct *task, enum pid_type,
100 enum pid_type);
Dsignal.h267 enum pid_type;
271 struct task_struct *p, enum pid_type type);
273 struct task_struct *p, enum pid_type type);
Dfs.h907 enum pid_type pid_type; /* Kind of process group SIGIO should be sent to */ member
1352 extern void __f_setown(struct file *filp, struct pid *, enum pid_type, int force);
Dsched.h1302 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, struct pid_namespace *ns);
/Linux-v5.4/kernel/
Dpid.c163 enum pid_type type; in alloc_pid()
273 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
283 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
289 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
308 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
313 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
322 enum pid_type type) in transfer_pid()
329 struct task_struct *pid_task(struct pid *pid, enum pid_type type) in pid_task()
371 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
381 struct task_struct *get_pid_task(struct pid *pid, enum pid_type type) in get_pid_task()
[all …]
Dexit.c945 enum pid_type wo_type;
1517 enum pid_type type; in kernel_waitid()
1609 enum pid_type type; in kernel_wait4()
Dsignal.c984 static void complete_signal(int sig, struct task_struct *p, enum pid_type type) in complete_signal()
1066 enum pid_type type, bool force) in __send_signal()
1204 enum pid_type type) in send_signal()
1279 enum pid_type type) in do_send_sig_info()
1399 struct task_struct *p, enum pid_type type) in group_send_sig_info()
1841 int send_sigqueue(struct sigqueue *q, struct pid *pid, enum pid_type type) in send_sigqueue()
Dfork.c1649 enum pid_type type; in init_task_pid_links()
1657 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2302 enum pid_type type; in init_idle_pids()
/Linux-v5.4/fs/
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()
154 if (filp->f_owner.pid_type == PIDTYPE_PGID) in f_getown()
208 switch (filp->f_owner.pid_type) { in f_getown_ex()
726 int fd, int reason, enum pid_type type) in send_sigio_to_task()
781 enum pid_type type; in send_sigio()
786 type = fown->pid_type; in send_sigio()
809 struct fown_struct *fown, enum pid_type type) in send_sigurg_to_task()
[all …]
/Linux-v5.4/include/linux/sched/
Dsignal.h338 extern int send_sigqueue(struct sigqueue *, struct pid *, enum pid_type);
594 struct pid *task_pid_type(struct task_struct *task, enum pid_type type) in task_pid_type()
/Linux-v5.4/kernel/time/
Dposix-timers.c312 enum pid_type type; in posix_timer_event()
/Linux-v5.4/arch/s390/kernel/
Dperf_cpum_sf.c616 u32 pid, enum pid_type type) in cpumsf_pid_type()
/Linux-v5.4/drivers/tty/
Dtty_io.c2132 enum pid_type type; in __tty_fasync()
/Linux-v5.4/kernel/events/
Dcore.c1321 enum pid_type type) in perf_event_pid_type()