| /include/linux/ |
| D | cn_proc.h | 23 void proc_fork_connector(struct task_struct *task); 24 void proc_exec_connector(struct task_struct *task); 25 void proc_id_connector(struct task_struct *task, int which_id); 26 void proc_sid_connector(struct task_struct *task); 27 void proc_ptrace_connector(struct task_struct *task, int which_id); 28 void proc_comm_connector(struct task_struct *task); 29 void proc_coredump_connector(struct task_struct *task); 30 void proc_exit_connector(struct task_struct *task); 32 static inline void proc_fork_connector(struct task_struct *task) in proc_fork_connector() 35 static inline void proc_exec_connector(struct task_struct *task) in proc_exec_connector() [all …]
|
| D | vtime.h | 12 extern void vtime_account_kernel(struct task_struct *tsk); 13 extern void vtime_account_idle(struct task_struct *tsk); 17 extern void vtime_user_enter(struct task_struct *tsk); 18 extern void vtime_user_exit(struct task_struct *tsk); 19 extern void vtime_guest_enter(struct task_struct *tsk); 20 extern void vtime_guest_exit(struct task_struct *tsk); 21 extern void vtime_init_idle(struct task_struct *tsk, int cpu); 23 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter() 24 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit() 25 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter() [all …]
|
| D | tsacct_kern.h | 16 struct taskstats *stats, struct task_struct *tsk); 20 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() 25 extern void xacct_add_tsk(struct taskstats *stats, struct task_struct *p); 26 extern void acct_update_integrals(struct task_struct *tsk); 27 extern void acct_account_cputime(struct task_struct *tsk); 28 extern void acct_clear_integrals(struct task_struct *tsk); 30 static inline void xacct_add_tsk(struct taskstats *stats, struct task_struct *p) in xacct_add_tsk() 32 static inline void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals() 34 static inline void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime() 36 static inline void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
|
| D | cpufreq_times.h | 23 void cpufreq_task_times_init(struct task_struct *p); 24 void cpufreq_task_times_alloc(struct task_struct *p); 25 void cpufreq_task_times_exit(struct task_struct *p); 27 struct pid *pid, struct task_struct *p); 28 void cpufreq_acct_update_power(struct task_struct *p, u64 cputime); 33 static inline void cpufreq_task_times_init(struct task_struct *p) {} in cpufreq_task_times_init() 34 static inline void cpufreq_task_times_alloc(struct task_struct *p) {} in cpufreq_task_times_alloc() 35 static inline void cpufreq_task_times_exit(struct task_struct *p) {} in cpufreq_task_times_exit() 36 static inline void cpufreq_acct_update_power(struct task_struct *p, in cpufreq_acct_update_power()
|
| D | freezer.h | 27 extern bool frozen(struct task_struct *p); 29 extern bool freezing_slow_path(struct task_struct *p); 34 static inline bool freezing(struct task_struct *p) in freezing() 43 extern void __thaw_task(struct task_struct *t); 61 extern bool freeze_task(struct task_struct *p); 65 extern bool cgroup_freezing(struct task_struct *task); 67 static inline bool cgroup_freezing(struct task_struct *task) in cgroup_freezing() 74 static inline bool frozen(struct task_struct *p) { return false; } in frozen() 75 static inline bool freezing(struct task_struct *p) { return false; } in freezing() 76 static inline void __thaw_task(struct task_struct *t) {} in __thaw_task()
|
| D | pid.h | 77 struct task_struct *pidfd_get_task(int pidfd, unsigned int *flags); 79 void do_notify_pidfd(struct task_struct *task); 89 extern struct task_struct *pid_task(struct pid *pid, enum pid_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, 105 extern void exchange_tids(struct task_struct *task, struct task_struct *old); 106 extern void transfer_pid(struct task_struct *old, struct task_struct *new, [all …]
|
| D | kthread.h | 11 struct task_struct *kthread_create_on_node(int (*threadfn)(void *data), 31 struct task_struct *kthread_create_on_cpu(int (*threadfn)(void *data), 36 void get_kthread_comm(char *buf, size_t buf_size, struct task_struct *tsk); 37 bool set_kthread_struct(struct task_struct *p); 39 void kthread_set_per_cpu(struct task_struct *k, int cpu); 40 bool kthread_is_per_cpu(struct task_struct *k); 53 struct task_struct *__k \ 72 static inline struct task_struct * 76 struct task_struct *p; in kthread_run_on_cpu() 85 void free_kthread_struct(struct task_struct *k); [all …]
|
| D | ptrace.h | 20 extern int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, 49 extern long arch_ptrace(struct task_struct *child, long request, 51 extern int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len); 52 extern int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len); 53 extern void ptrace_disable(struct task_struct *); 54 extern int ptrace_request(struct task_struct *child, long request, 57 extern void __ptrace_link(struct task_struct *child, 58 struct task_struct *new_parent, 60 extern void __ptrace_unlink(struct task_struct *child); 61 extern void exit_ptrace(struct task_struct *tracer, struct list_head *dead); [all …]
|
| D | delayacct.h | 71 extern void __delayacct_tsk_init(struct task_struct *); 72 extern void __delayacct_tsk_exit(struct task_struct *); 74 extern void __delayacct_blkio_end(struct task_struct *); 75 extern int delayacct_add_tsk(struct taskstats *, struct task_struct *); 76 extern __u64 __delayacct_blkio_ticks(struct task_struct *); 87 extern void __delayacct_irq(struct task_struct *task, u32 delta); 89 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init() 100 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free() 116 static inline void delayacct_blkio_end(struct task_struct *p) in delayacct_blkio_end() 125 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks() [all …]
|
| D | cpuset.h | 73 extern void inc_dl_tasks_cs(struct task_struct *task); 74 extern void dec_dl_tasks_cs(struct task_struct *task); 77 extern void cpuset_cpus_allowed(struct task_struct *p, struct cpumask *mask); 78 extern bool cpuset_cpus_allowed_fallback(struct task_struct *p); 80 extern nodemask_t cpuset_mems_allowed(struct task_struct *p); 99 extern int cpuset_mems_allowed_intersects(const struct task_struct *tsk1, 100 const struct task_struct *tsk2); 115 struct task_struct *task); 117 struct pid *pid, struct task_struct *tsk); 190 static inline void inc_dl_tasks_cs(struct task_struct *task) { } in inc_dl_tasks_cs() [all …]
|
| D | sem.h | 8 struct task_struct; 12 extern int copy_semundo(unsigned long clone_flags, struct task_struct *tsk); 13 extern void exit_sem(struct task_struct *tsk); 17 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) in copy_semundo() 22 static inline void exit_sem(struct task_struct *tsk) in exit_sem()
|
| D | user_events.h | 30 extern void user_event_mm_dup(struct task_struct *t, 33 extern void user_event_mm_remove(struct task_struct *t); 35 static inline void user_events_fork(struct task_struct *t, in user_events_fork() 54 static inline void user_events_execve(struct task_struct *t) in user_events_execve() 62 static inline void user_events_exit(struct task_struct *t) in user_events_exit() 70 static inline void user_events_fork(struct task_struct *t, in user_events_fork() 75 static inline void user_events_execve(struct task_struct *t) in user_events_execve() 79 static inline void user_events_exit(struct task_struct *t) in user_events_exit()
|
| D | latencytop.h | 14 struct task_struct; 31 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter); 33 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() 39 void clear_tsk_latency_tracing(struct task_struct *p); 44 account_scheduler_latency(struct task_struct *task, int usecs, int inter) in account_scheduler_latency() 48 static inline void clear_tsk_latency_tracing(struct task_struct *p) in clear_tsk_latency_tracing()
|
| D | user-return-notifier.h | 19 static inline void propagate_user_return_notify(struct task_struct *prev, in propagate_user_return_notify() 20 struct task_struct *next) in propagate_user_return_notify() 30 static inline void clear_user_return_notifier(struct task_struct *p) in clear_user_return_notifier() 39 static inline void propagate_user_return_notify(struct task_struct *prev, in propagate_user_return_notify() 40 struct task_struct *next) in propagate_user_return_notify() 46 static inline void clear_user_return_notifier(struct task_struct *p) {} in clear_user_return_notifier()
|
| D | seccomp.h | 75 extern void seccomp_filter_release(struct task_struct *tsk); 76 extern void get_seccomp_filter(struct task_struct *tsk); 78 static inline void seccomp_filter_release(struct task_struct *tsk) in seccomp_filter_release() 82 static inline void get_seccomp_filter(struct task_struct *tsk) in get_seccomp_filter() 89 extern long seccomp_get_filter(struct task_struct *task, 91 extern long seccomp_get_metadata(struct task_struct *task, 94 static inline long seccomp_get_filter(struct task_struct *task, in seccomp_get_filter() 99 static inline long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata() 113 struct pid *pid, struct task_struct *task);
|
| /include/linux/sched/ |
| D | task.h | 15 struct task_struct; 59 extern struct task_struct init_task; 66 extern asmlinkage void schedule_tail(struct task_struct *prev); 67 extern void init_idle(struct task_struct *idle, int cpu); 69 extern int sched_fork(unsigned long clone_flags, struct task_struct *p); 70 extern int sched_cgroup_fork(struct task_struct *p, struct kernel_clone_args *kargs); 71 extern void sched_cancel_fork(struct task_struct *p); 72 extern void sched_post_fork(struct task_struct *p); 73 extern void sched_dead(struct task_struct *p); 83 extern void release_task(struct task_struct * p); [all …]
|
| D | rt.h | 7 struct task_struct; 23 static inline bool rt_task(struct task_struct *p) in rt_task() 33 static inline bool rt_or_dl_task(struct task_struct *p) in rt_or_dl_task() 42 static inline bool rt_or_dl_task_policy(struct task_struct *tsk) in rt_or_dl_task_policy() 61 static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *p) in rt_mutex_get_top_task() 65 extern void rt_mutex_setprio(struct task_struct *p, struct task_struct *pi_task); 66 extern void rt_mutex_adjust_pi(struct task_struct *p); 68 static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task) in rt_mutex_get_top_task()
|
| D | xacct.h | 12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() 17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() 22 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr() 27 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw() 32 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs() 37 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar() 41 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar() 45 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr() 49 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw() 53 static inline void inc_syscfs(struct task_struct *tsk) in inc_syscfs()
|
| D | autogroup.h | 6 struct task_struct; 11 extern void sched_autogroup_create_attach(struct task_struct *p); 12 extern void sched_autogroup_detach(struct task_struct *p); 15 extern void sched_autogroup_exit_task(struct task_struct *p); 17 extern void proc_sched_autogroup_show_task(struct task_struct *p, struct seq_file *m); 18 extern int proc_sched_autogroup_set_nice(struct task_struct *p, int nice); 21 static inline void sched_autogroup_create_attach(struct task_struct *p) { } in sched_autogroup_create_attach() 22 static inline void sched_autogroup_detach(struct task_struct *p) { } in sched_autogroup_detach() 25 static inline void sched_autogroup_exit_task(struct task_struct *p) { } in sched_autogroup_exit_task()
|
| D | task_stack.h | 21 static __always_inline void *task_stack_page(const struct task_struct *task) in task_stack_page() 28 static __always_inline unsigned long *end_of_stack(const struct task_struct *task) in end_of_stack() 41 static inline void setup_thread_stack(struct task_struct *p, struct task_struct *org) in setup_thread_stack() 56 static inline unsigned long *end_of_stack(struct task_struct *p) in end_of_stack() 68 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack() 74 extern void put_task_stack(struct task_struct *tsk); 76 static inline void *try_get_task_stack(struct task_struct *tsk) in try_get_task_stack() 81 static inline void put_task_stack(struct task_struct *tsk) {} in put_task_stack() 84 void exit_task_stack_account(struct task_struct *tsk); 100 unsigned long stack_not_used(struct task_struct *p); [all …]
|
| D | cputime.h | 12 extern bool task_cputime(struct task_struct *t, 14 extern u64 task_gtime(struct task_struct *t); 16 static inline bool task_cputime(struct task_struct *t, in task_cputime() 24 static inline u64 task_gtime(struct task_struct *t) in task_gtime() 31 static inline void task_cputime_scaled(struct task_struct *t, in task_cputime_scaled() 39 static inline void task_cputime_scaled(struct task_struct *t, in task_cputime_scaled() 47 extern void task_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st); 48 extern void thread_group_cputime_adjusted(struct task_struct *p, u64 *ut, u64 *st); 55 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times); 56 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples); [all …]
|
| D | signal.h | 78 struct task_struct *task; 105 struct task_struct *curr_target; 117 struct task_struct *group_exec_task; 282 extern void flush_signals(struct task_struct *); 283 extern void ignore_signals(struct task_struct *); 284 extern void flush_signal_handlers(struct task_struct *, int force_default); 289 struct task_struct *task = current; in kernel_dequeue_signal() 314 struct task_struct *t); 316 int send_sig_fault(int sig, int code, void __user *addr, struct task_struct *t); 319 int send_sig_mceerr(int code, void __user *, short, struct task_struct *); [all …]
|
| /include/asm-generic/ |
| D | syscall.h | 19 struct task_struct; 38 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs); 56 void syscall_rollback(struct task_struct *task, struct pt_regs *regs); 69 long syscall_get_error(struct task_struct *task, struct pt_regs *regs); 83 long syscall_get_return_value(struct task_struct *task, struct pt_regs *regs); 101 void syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, 117 void syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, 133 int syscall_get_arch(struct task_struct *task);
|
| /include/trace/hooks/ |
| D | sched.h | 12 struct task_struct; 14 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu), 18 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu), 22 TP_PROTO(struct task_struct *p, int prev_cpu, int sd_flag, int wake_flags, int *new_cpu), 26 TP_PROTO(int cpu, struct task_struct *p, int *new_cpu), 35 TP_PROTO(struct rq *rq, struct task_struct *p, int flags), 39 TP_PROTO(struct rq *rq, struct task_struct *p, int flags), 43 TP_PROTO(struct task_struct *p, int dst_cpu, int *can_migrate), 47 TP_PROTO(struct task_struct *sched_ctx, struct task_struct *exec_ctx, 52 TP_PROTO(struct task_struct *p), [all …]
|
| D | signal.h | 10 struct task_struct; 12 TP_PROTO(int sig, struct task_struct *killer, struct task_struct *dst), 15 TP_PROTO(struct task_struct *killer, struct task_struct *dst, bool *reap), 18 TP_PROTO(struct task_struct *task),
|