/kernel/ |
D | tsacct.c | 31 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() 154 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals() 166 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime() 175 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
|
D | smpboot.c | 29 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get() local 50 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init() local 168 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() local 220 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() local 239 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() local 261 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_destroy_threads() local
|
D | fork.c | 118 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct() 130 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct() 147 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node() 163 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node() 211 void free_task(struct task_struct *tsk) in free_task() 249 void __put_task_struct(struct task_struct *tsk) in __put_task_struct() 311 struct task_struct *tsk; in dup_task_struct() local 733 static void complete_vfork_done(struct task_struct *tsk) in complete_vfork_done() 778 void mm_release(struct task_struct *tsk, struct mm_struct *mm) in mm_release() 834 struct mm_struct *dup_mm(struct task_struct *tsk) in dup_mm() [all …]
|
D | itimer.c | 45 static void get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in get_cpu_itimer() 81 struct task_struct *tsk = current; in do_getitimer() local 143 static void set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, in set_cpu_itimer() 192 struct task_struct *tsk = current; in do_setitimer() local
|
D | exit.c | 83 static void __exit_signal(struct task_struct *tsk) in __exit_signal() 163 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local 291 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp() 454 static void exit_mm(struct task_struct * tsk) in exit_mm() 640 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify() 710 struct task_struct *tsk = current; in do_exit() local 1466 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread() 1479 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait() 1516 struct task_struct *tsk; in do_wait() local
|
D | posix-cpu-timers.c | 258 void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputimer() 497 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit() 508 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group() 673 bool posix_cpu_timers_can_stop_tick(struct task_struct *tsk) in posix_cpu_timers_can_stop_tick() 935 static void check_thread_timers(struct task_struct *tsk, in check_thread_timers() 1032 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer() 1066 static void check_process_timers(struct task_struct *tsk, in check_process_timers() 1274 static inline int fastpath_timer_check(struct task_struct *tsk) in fastpath_timer_check() 1312 void run_posix_cpu_timers(struct task_struct *tsk) in run_posix_cpu_timers() 1387 void set_process_cpu_timer(struct task_struct *tsk, unsigned int clock_idx, in set_process_cpu_timer()
|
D | delayacct.c | 41 void __delayacct_tsk_init(struct task_struct *tsk) in __delayacct_tsk_init() 102 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in __delayacct_add_tsk() 165 __u64 __delayacct_blkio_ticks(struct task_struct *tsk) in __delayacct_blkio_ticks()
|
D | taskstats.c | 180 struct task_struct *tsk, struct taskstats *stats) in fill_stats() 204 struct task_struct *tsk; in fill_stats_for_pid() local 220 struct task_struct *tsk, *first; in fill_stats_for_tgid() local 268 static void fill_tgid_exit(struct task_struct *tsk) in fill_tgid_exit() 585 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc() 610 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
|
D | nsproxy.c | 60 struct task_struct *tsk, struct user_namespace *user_ns, in create_new_namespaces() 123 int copy_namespaces(unsigned long flags, struct task_struct *tsk) in copy_namespaces() 242 struct task_struct *tsk = current; in SYSCALL_DEFINE2() local
|
D | latencytop.c | 91 account_global_scheduler_latency(struct task_struct *tsk, struct latency_record *lat) in account_global_scheduler_latency() 144 static inline void store_stacktrace(struct task_struct *tsk, in store_stacktrace() 172 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency()
|
D | cred.c | 148 void exit_creds(struct task_struct *tsk) in exit_creds() 717 const struct task_struct *tsk) in dump_invalid_creds() 765 void __validate_process_creds(struct task_struct *tsk, in __validate_process_creds() 797 void validate_creds_for_do_exit(struct task_struct *tsk) in validate_creds_for_do_exit()
|
D | auditsc.c | 372 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare() 452 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules() 719 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task() 743 static enum audit_state audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall() 776 static int audit_filter_inode_name(struct task_struct *tsk, in audit_filter_inode_name() 807 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) in audit_filter_inodes() 823 static inline struct audit_context *audit_get_context(struct task_struct *tsk, in audit_get_context() 938 int audit_alloc(struct task_struct *tsk) in audit_alloc() 1283 static void audit_log_exit(struct audit_context *context, struct task_struct *tsk) in audit_log_exit() 1416 void __audit_free(struct task_struct *tsk) in __audit_free() [all …]
|
D | ptrace.c | 525 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata() 550 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata() 1040 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata() 1052 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata() 1186 int ptrace_get_breakpoints(struct task_struct *tsk) in ptrace_get_breakpoints() 1194 void ptrace_put_breakpoints(struct task_struct *tsk) in ptrace_put_breakpoints()
|
D | cpuset.c | 362 struct task_struct *tsk) in cpuset_update_task_spread_flag() 811 static int cpuset_test_cpumask(struct task_struct *tsk, in cpuset_test_cpumask() 829 static void cpuset_change_cpumask(struct task_struct *tsk, in cpuset_change_cpumask() 945 struct task_struct *tsk = current; in cpuset_migrate_mm() local 963 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask() 1182 static void cpuset_change_flag(struct task_struct *tsk, in cpuset_change_flag() 2241 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed() 2250 void cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback() 2294 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed() 2549 void cpuset_print_task_mems_allowed(struct task_struct *tsk) in cpuset_print_task_mems_allowed() [all …]
|
D | signal.c | 457 struct task_struct *tsk = current; in flush_itimer_signals() local 497 int unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal() 607 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) in dequeue_signal() 1283 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand() 1634 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent() 1737 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop() 1822 static int sigkill_pending(struct task_struct *tsk) in sigkill_pending() 2422 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending() 2449 void exit_signals(struct task_struct *tsk) in exit_signals() 2528 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked() [all …]
|
D | stacktrace.c | 34 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
|
D | seccomp.c | 502 void get_seccomp_filter(struct task_struct *tsk) in get_seccomp_filter() 519 void put_seccomp_filter(struct task_struct *tsk) in put_seccomp_filter()
|
D | audit.c | 545 struct task_struct *tsk; in audit_send_reply() local 824 struct task_struct *tsk = current; in audit_receive_msg() local 837 struct task_struct *tsk = current; in audit_receive_msg() local 1576 void audit_log_task_info(struct audit_buffer *ab, struct task_struct *tsk) in audit_log_task_info()
|
D | kthread.c | 207 int tsk_fork_get_node(struct task_struct *tsk) in tsk_fork_get_node() 448 struct task_struct *tsk = current; in kthreadd() local
|
D | rtmutex-tester.c | 343 struct task_struct *tsk; in sysfs_test_status() local
|
/kernel/sched/ |
D | cputime.c | 291 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime() 418 void vtime_account_irq_enter(struct task_struct *tsk) in vtime_account_irq_enter() 648 static unsigned long long vtime_delta(struct task_struct *tsk) in vtime_delta() 659 static cputime_t get_vtime_delta(struct task_struct *tsk) in get_vtime_delta() 670 static void __vtime_account_system(struct task_struct *tsk) in __vtime_account_system() 677 void vtime_account_system(struct task_struct *tsk) in vtime_account_system() 687 void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit() 699 void vtime_account_user(struct task_struct *tsk) in vtime_account_user() 714 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter() 725 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter() [all …]
|
D | stats.h | 174 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time() 197 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time() 220 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
|
D | cpuacct.h | 8 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
|
D | cpuacct.c | 44 static inline struct cpuacct *task_ca(struct task_struct *tsk) in task_ca() 246 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
|
/kernel/events/ |
D | hw_breakpoint.c | 116 struct task_struct *tsk = bp->hw.bp_target; in task_bp_pinned() local 139 struct task_struct *tsk = bp->hw.bp_target; in fetch_bp_busy_slots() local 218 struct task_struct *tsk = bp->hw.bp_target; in toggle_bp_slot() local 437 struct task_struct *tsk) in register_user_hw_breakpoint()
|