/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 631 struct task_struct *g, *task; in klp_force_transition() local
|
/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 | 172 struct task_struct *task; in pids_can_attach() local 197 struct task_struct *task; in pids_cancel_attach() local 217 static int pids_can_fork(struct task_struct *task) in pids_can_fork() 238 static void pids_cancel_fork(struct task_struct *task) in pids_cancel_fork() 248 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 | cpuset.c | 198 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs() 913 struct task_struct *task; in update_tasks_root_domain() local 1036 struct task_struct *task; in update_tasks_cpumask() local 1649 struct task_struct *task; in update_tasks_nodemask() local 1855 struct task_struct *task; in update_tasks_flags() local 2109 struct task_struct *task; in cpuset_can_attach() local 2166 struct task_struct *task; in cpuset_attach() local 2860 static void cpuset_fork(struct task_struct *task) in cpuset_fork() 3615 void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) in cpuset_task_status_allowed()
|
D | cgroup.c | 855 struct task_struct *task) in css_set_skip_task_iters() 878 static void css_set_move_task(struct task_struct *task, in css_set_move_task() 1429 struct cgroup *task_cgroup_from_root(struct task_struct *task, in task_cgroup_from_root() 2328 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path() 2364 static void cgroup_migrate_add_task(struct task_struct *task, in cgroup_migrate_add_task() 2422 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() local 2469 struct task_struct *task, *tmp_task; in cgroup_migrate_execute() local 2763 struct task_struct *task; in cgroup_migrate() local 2796 struct task_struct *task; in cgroup_attach_task() local 2874 void cgroup_procs_write_finish(struct task_struct *task) in cgroup_procs_write_finish() [all …]
|
D | namespace.c | 117 static struct ns_common *cgroupns_get(struct task_struct *task) in cgroupns_get()
|
/kernel/ |
D | pid.c | 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() 360 struct task_struct *task; in find_get_task_by_vpid() local 371 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 425 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
|
D | task_work.c | 28 task_work_add(struct task_struct *task, struct callback_head *work, bool notify) in task_work_add() 56 task_work_cancel(struct task_struct *task, task_work_func_t func) in task_work_cancel() 92 struct task_struct *task = current; in task_work_run() local
|
D | ptrace.c | 173 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced() 191 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced() 281 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access() 354 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access() 363 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach() 879 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
|
D | kthread.c | 163 void *kthread_data(struct task_struct *task) in kthread_data() 177 void *kthread_probe_data(struct task_struct *task) in kthread_probe_data() 299 struct task_struct *task; in __kthread_create_on_node() local 384 struct task_struct *task; in kthread_create_on_node() local 686 struct task_struct *task; in __kthread_create_worker() local 1180 struct task_struct *task; in kthread_destroy_worker() local
|
D | pid_namespace.c | 185 struct task_struct *task, *me = current; in zap_pid_ns_processes() local 342 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get() 355 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get()
|
D | cred.c | 193 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred() 252 struct task_struct *task = current; in prepare_creds() local 436 struct task_struct *task = current; in commit_creds() local
|
D | seccomp.c | 53 struct task_struct *task; member 146 struct task_struct *task = current; in populate_seccomp_data() local 294 void __weak arch_seccomp_spec_mitigate(struct task_struct *task) { } in arch_seccomp_spec_mitigate() 296 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode() 1453 static struct seccomp_filter *get_nth_filter(struct task_struct *task, in get_nth_filter() 1499 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() 1537 long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata()
|
D | fork.c | 1188 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file() 1213 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm() 1230 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access() 1654 static inline void init_task_pid_links(struct task_struct *task) in init_task_pid_links() 1664 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 1720 struct task_struct *task; in pidfd_poll() local 2315 struct task_struct *task; in fork_idle() local 2952 struct task_struct *task = current; in unshare_files() local
|
D | profile.c | 141 void profile_task_exit(struct task_struct *task) in profile_task_exit() 146 int profile_handoff_task(struct task_struct *task) in profile_handoff_task()
|
D | workqueue_internal.h | 38 struct task_struct *task; /* I: worker task */ member
|
/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 | 306 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi() 329 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi() 449 static int rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain() 807 static int try_to_take_rt_mutex(struct rt_mutex *lock, struct task_struct *task, in try_to_take_rt_mutex() 930 struct task_struct *task, in task_blocks_on_rt_mutex() 1125 void rt_mutex_adjust_pi(struct task_struct *task) in rt_mutex_adjust_pi() 1749 struct task_struct *task) in __rt_mutex_start_proxy_lock() 1798 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 mutex_remove_waiter()
|
D | mutex.h | 13 #define mutex_remove_waiter(lock, waiter, task) \ argument
|
/kernel/events/ |
D | core.c | 251 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local 305 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local 759 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp() 794 static void perf_cgroup_switch(struct task_struct *task, int mode) in perf_cgroup_switch() 842 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out() 869 struct task_struct *task) in perf_cgroup_sched_in() 1011 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out() 1017 struct task_struct *task) in perf_cgroup_sched_in() 1029 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp() 1035 perf_cgroup_switch(struct task_struct *task, struct task_struct *next) in perf_cgroup_switch() [all …]
|
/kernel/trace/ |
D | fgraph.c | 247 ftrace_graph_get_ret_stack(struct task_struct *task, int idx) in ftrace_graph_get_ret_stack() 273 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr() 292 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr()
|
/kernel/bpf/ |
D | helpers.c | 157 struct task_struct *task = current; in BPF_CALL_0() local 173 struct task_struct *task = current; in BPF_CALL_0() local 193 struct task_struct *task = current; in BPF_CALL_2() local
|
/kernel/sched/ |
D | psi.c | 723 static struct psi_group *iterate_groups(struct task_struct *task, void **iter) in iterate_groups() 747 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change() 791 void psi_memstall_tick(struct task_struct *task, int cpu) in psi_memstall_tick() 902 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
|