/kernel/livepatch/ |
D | transition.c | 73 struct task_struct *g, *task; in klp_complete_transition() local 163 void klp_update_patch_state(struct task_struct *task) in klp_update_patch_state() 242 static int klp_check_stack(struct task_struct *task, char *err_buf) in klp_check_stack() 281 static bool klp_try_switch_task(struct task_struct *task) in klp_try_switch_task() 345 struct task_struct *g, *task; in klp_send_signals() local 391 struct task_struct *g, *task; in klp_try_complete_transition() local 465 struct task_struct *g, *task; in klp_start_transition() local 506 struct task_struct *g, *task; in klp_init_transition() local 581 struct task_struct *g, *task; in klp_reverse_transition() local 645 struct task_struct *g, *task; in klp_force_transition() local
|
/kernel/ |
D | task_work.c | 32 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add() 74 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match() 119 task_work_cancel(struct task_struct *task, task_work_func_t func) in task_work_cancel() 134 struct task_struct *task = current; in task_work_run() local
|
D | pid.c | 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() 428 struct task_struct *task; in find_get_task_by_vpid() local 439 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 493 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() 627 static struct file *__pidfd_fget(struct task_struct *task, int fd) in __pidfd_fget() 648 struct task_struct *task; in pidfd_getfd() local
|
D | ptrace.c | 172 static bool looks_like_a_spurious_pid(struct task_struct *task) in looks_like_a_spurious_pid() 188 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced() 207 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced() 291 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access() 364 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access() 393 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach() 906 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
|
D | kthread.c | 188 void *kthread_func(struct task_struct *task) in kthread_func() 205 void *kthread_data(struct task_struct *task) in kthread_data() 220 void *kthread_probe_data(struct task_struct *task) in kthread_probe_data() 357 struct task_struct *task; in __kthread_create_on_node() local 443 struct task_struct *task; in kthread_create_on_node() local 770 struct task_struct *task; in __kthread_create_worker() local 1313 struct task_struct *task; in kthread_destroy_worker() local
|
D | pid_namespace.c | 177 struct task_struct *task, *me = current; in zap_pid_ns_processes() local 358 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get() 371 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get()
|
D | cred.c | 196 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred() 255 struct task_struct *task = current; in prepare_creds() local 442 struct task_struct *task = current; in commit_creds() local
|
D | fork.c | 785 struct task_struct *task = container_of(rhp, struct task_struct, rcu); in __put_task_struct_rcu_cb() local 1246 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file() 1271 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm() 1288 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access() 1718 static inline void init_task_pid_links(struct task_struct *task) in init_task_pid_links() 1728 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2480 struct task_struct *task; in fork_idle() local 3143 struct task_struct *task = current; in unshare_files() local
|
D | seccomp.c | 66 struct task_struct *task; member 240 struct task_struct *task = current; in populate_seccomp_data() local 435 void __weak arch_seccomp_spec_mitigate(struct task_struct *task) { } in arch_seccomp_spec_mitigate() 437 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode() 1990 static struct seccomp_filter *get_nth_filter(struct task_struct *task, in get_nth_filter() 2036 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() 2074 long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata()
|
/kernel/cgroup/ |
D | legacy_freezer.c | 55 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer() 65 bool cgroup_freezing(struct task_struct *task) in cgroup_freezing() 160 struct task_struct *task; in freezer_attach() local 203 static void freezer_fork(struct task_struct *task) in freezer_fork() 249 struct task_struct *task; in update_if_frozen() local 321 struct task_struct *task; in freeze_cgroup() local 332 struct task_struct *task; in unfreeze_cgroup() local
|
D | pids.c | 173 struct task_struct *task; in pids_can_attach() local 198 struct task_struct *task; in pids_cancel_attach() local 218 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork() 242 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork() 255 static void pids_release(struct task_struct *task) in pids_release()
|
D | freezer.c | 155 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() 180 struct task_struct *task; in cgroup_do_freeze() local 222 void cgroup_freezer_migrate_task(struct task_struct *task, in cgroup_freezer_migrate_task()
|
D | cgroup.c | 871 struct task_struct *task) in css_set_skip_task_iters() 894 static void css_set_move_task(struct task_struct *task, in css_set_move_task() 1447 struct cgroup *task_cgroup_from_root(struct task_struct *task, in task_cgroup_from_root() 2320 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path() 2397 static void cgroup_migrate_add_task(struct task_struct *task, in cgroup_migrate_add_task() 2455 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() local 2503 struct task_struct *task, *tmp_task; in cgroup_migrate_execute() local 2809 struct task_struct *task; in cgroup_migrate() local 2842 struct task_struct *task; in cgroup_attach_task() local 2932 void cgroup_procs_write_finish(struct task_struct *task, bool threadgroup_locked) in cgroup_procs_write_finish() [all …]
|
D | cpuset.c | 211 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs() 964 struct task_struct *task; in dl_update_tasks_root_domain() local 1122 struct task_struct *task; in update_tasks_cpumask() local 1760 struct task_struct *task; in update_tasks_nodemask() local 1966 struct task_struct *task; in update_tasks_flags() local 2221 struct task_struct *task; in cpuset_can_attach() local 2316 struct task_struct *task; in cpuset_attach() local 3016 static void cpuset_fork(struct task_struct *task) in cpuset_fork() 3801 void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) in cpuset_task_status_allowed()
|
D | namespace.c | 118 static struct ns_common *cgroupns_get(struct task_struct *task) in cgroupns_get()
|
/kernel/bpf/ |
D | task_iter.c | 28 struct task_struct *task = NULL; in task_seq_get_next() local 56 struct task_struct *task; in task_seq_start() local 70 struct task_struct *task; in task_seq_next() local 87 DEFINE_BPF_ITER_FUNC(task, struct bpf_iter_meta *meta, struct task_struct *task) in DEFINE_BPF_ITER_FUNC() argument 132 struct task_struct *task; member 243 struct task_struct *task, u32 fd, in DEFINE_BPF_ITER_FUNC()
|
D | helpers.c | 173 struct task_struct *task = current; in BPF_CALL_0() local 189 struct task_struct *task = current; in BPF_CALL_0() local 209 struct task_struct *task = current; in BPF_CALL_2() local 546 struct task_struct *task = current; in BPF_CALL_4() local
|
/kernel/locking/ |
D | rtmutex-debug.c | 60 void rt_mutex_debug_task_free(struct task_struct *task) in rt_mutex_debug_task_free() 75 struct task_struct *task; in debug_rt_mutex_deadlock() local 89 struct task_struct *task; in debug_rt_mutex_print_deadlock() local
|
D | rtmutex.c | 305 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi() 328 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi() 448 static int rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain() 806 static int try_to_take_rt_mutex(struct rt_mutex *lock, struct task_struct *task, in try_to_take_rt_mutex() 929 struct task_struct *task, in task_blocks_on_rt_mutex() 1124 void rt_mutex_adjust_pi(struct task_struct *task) in rt_mutex_adjust_pi() 1757 struct task_struct *task) in __rt_mutex_start_proxy_lock() 1806 struct task_struct *task) in rt_mutex_start_proxy_lock()
|
D | mutex-debug.c | 52 struct task_struct *task) in debug_mutex_add_waiter() 61 struct task_struct *task) in debug_mutex_remove_waiter()
|
/kernel/sched/ |
D | psi.c | 568 struct task_struct *task; in psi_schedule_poll_work() local 800 static struct psi_group *iterate_groups(struct task_struct *task, void **iter) in iterate_groups() 824 static void psi_flags_change(struct task_struct *task, int clear, int set) in psi_flags_change() 839 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change() 910 void psi_memstall_tick(struct task_struct *task, int cpu) in psi_memstall_tick() 1021 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task() 1190 struct task_struct *task; in psi_trigger_create() local
|
/kernel/time/ |
D | namespace.c | 201 static void timens_set_vvar_page(struct task_struct *task, in timens_set_vvar_page() 246 static struct ns_common *timens_get(struct task_struct *task) in timens_get() 262 static struct ns_common *timens_for_children_get(struct task_struct *task) in timens_for_children_get()
|
/kernel/events/ |
D | core.c | 259 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local 313 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local 767 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp() 802 static void perf_cgroup_switch(struct task_struct *task, int mode) in perf_cgroup_switch() 850 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out() 877 struct task_struct *task) in perf_cgroup_sched_in() 1072 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out() 1078 struct task_struct *task) in perf_cgroup_sched_in() 1090 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp() 1096 perf_cgroup_switch(struct task_struct *task, struct task_struct *next) in perf_cgroup_switch() [all …]
|
/kernel/trace/ |
D | fgraph.c | 270 ftrace_graph_get_ret_stack(struct task_struct *task, int idx) in ftrace_graph_get_ret_stack() 296 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr() 315 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr()
|
/kernel/kcsan/ |
D | report.c | 57 struct task_struct *task; member 310 static void print_verbose_info(struct task_struct *task) in print_verbose_info()
|