Home
last modified time | relevance | path

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

123

/kernel/livepatch/
Dtransition.c72 struct task_struct *g, *task; in klp_complete_transition() local
162 void klp_update_patch_state(struct task_struct *task) in klp_update_patch_state()
241 static int klp_check_stack(struct task_struct *task, const char **oldname) in klp_check_stack()
268 static int klp_check_and_switch_task(struct task_struct *task, void *arg) in klp_check_and_switch_task()
289 static bool klp_try_switch_task(struct task_struct *task) in klp_try_switch_task()
343 struct task_struct *g, *task; in klp_send_signals() local
387 struct task_struct *g, *task; in klp_try_complete_transition() local
464 struct task_struct *g, *task; in klp_start_transition() local
505 struct task_struct *g, *task; in klp_init_transition() local
580 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()
121 struct task_struct *task; in bpf_pid_task_storage_lookup_elem() local
155 struct task_struct *task; in bpf_pid_task_storage_update_elem() local
187 static int task_storage_delete(struct task_struct *task, struct bpf_map *map) in task_storage_delete()
202 struct task_struct *task; in bpf_pid_task_storage_delete_elem() local
231 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument
263 BPF_CALL_2(bpf_task_storage_delete, struct bpf_map *, map, struct task_struct *, in BPF_CALL_2() argument
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/
Dpid.c321 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()
565 struct task_struct *task; in pidfd_get_task() local
669 static struct file *__pidfd_fget(struct task_struct *task, int fd) in __pidfd_fget()
[all …]
Dtask_work.c42 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add()
86 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match()
133 task_work_cancel(struct task_struct *task, task_work_func_t func) in task_work_cancel()
148 struct task_struct *task = current; in task_work_run() local
Dptrace.c173 static bool looks_like_a_spurious_pid(struct task_struct *task) in looks_like_a_spurious_pid()
194 static bool ptrace_freeze_traced(struct task_struct *task) in ptrace_freeze_traced()
213 static void ptrace_unfreeze_traced(struct task_struct *task) in ptrace_unfreeze_traced()
286 static int __ptrace_may_access(struct task_struct *task, unsigned int mode) in __ptrace_may_access()
359 bool ptrace_may_access(struct task_struct *task, unsigned int mode) in ptrace_may_access()
388 static int ptrace_attach(struct task_struct *task, long request, in ptrace_attach()
811 static long ptrace_get_rseq_configuration(struct task_struct *task, in ptrace_get_rseq_configuration()
907 static int ptrace_regset(struct task_struct *task, int req, unsigned int type, in ptrace_regset()
Dpid_namespace.c170 struct task_struct *task, *me = current; in zap_pid_ns_processes() local
351 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get()
364 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()
430 struct task_struct *task; in __kthread_create_on_node() local
518 struct task_struct *task; in kthread_create_on_node() local
855 struct task_struct *task; in __kthread_create_worker() local
1400 struct task_struct *task; in kthread_destroy_worker() local
Dcred.c199 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred()
257 struct task_struct *task = current; in prepare_creds() local
452 struct task_struct *task = current; in commit_creds() local
Dseccomp.c65 struct task_struct *task; member
247 struct task_struct *task = current; in populate_seccomp_data() local
442 void __weak arch_seccomp_spec_mitigate(struct task_struct *task) { } in arch_seccomp_spec_mitigate()
444 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode()
2048 static struct seccomp_filter *get_nth_filter(struct task_struct *task, in get_nth_filter()
2094 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter()
2132 long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata()
2426 struct pid *pid, struct task_struct *task) in proc_pid_seccomp_cache()
Dfork.c949 struct task_struct *task = container_of(rhp, struct task_struct, rcu); in __put_task_struct_rcu_cb() local
1464 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file()
1488 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm()
1505 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access()
1898 static inline void init_task_pid_links(struct task_struct *task) in init_task_pid_links()
1907 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid()
2697 struct task_struct *task; in fork_idle() local
3394 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.c250 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
1108 struct task_struct *task; in dl_update_tasks_root_domain() local
1269 struct task_struct *task; in update_tasks_cpumask() local
2033 struct task_struct *task; in update_tasks_nodemask() local
2241 struct task_struct *task; in update_tasks_flags() local
2554 struct task_struct *task; in cpuset_can_attach() local
2644 static void cpuset_attach_task(struct cpuset *cs, struct task_struct *task) in cpuset_attach_task()
2664 struct task_struct *task; in cpuset_attach() local
3379 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork()
3418 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork()
[all …]
Dcgroup.c882 struct task_struct *task) in css_set_skip_task_iters()
905 static void css_set_move_task(struct task_struct *task, in css_set_move_task()
1485 struct cgroup *task_cgroup_from_root(struct task_struct *task, in task_cgroup_from_root()
2397 int task_cgroup_path(struct task_struct *task, char *buf, size_t buflen) in task_cgroup_path()
2474 static void cgroup_migrate_add_task(struct task_struct *task, in cgroup_migrate_add_task()
2532 struct task_struct *task = tset->cur_task; in cgroup_taskset_next() local
2580 struct task_struct *task, *tmp_task; in cgroup_migrate_execute() local
2877 struct task_struct *task; in cgroup_migrate() local
2910 struct task_struct *task; in cgroup_attach_task() local
3000 void cgroup_procs_write_finish(struct task_struct *task, bool threadgroup_locked) in cgroup_procs_write_finish()
[all …]
/kernel/locking/
Drtmutex.c327 static __always_inline int __waiter_prio(struct task_struct *task) in __waiter_prio()
343 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio()
472 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi()
478 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi()
501 struct task_struct *task, in rt_mutex_wake_q_add_task()
625 static int __sched rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain()
1021 try_to_take_rt_mutex(struct rt_mutex_base *lock, struct task_struct *task, in try_to_take_rt_mutex()
1139 struct task_struct *task, in task_blocks_on_rt_mutex()
Dmutex-debug.c51 struct task_struct *task) in debug_mutex_add_waiter()
60 struct task_struct *task) in debug_mutex_remove_waiter()
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()
/kernel/sched/
Dpsi.c573 struct task_struct *task; in psi_schedule_poll_work() local
837 static inline struct psi_group *task_psi_group(struct task_struct *task) in task_psi_group()
846 static void psi_flags_change(struct task_struct *task, int clear, int set) in psi_flags_change()
861 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change()
958 void psi_account_irqtime(struct task_struct *task, u32 delta) in psi_account_irqtime()
1096 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task()
1283 struct task_struct *task; in psi_trigger_create() local
Dandroid.h14 static inline bool task_may_not_preempt(struct task_struct *task, int cpu) in task_may_not_preempt()
/kernel/time/
Dnamespace.c201 static void timens_set_vvar_page(struct task_struct *task, in timens_set_vvar_page()
243 static struct ns_common *timens_get(struct task_struct *task) in timens_get()
259 static struct ns_common *timens_for_children_get(struct task_struct *task) in timens_for_children_get()
/kernel/trace/
Dfgraph.c281 ftrace_graph_get_ret_stack(struct task_struct *task, int idx) in ftrace_graph_get_ret_stack()
307 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr()
326 unsigned long ftrace_graph_ret_addr(struct task_struct *task, int *idx, in ftrace_graph_ret_addr()
/kernel/events/
Dcore.c264 struct task_struct *task = READ_ONCE(ctx->task); /* verified in event_function */ in event_function_call() local
318 struct task_struct *task = READ_ONCE(ctx->task); in event_function_local() local
831 static void perf_cgroup_switch(struct task_struct *task) in perf_cgroup_switch()
1057 static void perf_cgroup_switch(struct task_struct *task) in perf_cgroup_switch()
1392 perf_lock_task_context(struct task_struct *task, int ctxn, unsigned long *flags) in perf_lock_task_context()
1448 perf_pin_task_context(struct task_struct *task, int ctxn) in perf_pin_task_context()
2858 struct task_struct *task = READ_ONCE(ctx->task); in perf_install_in_context() local
3444 static void perf_event_context_sched_out(struct task_struct *task, int ctxn, in perf_event_context_sched_out()
3639 void __perf_event_task_sched_out(struct task_struct *task, in __perf_event_task_sched_out()
3907 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()

123