Home
last modified time | relevance | path

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

12

/kernel/
Dfork.c134 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
146 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
173 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
215 static inline void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
244 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, in alloc_thread_stack_node()
250 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
282 static void account_kernel_stack(struct task_struct *tsk, int account) in account_kernel_stack()
318 static void release_task_stack(struct task_struct *tsk) in release_task_stack()
333 void put_task_stack(struct task_struct *tsk) in put_task_stack()
340 void free_task(struct task_struct *tsk) in free_task()
[all …]
Dtsacct.c31 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
125 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals()
156 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
171 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
180 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Dsmpboot.c30 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get() local
51 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init() local
171 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() local
228 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() local
248 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() local
271 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.c85 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
351 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp()
468 static void exit_mm(struct task_struct *tsk) in exit_mm()
670 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify()
736 struct task_struct *tsk = current; in do_exit() local
1489 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread()
1503 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait()
1541 struct task_struct *tsk; in do_wait() local
Dauditsc.c359 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare()
439 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules()
713 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task()
753 static enum audit_state audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall()
783 static int audit_filter_inode_name(struct task_struct *tsk, in audit_filter_inode_name()
810 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) in audit_filter_inodes()
827 static inline struct audit_context *audit_take_context(struct task_struct *tsk, in audit_take_context()
925 int audit_alloc(struct task_struct *tsk) in audit_alloc()
1282 static void audit_log_proctitle(struct task_struct *tsk, in audit_log_proctitle()
1323 static void audit_log_exit(struct audit_context *context, struct task_struct *tsk) in audit_log_exit()
[all …]
Dtaskstats.c175 struct task_struct *tsk, struct taskstats *stats) in fill_stats()
199 struct task_struct *tsk; in fill_stats_for_pid() local
215 struct task_struct *tsk, *first; in fill_stats_for_tgid() local
263 static void fill_tgid_exit(struct task_struct *tsk) in fill_tgid_exit()
559 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc()
584 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
Dnsproxy.c64 struct task_struct *tsk, struct user_namespace *user_ns, in create_new_namespaces()
137 int copy_namespaces(unsigned long flags, struct task_struct *tsk) in copy_namespaces()
238 struct task_struct *tsk = current; in SYSCALL_DEFINE2() local
Dcred.c156 void exit_creds(struct task_struct *tsk) in exit_creds()
727 const struct task_struct *tsk) in dump_invalid_creds()
775 void __validate_process_creds(struct task_struct *tsk, in __validate_process_creds()
807 void validate_creds_for_do_exit(struct task_struct *tsk) in validate_creds_for_do_exit()
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()
Dptrace.c35 int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, in ptrace_access_vm()
570 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
596 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
1165 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata()
1177 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
Dsignal.c457 struct task_struct *tsk = current; in flush_itimer_signals() local
497 int unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal()
568 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) in dequeue_signal()
1219 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand()
1582 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent()
1685 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop()
1770 static int sigkill_pending(struct task_struct *tsk) in sigkill_pending()
2366 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending()
2393 void exit_signals(struct task_struct *tsk) in exit_signals()
2469 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked()
[all …]
Dstacktrace.c62 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dcpuset.c380 struct task_struct *tsk) in cpuset_update_task_spread_flag()
1047 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask()
2448 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed()
2459 void cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback()
2499 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed()
2745 struct pid *pid, struct task_struct *tsk) in proc_cpuset_show()
Dsoftirq.c74 struct task_struct *tsk = __this_cpu_read(ksoftirqd); in wakeup_softirqd() local
86 struct task_struct *tsk = __this_cpu_read(ksoftirqd); in ksoftirqd_running() local
/kernel/sched/
Dcputime.c350 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime()
496 void vtime_account_irq_enter(struct task_struct *tsk) in vtime_account_irq_enter()
740 static cputime_t vtime_delta(struct task_struct *tsk) in vtime_delta()
750 static cputime_t get_vtime_delta(struct task_struct *tsk) in get_vtime_delta()
770 static void __vtime_account_system(struct task_struct *tsk) in __vtime_account_system()
777 void vtime_account_system(struct task_struct *tsk) in vtime_account_system()
787 void vtime_account_user(struct task_struct *tsk) in vtime_account_user()
800 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter()
809 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter()
826 void vtime_guest_exit(struct task_struct *tsk) in vtime_guest_exit()
[all …]
Dcpuacct.h8 static inline void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
13 cpuacct_account_field(struct task_struct *tsk, int index, u64 val) in cpuacct_account_field()
Dstats.h179 static inline bool cputimer_running(struct task_struct *tsk) in cputimer_running()
218 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time()
239 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time()
260 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
46 #define schedtune_task_boost(tsk) 0 argument
Dcpuacct.c51 static inline struct cpuacct *task_ca(struct task_struct *tsk) in task_ca()
348 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
370 void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) in cpuacct_account_field()
/kernel/time/
Dposix-cpu-timers.c230 void thread_group_cputimer(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputimer()
287 static int posix_cpu_clock_get_task(struct task_struct *tsk, in posix_cpu_clock_get_task()
448 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit()
455 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group()
828 static void check_thread_timers(struct task_struct *tsk, in check_thread_timers()
899 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer()
934 static void check_process_timers(struct task_struct *tsk, in check_process_timers()
1110 static inline int fastpath_timer_check(struct task_struct *tsk) in fastpath_timer_check()
1156 void run_posix_cpu_timers(struct task_struct *tsk) in run_posix_cpu_timers()
1220 void set_process_cpu_timer(struct task_struct *tsk, unsigned int clock_idx, in set_process_cpu_timer()
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
131 struct task_struct *tsk; in __down_read() local
197 struct task_struct *tsk; in __down_write_common() local
Drwsem-xadd.c190 struct task_struct *tsk; in __rwsem_mark_wake() local
227 struct task_struct *tsk = current; in rwsem_down_read_failed() local
/kernel/events/
Dhw_breakpoint.c119 struct task_struct *tsk = bp->hw.target; in task_bp_pinned() local
419 struct task_struct *tsk) in register_user_hw_breakpoint()

12