/kernel/livepatch/ |
A D | transition.c | 85 struct task_struct *g, *task; in klp_complete_transition() local 175 void klp_update_patch_state(struct task_struct *task) in klp_update_patch_state() 254 static int klp_check_stack(struct task_struct *task, const char **oldname) in klp_check_stack() 284 static int klp_check_and_switch_task(struct task_struct *task, void *arg) in klp_check_and_switch_task() 305 static bool klp_try_switch_task(struct task_struct *task) in klp_try_switch_task() 389 struct task_struct *g, *task; in klp_send_signals() local 433 struct task_struct *g, *task; in klp_try_complete_transition() local 511 struct task_struct *g, *task; in klp_start_transition() local 554 struct task_struct *g, *task; in klp_init_transition() local 630 struct task_struct *g, *task; in klp_reverse_transition() local [all …]
|
/kernel/bpf/ |
A D | bpf_task_storage.c | 48 struct task_struct *task = owner; in task_storage_ptr() local 54 task_storage_lookup(struct task_struct *task, struct bpf_map *map, in task_storage_lookup() 69 void bpf_task_storage_free(struct task_struct *task) in bpf_task_storage_free() 91 struct task_struct *task; in bpf_pid_task_storage_lookup_elem() local 125 struct task_struct *task; in bpf_pid_task_storage_update_elem() local 160 static int task_storage_delete(struct task_struct *task, struct bpf_map *map, in task_storage_delete() 179 struct task_struct *task; in bpf_pid_task_storage_delete_elem() local 209 struct task_struct *task, void *value, in __bpf_task_storage_get() 231 BPF_CALL_5(bpf_task_storage_get_recur, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument 250 BPF_CALL_5(bpf_task_storage_get, struct bpf_map *, map, struct task_struct *, in BPF_CALL_5() argument [all …]
|
A D | task_iter.c | 39 struct task_struct *task; in task_group_seq_get_next() local 92 struct task_struct *task = NULL; in task_seq_get_next() local 142 struct task_struct *task; in task_seq_start() local 156 struct task_struct *task; in task_seq_next() local 173 DEFINE_BPF_ITER_FUNC(task, struct bpf_iter_meta *meta, struct task_struct *task) in DEFINE_BPF_ITER_FUNC() argument 252 struct task_struct *task; member 340 struct task_struct *task, u32 fd, in DEFINE_BPF_ITER_FUNC() 411 struct task_struct *task; member 798 struct task_struct *task; member 819 struct task_struct *task, u64 addr) in bpf_iter_task_vma_new() [all …]
|
A D | stackmap.c | 191 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/trace/rv/monitors/sleep/ |
A D | sleep.c | 25 static void ltl_atoms_fetch(struct task_struct *task, struct ltl_monitor *mon) in ltl_atoms_fetch() 36 static void ltl_atoms_init(struct task_struct *task, struct ltl_monitor *mon, bool task_creation) in ltl_atoms_init() 85 static void handle_sched_set_state(void *data, struct task_struct *task, int state) in handle_sched_set_state() 93 static void handle_sched_wakeup(void *data, struct task_struct *task) in handle_sched_wakeup() 98 static void handle_sched_waking(void *data, struct task_struct *task) in handle_sched_waking() 176 static void handle_kthread_stop(void *data, struct task_struct *task) in handle_kthread_stop()
|
/kernel/ |
A D | task_work.c | 54 int task_work_add(struct task_struct *task, struct callback_head *work, in task_work_add() 110 task_work_cancel_match(struct task_struct *task, in task_work_cancel_match() 157 task_work_cancel_func(struct task_struct *task, task_work_func_t func) in task_work_cancel_func() 177 bool task_work_cancel(struct task_struct *task, struct callback_head *cb) in task_work_cancel() 196 struct task_struct *task = current; in task_work_run() local
|
A D | pid.c | 329 static struct pid **task_pid_ptr(struct task_struct *task, enum pid_type type) in task_pid_ptr() 339 void attach_pid(struct task_struct *task, enum pid_type type) in attach_pid() 349 static void __change_pid(struct pid **pids, struct task_struct *task, in __change_pid() 371 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type type) in detach_pid() 376 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type type, in change_pid() 444 struct task_struct *task; in find_get_task_by_vpid() local 455 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() 509 pid_t __task_pid_nr_ns(struct task_struct *task, enum pid_type type, in __task_pid_nr_ns() 573 struct task_struct *task; in pidfd_get_task() local 828 static struct file *__pidfd_fget(struct task_struct *task, int fd) in __pidfd_fget() [all …]
|
A D | ptrace.c | 163 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()
|
A D | cred.c | 153 const struct cred *get_task_cred(struct task_struct *task) in get_task_cred() 208 struct task_struct *task = current; in prepare_creds() local 394 struct task_struct *task = current; in commit_creds() local
|
A D | kthread.c | 71 struct task_struct *task; member 235 void *kthread_func(struct task_struct *task) in kthread_func() 252 void *kthread_data(struct task_struct *task) in kthread_data() 267 void *kthread_probe_data(struct task_struct *task) in kthread_probe_data() 509 struct task_struct *task; in __kthread_create_on_node() local 583 struct task_struct *task; in kthread_create_on_node() local 1038 struct task_struct *task; in __kthread_create_worker_on_node() local 1582 struct task_struct *task; in kthread_destroy_worker() local
|
A D | pid_namespace.c | 195 struct task_struct *task, *me = current; in zap_pid_ns_processes() local 352 static struct ns_common *pidns_get(struct task_struct *task) in pidns_get() 365 static struct ns_common *pidns_for_children_get(struct task_struct *task) in pidns_for_children_get()
|
A D | fork.c | 755 struct task_struct *task = container_of(rhp, struct task_struct, rcu); in __put_task_struct_rcu_cb() local 1294 struct file *get_task_exe_file(struct task_struct *task) in get_task_exe_file() 1320 struct mm_struct *get_task_mm(struct task_struct *task) in get_task_mm() 1336 static bool may_access_mm(struct mm_struct *mm, struct task_struct *task, unsigned int mode) in may_access_mm() 1347 struct mm_struct *mm_access(struct task_struct *task, unsigned int mode) in mm_access() 1750 static inline void init_task_pid_links(struct task_struct *task) in init_task_pid_links() 1759 init_task_pid(struct task_struct *task, enum pid_type type, struct pid *pid) in init_task_pid() 2515 struct task_struct *task; in fork_idle() local 3209 struct task_struct *task = current; in unshare_files() local
|
A D | seccomp.c | 63 struct task_struct *task; member 250 struct task_struct *task = current; in populate_seccomp_data() local 445 void __weak arch_seccomp_spec_mitigate(struct task_struct *task) { } in arch_seccomp_spec_mitigate() 447 static inline void seccomp_assign_mode(struct task_struct *task, in seccomp_assign_mode() 2151 static struct seccomp_filter *get_nth_filter(struct task_struct *task, in get_nth_filter() 2197 long seccomp_get_filter(struct task_struct *task, unsigned long filter_off, in seccomp_get_filter() 2235 long seccomp_get_metadata(struct task_struct *task, in seccomp_get_metadata() 2515 struct pid *pid, struct task_struct *task) in proc_pid_seccomp_cache()
|
/kernel/cgroup/ |
A D | legacy_freezer.c | 56 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
|
A D | freezer.c | 152 static void cgroup_freeze_task(struct task_struct *task, bool freeze) in cgroup_freeze_task() 177 struct task_struct *task; in cgroup_do_freeze() local 219 void cgroup_freezer_migrate_task(struct task_struct *task, in cgroup_freezer_migrate_task()
|
A D | pids.c | 202 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()
|
A D | cpuset.c | 963 struct task_struct *task; in dl_update_tasks_root_domain() local 1124 struct task_struct *task; in cpuset_update_tasks_cpumask() local 2632 struct task_struct *task; in cpuset_update_tasks_nodemask() local 3017 struct task_struct *task; in cpuset_can_attach() local 3117 static void cpuset_attach_task(struct cpuset *cs, struct task_struct *task) in cpuset_attach_task() 3138 struct task_struct *task; in cpuset_attach() local 3633 static int cpuset_can_fork(struct task_struct *task, struct css_set *cset) in cpuset_can_fork() 3672 static void cpuset_cancel_fork(struct task_struct *task, struct css_set *cset) in cpuset_cancel_fork() 3692 static void cpuset_fork(struct task_struct *task) in cpuset_fork() 4396 void cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) in cpuset_task_status_allowed()
|
/kernel/unwind/ |
A D | deferred.c | 150 static void process_unwind_deferred(struct task_struct *task) in process_unwind_deferred() 194 void unwind_deferred_task_exit(struct task_struct *task) in unwind_deferred_task_exit() 347 void unwind_task_init(struct task_struct *task) in unwind_task_init() 356 void unwind_task_free(struct task_struct *task) in unwind_task_free()
|
/kernel/entry/ |
A D | syscall_user_dispatch.c | 72 static int task_set_syscall_user_dispatch(struct task_struct *task, unsigned long mode, in task_set_syscall_user_dispatch() 137 int syscall_user_dispatch_get_config(struct task_struct *task, unsigned long size, in syscall_user_dispatch_get_config() 161 int syscall_user_dispatch_set_config(struct task_struct *task, unsigned long size, in syscall_user_dispatch_set_config()
|
/kernel/locking/ |
A D | rtmutex.c | 349 static __always_inline int __waiter_prio(struct task_struct *task) in __waiter_prio() 363 waiter_update_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_update_prio() 376 waiter_clone_prio(struct rt_mutex_waiter *waiter, struct task_struct *task) in waiter_clone_prio() 508 rt_mutex_enqueue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_enqueue_pi() 516 rt_mutex_dequeue_pi(struct task_struct *task, struct rt_mutex_waiter *waiter) in rt_mutex_dequeue_pi() 544 struct task_struct *task, in rt_mutex_wake_q_add_task() 678 static int __sched rt_mutex_adjust_prio_chain(struct task_struct *task, in rt_mutex_adjust_prio_chain() 1087 try_to_take_rt_mutex(struct rt_mutex_base *lock, struct task_struct *task, in try_to_take_rt_mutex() 1205 struct task_struct *task, in task_blocks_on_rt_mutex()
|
A D | mutex-debug.c | 52 struct task_struct *task) in debug_mutex_add_waiter() 61 struct task_struct *task) in debug_mutex_remove_waiter()
|
A D | rtmutex_api.c | 313 struct task_struct *task, in __rt_mutex_start_proxy_lock() 361 struct task_struct *task) in rt_mutex_start_proxy_lock() 477 void __sched rt_mutex_adjust_pi(struct task_struct *task) in rt_mutex_adjust_pi() 509 void rt_mutex_debug_task_free(struct task_struct *task) in rt_mutex_debug_task_free()
|
/kernel/trace/rv/monitors/pagefault/ |
A D | pagefault.c | 21 static void ltl_atoms_fetch(struct task_struct *task, struct ltl_monitor *mon) in ltl_atoms_fetch() 32 static void ltl_atoms_init(struct task_struct *task, struct ltl_monitor *mon, bool task_creation) in ltl_atoms_init()
|
/kernel/time/ |
A D | namespace.c | 219 static void timens_set_vvar_page(struct task_struct *task, in timens_set_vvar_page() 268 static struct ns_common *timens_get(struct task_struct *task) in timens_get() 284 static struct ns_common *timens_for_children_get(struct task_struct *task) in timens_for_children_get()
|
/kernel/sched/ |
A D | psi.c | 629 struct task_struct *task; in psi_schedule_rtpoll_work() local 885 static inline struct psi_group *task_psi_group(struct task_struct *task) in task_psi_group() 894 static void psi_flags_change(struct task_struct *task, int clear, int set) in psi_flags_change() 909 void psi_task_change(struct task_struct *task, int clear, int set) in psi_task_change() 1155 void cgroup_move_task(struct task_struct *task, struct css_set *to) in cgroup_move_task() 1366 struct task_struct *task; in psi_trigger_create() local
|