/kernel/time/ |
D | posix-cpu-timers.c | 78 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock() local 274 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime() 296 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime() 327 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime() 362 struct task_struct *tsk; in posix_cpu_clock_get() local 418 struct task_struct *tsk) in timer_base() 435 struct task_struct *tsk) in trigger_base_recalc_expires() 544 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit() 548 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group() 871 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun() [all …]
|
D | itimer.c | 47 static void get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in get_cpu_itimer() 78 struct task_struct *tsk = current; in do_getitimer() local 168 static void set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in set_cpu_itimer() 209 struct task_struct *tsk = current; in do_setitimer() local
|
D | namespace.c | 280 void timens_commit(struct task_struct *tsk, struct time_namespace *ns) in timens_commit() 308 void timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk) in timens_on_fork()
|
D | tick-sched.c | 362 static void tick_nohz_kick_task(struct task_struct *tsk) in tick_nohz_kick_task() 482 void tick_nohz_dep_set_task(struct task_struct *tsk, enum tick_dep_bits bit) in tick_nohz_dep_set_task() 489 void tick_nohz_dep_clear_task(struct task_struct *tsk, enum tick_dep_bits bit) in tick_nohz_dep_clear_task() 499 void tick_nohz_dep_set_signal(struct task_struct *tsk, in tick_nohz_dep_set_signal()
|
/kernel/ |
D | fork.c | 169 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct() 181 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct() 230 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free() 281 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() 342 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack() 358 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free() 365 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() 377 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack() 393 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free() 400 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node() [all …]
|
D | tsacct.c | 22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk() 124 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals() 152 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals() 167 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime() 176 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
|
D | smpboot.c | 32 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get() local 52 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init() local 172 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() local 230 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() local 249 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() local 272 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_destroy_threads() local
|
D | delayacct.c | 90 void __delayacct_tsk_init(struct task_struct *tsk) in __delayacct_tsk_init() 131 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in delayacct_add_tsk() 195 __u64 __delayacct_blkio_ticks(struct task_struct *tsk) in __delayacct_blkio_ticks() 299 void _trace_android_rvh_delayacct_tsk_init(struct task_struct *tsk) in _trace_android_rvh_delayacct_tsk_init() 304 void _trace_android_rvh_delayacct_tsk_free(struct task_struct *tsk) in _trace_android_rvh_delayacct_tsk_free() 319 void _trace_android_vh_delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk, int *ret) in _trace_android_vh_delayacct_add_tsk() 324 void _trace_android_vh_delayacct_blkio_ticks(struct task_struct *tsk, __u64 *ret) in _trace_android_vh_delayacct_blkio_ticks()
|
D | taskstats.c | 157 static void exe_add_tsk(struct taskstats *stats, struct task_struct *tsk) in exe_add_tsk() 176 struct task_struct *tsk, struct taskstats *stats) in fill_stats() 203 struct task_struct *tsk; in fill_stats_for_pid() local 215 struct task_struct *tsk, *first; in fill_stats_for_tgid() local 276 static void fill_tgid_exit(struct task_struct *tsk) in fill_tgid_exit() 572 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc() 605 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
|
D | scs.c | 114 int scs_prepare(struct task_struct *tsk, int node) in scs_prepare() 129 static void scs_check_usage(struct task_struct *tsk) in scs_check_usage() 157 void scs_release(struct task_struct *tsk) in scs_release()
|
D | exit.c | 144 static void __exit_signal(struct task_struct *tsk) in __exit_signal() 221 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local 375 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp() 400 static void coredump_task_exit(struct task_struct *tsk) in coredump_task_exit() 726 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify() 792 static void synchronize_group_exit(struct task_struct *tsk, long code) in synchronize_group_exit() 810 struct task_struct *tsk = current; in do_exit() local 941 struct task_struct *tsk = current; in make_task_dead() local 1496 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread() 1510 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait() [all …]
|
D | cred.c | 162 void exit_creds(struct task_struct *tsk) in exit_creds() 843 const struct task_struct *tsk) in dump_invalid_creds() 891 void __validate_process_creds(struct task_struct *tsk, in __validate_process_creds() 923 void validate_creds_for_do_exit(struct task_struct *tsk) in validate_creds_for_do_exit()
|
D | stacktrace.c | 136 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk() 193 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable() 250 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk() 342 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable()
|
D | nsproxy.c | 68 struct task_struct *tsk, struct user_namespace *user_ns, in create_new_namespaces() 151 int copy_namespaces(unsigned long flags, struct task_struct *tsk) in copy_namespaces() 363 struct task_struct *tsk; in validate_nsset() local
|
D | latencytop.c | 112 account_global_scheduler_latency(struct task_struct *tsk, in account_global_scheduler_latency() 177 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency()
|
D | ptrace.c | 43 int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, in ptrace_access_vm() 626 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata() 652 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata() 1306 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata() 1318 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
|
D | auditsc.c | 377 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare() 461 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules() 773 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task() 813 static void audit_filter_uring(struct task_struct *tsk, in audit_filter_uring() 841 static void audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall() 868 static int audit_filter_inode_name(struct task_struct *tsk, in audit_filter_inode_name() 891 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) in audit_filter_inodes() 1048 int audit_alloc(struct task_struct *tsk) in audit_alloc() 1823 void __audit_free(struct task_struct *tsk) in __audit_free()
|
D | kthread.c | 98 void get_kthread_comm(char *buf, size_t buf_size, struct task_struct *tsk) in get_kthread_comm() 392 int tsk_fork_get_node(struct task_struct *tsk) in tsk_fork_get_node() 732 struct task_struct *tsk = current; in kthreadd() local 1420 struct task_struct *tsk = current; in kthread_use_mm() local 1464 struct task_struct *tsk = current; in kthread_unuse_mm() local
|
D | signal.c | 518 struct task_struct *tsk = current; in flush_itimer_signals() local 559 bool unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal() 637 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, in dequeue_signal() 720 struct task_struct *tsk = current; in dequeue_synchronous_signal() local 1398 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand() 2047 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent() 2158 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop() 2936 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending() 2963 void exit_signals(struct task_struct *tsk) in exit_signals() 3031 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked() [all …]
|
/kernel/sched/ |
D | cputime.c | 323 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime() 452 void vtime_account_irq(struct task_struct *tsk, unsigned int offset) in vtime_account_irq() 703 static void vtime_account_system(struct task_struct *tsk, in vtime_account_system() 713 static void vtime_account_guest(struct task_struct *tsk, in vtime_account_guest() 723 static void __vtime_account_kernel(struct task_struct *tsk, in __vtime_account_kernel() 733 void vtime_account_kernel(struct task_struct *tsk) in vtime_account_kernel() 745 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter() 755 void vtime_user_exit(struct task_struct *tsk) in vtime_user_exit() 769 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter() 787 void vtime_guest_exit(struct task_struct *tsk) in vtime_guest_exit() [all …]
|
D | cpuacct.c | 37 static inline struct cpuacct *task_ca(struct task_struct *tsk) in task_ca() 334 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge() 350 void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) in cpuacct_account_field()
|
/kernel/events/ |
D | hw_breakpoint_test.c | 31 static struct perf_event *register_test_bp(int cpu, struct task_struct *tsk, int idx) in register_test_bp() 65 static void fill_one_bp_slot(struct kunit *test, int *id, int cpu, struct task_struct *tsk) in fill_one_bp_slot() 80 static bool fill_bp_slots(struct kunit *test, int *id, int cpu, struct task_struct *tsk, int skip) in fill_bp_slots() 95 struct task_struct *tsk; in get_other_task() local
|
/kernel/futex/ |
D | core.c | 1029 static void futex_cleanup(struct task_struct *tsk) in futex_cleanup() 1064 void futex_exit_recursive(struct task_struct *tsk) in futex_exit_recursive() 1072 static void futex_cleanup_begin(struct task_struct *tsk) in futex_cleanup_begin() 1098 static void futex_cleanup_end(struct task_struct *tsk, int state) in futex_cleanup_end() 1112 void futex_exec_release(struct task_struct *tsk) in futex_exec_release() 1130 void futex_exit_release(struct task_struct *tsk) in futex_exit_release()
|
/kernel/trace/ |
D | rethook.c | 215 static unsigned long __rethook_find_ret_addr(struct task_struct *tsk, in __rethook_find_ret_addr() 254 unsigned long rethook_find_ret_addr(struct task_struct *tsk, unsigned long frame, in rethook_find_ret_addr()
|
/kernel/cgroup/ |
D | cpuset.c | 530 static void guarantee_online_cpus(struct task_struct *tsk, in guarantee_online_cpus() 586 struct task_struct *tsk) in cpuset_update_task_spread_flags() 2001 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask() 3918 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() 3941 bool cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback() 3990 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed() 4236 struct pid *pid, struct task_struct *tsk) in proc_cpuset_show()
|