Home
last modified time | relevance | path

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

1234

/kernel/livepatch/
Dtransition.c94 struct task_struct *g, *task; in klp_complete_transition() local
184 void klp_update_patch_state(struct task_struct *task) in klp_update_patch_state()
263 static int klp_check_stack(struct task_struct *task, const char **oldname) in klp_check_stack()
293 static int klp_check_and_switch_task(struct task_struct *task, void *arg) in klp_check_and_switch_task()
314 static bool klp_try_switch_task(struct task_struct *task) in klp_try_switch_task()
410 struct task_struct *g, *task; in klp_send_signals() local
454 struct task_struct *g, *task; in klp_try_complete_transition() local
532 struct task_struct *g, *task; in klp_start_transition() local
575 struct task_struct *g, *task; in klp_init_transition() local
651 struct task_struct *g, *task; in klp_reverse_transition() local
[all …]
/kernel/bpf/
Dbpf_task_storage.c51 struct task_struct *task = owner; in task_storage_ptr() local
57 task_storage_lookup(struct task_struct *task, struct bpf_map *map, in task_storage_lookup()
72 void bpf_task_storage_free(struct task_struct *task) in bpf_task_storage_free()
93 struct task_struct *task; in bpf_pid_task_storage_lookup_elem() local
127 struct task_struct *task; in bpf_pid_task_storage_update_elem() local
159 static int task_storage_delete(struct task_struct *task, struct bpf_map *map, in task_storage_delete()
178 struct task_struct *task; in bpf_pid_task_storage_delete_elem() local
208 struct task_struct *task, void *value, in __bpf_task_storage_get()
230 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument
249 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument
[all …]
Dtask_iter.c40 struct task_struct *task; in task_group_seq_get_next() local
93 struct task_struct *task = NULL; in task_seq_get_next() local
143 struct task_struct *task; in task_seq_start() local
157 struct task_struct *task; in task_seq_next() local
174 DEFINE_BPF_ITER_FUNC(task, struct bpf_iter_meta *meta, struct task_struct *task) in DEFINE_BPF_ITER_FUNC() argument
253 struct task_struct *task; member
344 struct task_struct *task, u32 fd, in DEFINE_BPF_ITER_FUNC()
415 struct task_struct *task; member
608 struct task_struct *task, struct vm_area_struct *vma) in DEFINE_BPF_ITER_FUNC()
755 BPF_CALL_5(bpf_find_vma, struct task_struct *, task, u64, start, in BPF_CALL_5() argument
[all …]
Dstackmap.c191 get_callchain_entry_for_task(struct task_struct *task, u32 max_depth) in get_callchain_entry_for_task()
405 static long __bpf_get_stack(struct pt_regs *regs, struct task_struct *task, in __bpf_get_stack()
528 static long __bpf_get_task_stack(struct task_struct *task, void *buf, u32 size, in __bpf_get_task_stack()
545 BPF_CALL_4(bpf_get_task_stack, struct task_struct *, task, void *, buf, in BPF_CALL_4() argument
562 BPF_CALL_4(bpf_get_task_stack_sleepable, struct task_struct *, task, void *, buf, in BPF_CALL_4() argument
/kernel/
Dtask_work.c54 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
123 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match()
170 task_work_cancel_func(struct task_struct *task, task_work_func_t func) in task_work_cancel_func()
190 bool task_work_cancel(struct task_struct *task, struct callback_head *cb) in task_work_cancel()
209 struct task_struct *task = current; in task_work_run() local
Dpid.c330 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
340 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
346 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
370 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
375 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
441 struct task_struct *task; in find_get_task_by_vpid() local
452 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
506 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
574 struct task_struct *task; in pidfd_get_task() local
687 static struct file *__pidfd_fget(struct task_struct *task, int fd) in __pidfd_fget()
[all …]
Dptrace.c163 static bool looks_like_a_spurious_pid(struct task_struct *task) in looks_like_a_spurious_pid()
184 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced()
203 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced()
276 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access()
349 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access()
378 static inline void ptrace_set_stopped(struct task_struct *task, bool seize) in ptrace_set_stopped()
409 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach()
792 static long ptrace_get_rseq_configuration(struct task_struct *task, in ptrace_get_rseq_configuration()
888 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
Dpid_namespace.c174 struct task_struct *task, *me = current; in zap_pid_ns_processes() local
331 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get()
344 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get()
Dcred.c156 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred()
211 struct task_struct *task = current; in prepare_creds() local
397 struct task_struct *task = current; in commit_creds() local
Dkthread.c225 void *kthread_func(struct task_struct *task) in kthread_func()
242 void *kthread_data(struct task_struct *task) in kthread_data()
257 void *kthread_probe_data(struct task_struct *task) in kthread_probe_data()
435 struct task_struct *task; in __kthread_create_on_node() local
509 struct task_struct *task; in kthread_create_on_node() local
874 struct task_struct *task; in __kthread_create_worker() local
1423 struct task_struct *task; in kthread_destroy_worker() local
Dseccomp.c65 struct task_struct *task; member
252 struct task_struct *task = current; in populate_seccomp_data() local
447 void __weak arch_seccomp_spec_mitigate(struct task_struct *task) { } in arch_seccomp_spec_mitigate()
449 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode()
2142 static struct seccomp_filter *get_nth_filter(struct task_struct *task, in get_nth_filter()
2188 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter()
2226 long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata()
2506 struct pid *pid, struct task_struct *task) in proc_pid_seccomp_cache()
Dhung_task.c94 static void debug_show_blocker(struct task_struct *task) in debug_show_blocker()
124 static inline void debug_show_blocker(struct task_struct *task) in debug_show_blocker()
Dfork.c980 struct task_struct *task = container_of(rhp, struct task_struct, rcu); in __put_task_struct_rcu_cb() local
1515 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file()
1540 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm()
1556 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access()
1959 static inline void init_task_pid_links(struct task_struct *task) in init_task_pid_links()
1968 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2729 struct task_struct *task; in fork_idle() local
3434 struct task_struct *task = current; in unshare_files() local
/kernel/cgroup/
Dlegacy_freezer.c56 static inline struct freezer *task_freezer(struct task_struct *task) in task_freezer()
66 bool cgroup_freezing(struct task_struct *task) in cgroup_freezing()
164 struct task_struct *task; in freezer_attach() local
207 static void freezer_fork(struct task_struct *task) in freezer_fork()
253 struct task_struct *task; in update_if_frozen() local
317 struct task_struct *task; in freeze_cgroup() local
328 struct task_struct *task; in unfreeze_cgroup() local
Dfreezer.c155 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
228 void cgroup_freezer_migrate_task(struct task_struct *task, in cgroup_freezer_migrate_task()
Dpids.c202 struct task_struct *task; in pids_can_attach() local
227 struct task_struct *task; in pids_cancel_attach() local
273 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork()
286 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork()
294 static void pids_release(struct task_struct *task) in pids_release()
Dcpuset.c941 struct task_struct *task; in dl_update_tasks_root_domain() local
1110 struct task_struct *task; in cpuset_update_tasks_cpumask() local
2561 struct task_struct *task; in cpuset_update_tasks_nodemask() local
2952 struct task_struct *task; in cpuset_can_attach() local
3052 static void cpuset_attach_task(struct cpuset *cs, struct task_struct *task) in cpuset_attach_task()
3073 struct task_struct *task; in cpuset_attach() local
3557 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3596 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork()
3616 static void cpuset_fork(struct task_struct *task) in cpuset_fork()
4330 void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) in cpuset_task_status_allowed()
/kernel/entry/
Dsyscall_user_dispatch.c72 static int task_set_syscall_user_dispatch(struct task_struct *task, unsigned long mode, in task_set_syscall_user_dispatch()
127 int syscall_user_dispatch_get_config(struct task_struct *task, unsigned long size, in syscall_user_dispatch_get_config()
151 int syscall_user_dispatch_set_config(struct task_struct *task, unsigned long size, in syscall_user_dispatch_set_config()
/kernel/locking/
Drtmutex.c349 static __always_inline int __waiter_prio(struct task_struct *task) in __waiter_prio()
358 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio()
371 waiter_clone_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_clone_prio()
503 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi()
511 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi()
539 struct task_struct *task, in rt_mutex_wake_q_add_task()
673 static int __sched rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain()
1082 try_to_take_rt_mutex(struct rt_mutex_base *lock, struct task_struct *task, in try_to_take_rt_mutex()
1200 struct task_struct *task, in task_blocks_on_rt_mutex()
Drtmutex_api.c300 struct task_struct *task, in __rt_mutex_start_proxy_lock()
348 struct task_struct *task) in rt_mutex_start_proxy_lock()
464 void __sched rt_mutex_adjust_pi(struct task_struct *task) in rt_mutex_adjust_pi()
496 void rt_mutex_debug_task_free(struct task_struct *task) in rt_mutex_debug_task_free()
Dmutex-debug.c52 struct task_struct *task) in debug_mutex_add_waiter()
61 struct task_struct *task) in debug_mutex_remove_waiter()
/kernel/time/
Dnamespace.c219 static void timens_set_vvar_page(struct task_struct *task, in timens_set_vvar_page()
261 static struct ns_common *timens_get(struct task_struct *task) in timens_get()
277 static struct ns_common *timens_for_children_get(struct task_struct *task) in timens_for_children_get()
/kernel/sched/
Dpsi.c612 struct task_struct *task; in psi_schedule_rtpoll_work() local
881 static inline struct psi_group *task_psi_group(struct task_struct *task) in task_psi_group()
890 static void psi_flags_change(struct task_struct *task, int clear, int set) in psi_flags_change()
905 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change()
1151 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
1357 struct task_struct *task; in psi_trigger_create() local
/kernel/events/
Dcore.c315 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local
373 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local
897 static void perf_cgroup_switch(struct task_struct *task) in perf_cgroup_switch()
1123 static void perf_cgroup_switch(struct task_struct *task) in perf_cgroup_switch()
1426 perf_lock_task_context(struct task_struct *task, unsigned long *flags) in perf_lock_task_context()
1482 perf_pin_task_context(struct task_struct *task) in perf_pin_task_context()
2944 struct task_struct *task = READ_ONCE(ctx->task); in perf_install_in_context() local
3612 perf_event_context_sched_out(struct task_struct *task, struct task_struct *next) in perf_event_context_sched_out()
3791 void __perf_event_task_sched_out(struct task_struct *task, in __perf_event_task_sched_out()
4062 static void perf_event_context_sched_in(struct task_struct *task) in perf_event_context_sched_in()
[all …]
/kernel/trace/
Dtrace_sched_switch.c374 void tracing_record_taskinfo(struct task_struct *task, int flags) in tracing_record_taskinfo()
428 void tracing_record_cmdline(struct task_struct *task) in tracing_record_cmdline()
433 void tracing_record_tgid(struct task_struct *task) in tracing_record_tgid()

1234