Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 62) sorted by relevance

123

/kernel/livepatch/
Dtransition.c81 struct task_struct *g, *task; in klp_complete_transition() local
159 void klp_update_patch_state(struct task_struct *task) in klp_update_patch_state()
241 static int klp_check_stack(struct task_struct *task, char *err_buf) in klp_check_stack()
285 static bool klp_try_switch_task(struct task_struct *task) in klp_try_switch_task()
355 struct task_struct *g, *task; in klp_try_complete_transition() local
424 struct task_struct *g, *task; in klp_start_transition() local
469 struct task_struct *g, *task; in klp_init_transition() local
548 struct task_struct *g, *task; in klp_reverse_transition() local
/kernel/cgroup/
Dfreezer.c55 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
Dpids.c175 struct task_struct *task; in pids_can_attach() local
200 struct task_struct *task; in pids_cancel_attach() local
220 static int pids_can_fork(struct task_struct *task) in pids_can_fork()
241 static void pids_cancel_fork(struct task_struct *task) in pids_cancel_fork()
251 static void pids_release(struct task_struct *task) in pids_release()
Dcpuset.c146 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
157 static inline bool task_has_mempolicy(struct task_struct *task) in task_has_mempolicy()
162 static inline bool task_has_mempolicy(struct task_struct *task) in task_has_mempolicy()
881 struct task_struct *task; in update_tasks_cpumask() local
1098 struct task_struct *task; in update_tasks_nodemask() local
1304 struct task_struct *task; in update_tasks_flags() local
1470 struct task_struct *task; in cpuset_can_attach() local
1529 struct task_struct *task; in cpuset_attach() local
2102 static void cpuset_fork(struct task_struct *task) in cpuset_fork()
2780 void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) in cpuset_task_status_allowed()
Dcgroup.c750 struct task_struct *task) in css_set_skip_task_iters()
773 static void css_set_move_task(struct task_struct *task, in css_set_move_task()
1324 struct cgroup *task_cgroup_from_root(struct task_struct *task, in task_cgroup_from_root()
2106 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path()
2142 static void cgroup_migrate_add_task(struct task_struct *task, in cgroup_migrate_add_task()
2200 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() local
2247 struct task_struct *task, *tmp_task; in cgroup_migrate_execute() local
2537 struct task_struct *task; in cgroup_migrate() local
2570 struct task_struct *task; in cgroup_attach_task() local
2648 void cgroup_procs_write_finish(struct task_struct *task) in cgroup_procs_write_finish()
[all …]
Dnamespace.c117 static struct ns_common *cgroupns_get(struct task_struct *task) in cgroupns_get()
/kernel/
Dtask_work.c28 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
Dpid.c390 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
396 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
416 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
421 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
465 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
521 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
Dkthread.c147 void *kthread_data(struct task_struct *task) in kthread_data()
161 void *kthread_probe_data(struct task_struct *task) in kthread_probe_data()
276 struct task_struct *task; in __kthread_create_on_node() local
361 struct task_struct *task; in kthread_create_on_node() local
657 struct task_struct *task; in __kthread_create_worker() local
1152 struct task_struct *task; in kthread_destroy_worker() local
Dptrace.c167 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced()
185 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced()
275 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access()
348 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access()
357 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach()
873 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
Dpid_namespace.c214 struct task_struct *task, *me = current; in zap_pid_ns_processes() local
368 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get()
381 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get()
Dcred.c191 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred()
249 struct task_struct *task = current; in prepare_creds() local
429 struct task_struct *task = current; in commit_creds() local
Dseccomp.c80 struct task_struct *task = current; in populate_seccomp_data() local
232 void __weak arch_seccomp_spec_mitigate(struct task_struct *task) { } in arch_seccomp_spec_mitigate()
234 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode()
990 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter()
Dfork.c1031 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file()
1056 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm()
1073 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access()
1515 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2033 struct task_struct *task; in fork_idle() local
2476 struct task_struct *task = current; in unshare_files() local
Dutsname.c124 static struct ns_common *utsns_get(struct task_struct *task) in utsns_get()
Dworkqueue_internal.h39 struct task_struct *task; /* I: worker task */ member
Dprofile.c140 void profile_task_exit(struct task_struct *task) in profile_task_exit()
145 int profile_handoff_task(struct task_struct *task) in profile_handoff_task()
/kernel/locking/
Drtmutex-debug.c60 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
Drtmutex.c305 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()
808 static int try_to_take_rt_mutex(struct rt_mutex *lock, struct task_struct *task, in try_to_take_rt_mutex()
931 struct task_struct *task, in task_blocks_on_rt_mutex()
1126 void rt_mutex_adjust_pi(struct task_struct *task) in rt_mutex_adjust_pi()
1750 struct task_struct *task) in __rt_mutex_start_proxy_lock()
1799 struct task_struct *task) in rt_mutex_start_proxy_lock()
Dmutex-debug.c52 struct task_struct *task) in debug_mutex_add_waiter()
61 struct task_struct *task) in mutex_remove_waiter()
Dmutex.h13 #define mutex_remove_waiter(lock, waiter, task) \ argument
/kernel/bpf/
Dhelpers.c121 struct task_struct *task = current; in BPF_CALL_0() local
137 struct task_struct *task = current; in BPF_CALL_0() local
157 struct task_struct *task = current; in BPF_CALL_2() local
/kernel/sched/
Dtune.h30 #define schedtune_enqueue_task(task, cpu) do { } while (0) argument
31 #define schedtune_dequeue_task(task, cpu) do { } while (0) argument
Dpsi.c724 static struct psi_group *iterate_groups(struct task_struct *task, void **iter) in iterate_groups()
748 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change()
792 void psi_memstall_tick(struct task_struct *task, int cpu) in psi_memstall_tick()
903 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
/kernel/events/
Dcore.c252 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local
306 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local
681 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp()
716 static void perf_cgroup_switch(struct task_struct *task, int mode) in perf_cgroup_switch()
764 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out()
791 struct task_struct *task) in perf_cgroup_sched_in()
967 static inline void perf_cgroup_sched_out(struct task_struct *task, in perf_cgroup_sched_out()
973 struct task_struct *task) in perf_cgroup_sched_in()
985 perf_cgroup_set_timestamp(struct task_struct *task, in perf_cgroup_set_timestamp()
991 perf_cgroup_switch(struct task_struct *task, struct task_struct *next) in perf_cgroup_switch()
[all …]

123