Home
last modified time | relevance | path

Searched defs:tsk (Results 1 – 25 of 42) sorted by relevance

12

/kernel/
Dtsacct.c31 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
123 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals()
153 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
165 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
174 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Dfork.c122 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
134 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
151 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node()
167 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node()
215 void free_task(struct task_struct *tsk) in free_task()
253 void __put_task_struct(struct task_struct *tsk) in __put_task_struct()
314 void set_task_stack_end_magic(struct task_struct *tsk) in set_task_stack_end_magic()
324 struct task_struct *tsk; in dup_task_struct() local
786 static void complete_vfork_done(struct task_struct *tsk) in complete_vfork_done()
831 void mm_release(struct task_struct *tsk, struct mm_struct *mm) in mm_release()
[all …]
Dsmpboot.c29 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
Ddelayacct.c41 void __delayacct_tsk_init(struct task_struct *tsk) in __delayacct_tsk_init()
83 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in __delayacct_add_tsk()
135 __u64 __delayacct_blkio_ticks(struct task_struct *tsk) in __delayacct_blkio_ticks()
Dexit.c86 static void __exit_signal(struct task_struct *tsk) in __exit_signal()
167 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local
297 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp()
414 static void exit_mm(struct task_struct *tsk) in exit_mm()
603 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify()
672 struct task_struct *tsk = current; in do_exit() local
1446 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread()
1460 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait()
1498 struct task_struct *tsk; in do_wait() local
Dtaskstats.c180 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()
591 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc()
616 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
Dnsproxy.c60 struct task_struct *tsk, struct user_namespace *user_ns, in create_new_namespaces()
124 int copy_namespaces(unsigned long flags, struct task_struct *tsk) in copy_namespaces()
224 struct task_struct *tsk = current; in SYSCALL_DEFINE2() local
Dauditsc.c361 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare()
441 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules()
710 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task()
750 static enum audit_state audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall()
780 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()
824 static inline struct audit_context *audit_take_context(struct task_struct *tsk, in audit_take_context()
945 int audit_alloc(struct task_struct *tsk) in audit_alloc()
1302 static void audit_log_proctitle(struct task_struct *tsk, in audit_log_proctitle()
1343 static void audit_log_exit(struct audit_context *context, struct task_struct *tsk) in audit_log_exit()
[all …]
Dlatencytop.c91 account_global_scheduler_latency(struct task_struct *tsk, in account_global_scheduler_latency()
145 static inline void store_stacktrace(struct task_struct *tsk, in store_stacktrace()
173 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency()
Dcred.c148 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()
Dcpuset.c377 struct task_struct *tsk) in cpuset_update_task_spread_flag()
983 struct task_struct *tsk = current; in cpuset_migrate_mm() local
1003 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask()
2404 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed()
2413 void cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback()
2453 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed()
2707 void cpuset_print_task_mems_allowed(struct task_struct *tsk) in cpuset_print_task_mems_allowed()
2772 struct pid *pid, struct task_struct *tsk) in proc_cpuset_show()
Dptrace.c552 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
577 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
1127 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata()
1139 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
Dsignal.c462 struct task_struct *tsk = current; in flush_itimer_signals() local
502 int unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal()
619 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) in dequeue_signal()
1270 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand()
1625 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent()
1728 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop()
1813 static int sigkill_pending(struct task_struct *tsk) in sigkill_pending()
2409 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending()
2436 void exit_signals(struct task_struct *tsk) in exit_signals()
2515 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked()
[all …]
Dstacktrace.c34 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dseccomp.c503 void get_seccomp_filter(struct task_struct *tsk) in get_seccomp_filter()
521 void put_seccomp_filter(struct task_struct *tsk) in put_seccomp_filter()
/kernel/sched/
Dcputime.c313 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime()
442 void vtime_common_account_irq_enter(struct task_struct *tsk) in vtime_common_account_irq_enter()
674 static unsigned long long vtime_delta(struct task_struct *tsk) in vtime_delta()
685 static cputime_t get_vtime_delta(struct task_struct *tsk) in get_vtime_delta()
696 static void __vtime_account_system(struct task_struct *tsk) in __vtime_account_system()
703 void vtime_account_system(struct task_struct *tsk) in vtime_account_system()
710 void vtime_gen_account_irq_exit(struct task_struct *tsk) in vtime_gen_account_irq_exit()
719 void vtime_account_user(struct task_struct *tsk) in vtime_account_user()
730 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter()
738 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter()
[all …]
Dstats.h172 static inline bool cputimer_running(struct task_struct *tsk) in cputimer_running()
210 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time()
233 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time()
256 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
Dtune.h30 #define schedtune_task_boost(tsk) get_sysctl_sched_cfs_boost() argument
45 #define schedtune_task_boost(tsk) 0 argument
Dcpuacct.h8 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
Dcpuacct.c42 static inline struct cpuacct *task_ca(struct task_struct *tsk) in task_ca()
235 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
/kernel/time/
Dposix-cpu-timers.c211 void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputimer()
264 static int posix_cpu_clock_get_task(struct task_struct *tsk, in posix_cpu_clock_get_task()
426 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit()
433 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group()
580 bool posix_cpu_timers_can_stop_tick(struct task_struct *tsk) in posix_cpu_timers_can_stop_tick()
835 static void check_thread_timers(struct task_struct *tsk, in check_thread_timers()
898 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer()
933 static void check_process_timers(struct task_struct *tsk, in check_process_timers()
1096 static inline int fastpath_timer_check(struct task_struct *tsk) in fastpath_timer_check()
1134 void run_posix_cpu_timers(struct task_struct *tsk) in run_posix_cpu_timers()
[all …]
Ditimer.c45 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
/kernel/locking/
Drwsem-spinlock.c68 struct task_struct *tsk; in __rwsem_do_wake() local
124 struct task_struct *tsk; in __down_read() local
190 struct task_struct *tsk; in __down_write_nested() local
Drwsem-xadd.c124 struct task_struct *tsk; in __rwsem_do_wake() local
210 struct task_struct *tsk = current; in rwsem_down_read_failed() local
/kernel/events/
Dhw_breakpoint.c119 struct task_struct *tsk = bp->hw.bp_target; in task_bp_pinned() local
419 struct task_struct *tsk) in register_user_hw_breakpoint()

12