Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 77) 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.c38 struct task_struct *task, *next_task; in task_group_seq_get_next() local
113 struct task_struct *task = NULL; in task_seq_get_next() local
163 struct task_struct *task; in task_seq_start() local
177 struct task_struct *task; in task_seq_next() local
194 DEFINE_BPF_ITER_FUNC(task, struct bpf_iter_meta *meta, struct task_struct *task) in DEFINE_BPF_ITER_FUNC() argument
273 struct task_struct *task; member
369 struct task_struct *task, u32 fd, in DEFINE_BPF_ITER_FUNC()
440 struct task_struct *task; member
633 struct task_struct *task, struct vm_area_struct *vma) in DEFINE_BPF_ITER_FUNC()
780 BPF_CALL_5(bpf_find_vma, struct task_struct *, task, u64, start, in BPF_CALL_5() argument
/kernel/
Dtask_work.c42 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
87 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match()
134 task_work_cancel_func(struct task_struct *task, task_work_func_t func) in task_work_cancel_func()
154 bool task_work_cancel(struct task_struct *task, struct callback_head *cb) in task_work_cancel()
173 struct task_struct *task = current; in task_work_run() local
Dpid.c324 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr()
334 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid()
340 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid()
359 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid()
364 void change_pid(struct task_struct *task, enum pid_type type, in change_pid()
431 struct task_struct *task; in find_get_task_by_vpid() local
442 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid()
496 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns()
569 struct task_struct *task; in pidfd_get_task() local
671 static struct file *__pidfd_fget(struct task_struct *task, int fd) in __pidfd_fget()
[all …]
Dptrace.c174 static bool looks_like_a_spurious_pid(struct task_struct *task) in looks_like_a_spurious_pid()
195 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced()
214 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced()
287 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access()
360 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access()
389 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach()
812 static long ptrace_get_rseq_configuration(struct task_struct *task, in ptrace_get_rseq_configuration()
908 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
Dcred.c151 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred()
206 struct task_struct *task = current; in prepare_creds() local
393 struct task_struct *task = current; in commit_creds() local
Dpid_namespace.c173 struct task_struct *task, *me = current; in zap_pid_ns_processes() local
354 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get()
367 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get()
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()
434 struct task_struct *task; in __kthread_create_on_node() local
508 struct task_struct *task; in kthread_create_on_node() local
863 struct task_struct *task; in __kthread_create_worker() local
1412 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()
2112 static struct seccomp_filter *get_nth_filter(struct task_struct *task, in get_nth_filter()
2158 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter()
2196 long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata()
2477 struct pid *pid, struct task_struct *task) in proc_pid_seccomp_cache()
Dfork.c1013 struct task_struct *task = container_of(rhp, struct task_struct, rcu); in __put_task_struct_rcu_cb() local
1541 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file()
1565 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm()
1582 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access()
1983 static inline void init_task_pid_links(struct task_struct *task) in init_task_pid_links()
1992 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2855 struct task_struct *task; in fork_idle() local
3555 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()
171 struct task_struct *task; in freezer_attach() local
215 static void freezer_fork(struct task_struct *task) in freezer_fork()
261 struct task_struct *task; in update_if_frozen() local
325 struct task_struct *task; in freeze_cgroup() local
336 struct task_struct *task; in unfreeze_cgroup() local
Dpids.c193 struct task_struct *task; in pids_can_attach() local
218 struct task_struct *task; in pids_cancel_attach() local
238 static int pids_can_fork(struct task_struct *task, struct css_set *cset) in pids_can_fork()
262 static void pids_cancel_fork(struct task_struct *task, struct css_set *cset) in pids_cancel_fork()
275 static void pids_release(struct task_struct *task) in pids_release()
Dfreezer.c156 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task()
185 struct task_struct *task; in cgroup_do_freeze() local
227 void cgroup_freezer_migrate_task(struct task_struct *task, in cgroup_freezer_migrate_task()
Dcpuset.c230 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
1086 struct task_struct *task; in dl_update_tasks_root_domain() local
1249 struct task_struct *task; in update_tasks_cpumask() local
2078 struct task_struct *task; in update_tasks_nodemask() local
2286 struct task_struct *task; in update_tasks_flags() local
2570 struct task_struct *task; in cpuset_can_attach() local
2673 static void cpuset_attach_task(struct cpuset *cs, struct task_struct *task) in cpuset_attach_task()
2694 struct task_struct *task; in cpuset_attach() local
3435 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3474 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork()
[all …]
Dcgroup.c849 struct task_struct *task) in css_set_skip_task_iters()
872 static void css_set_move_task(struct task_struct *task, in css_set_move_task()
1462 struct cgroup *task_cgroup_from_root(struct task_struct *task, in task_cgroup_from_root()
2412 static void cgroup_migrate_add_task(struct task_struct *task, in cgroup_migrate_add_task()
2470 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() local
2518 struct task_struct *task, *tmp_task; in cgroup_migrate_execute() local
2815 struct task_struct *task; in cgroup_migrate() local
2846 struct task_struct *task; in cgroup_attach_task() local
2936 void cgroup_procs_write_finish(struct task_struct *task, bool threadgroup_locked) in cgroup_procs_write_finish()
3041 struct task_struct *task, *ntask; in cgroup_update_dfl_csses() local
[all …]
/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.c327 static __always_inline int __waiter_prio(struct task_struct *task) in __waiter_prio()
342 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio()
355 waiter_clone_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_clone_prio()
493 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi()
501 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi()
529 struct task_struct *task, in rt_mutex_wake_q_add_task()
663 static int __sched rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain()
1072 try_to_take_rt_mutex(struct rt_mutex_base *lock, struct task_struct *task, in try_to_take_rt_mutex()
1190 struct task_struct *task, in task_blocks_on_rt_mutex()
Drtmutex_api.c299 struct task_struct *task) in __rt_mutex_start_proxy_lock()
346 struct task_struct *task) in rt_mutex_start_proxy_lock()
458 void __sched rt_mutex_adjust_pi(struct task_struct *task) in rt_mutex_adjust_pi()
490 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.c621 struct task_struct *task; in psi_schedule_rtpoll_work() local
891 static inline struct psi_group *task_psi_group(struct task_struct *task) in task_psi_group()
900 static void psi_flags_change(struct task_struct *task, int clear, int set) in psi_flags_change()
915 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change()
1162 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
1370 struct task_struct *task; in psi_trigger_create() local
/kernel/trace/
Dfgraph.c306 ftrace_graph_get_ret_stack(struct task_struct *task, int idx) in ftrace_graph_get_ret_stack()
332 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr()
351 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr()
/kernel/events/
Dcore.c266 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local
320 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local
847 static void perf_cgroup_switch(struct task_struct *task) in perf_cgroup_switch()
1068 static void perf_cgroup_switch(struct task_struct *task) in perf_cgroup_switch()
1370 perf_lock_task_context(struct task_struct *task, unsigned long *flags) in perf_lock_task_context()
1426 perf_pin_task_context(struct task_struct *task) in perf_pin_task_context()
2828 struct task_struct *task = READ_ONCE(ctx->task); in perf_install_in_context() local
3490 perf_event_context_sched_out(struct task_struct *task, struct task_struct *next) in perf_event_context_sched_out()
3664 void __perf_event_task_sched_out(struct task_struct *task, in __perf_event_task_sched_out()
3937 static void perf_event_context_sched_in(struct task_struct *task) in perf_event_context_sched_in()
[all …]
/kernel/trace/rv/monitors/wip/
Dwip.c32 static void handle_sched_waking(void *data, struct task_struct *task) in handle_sched_waking()

1234