Home
last modified time | relevance | path

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

12

/kernel/time/
Dposix-cpu-timers.c71 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock() local
267 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime()
289 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime()
318 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime()
353 struct task_struct *tsk; in posix_cpu_clock_get() local
486 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit()
490 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group()
806 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun()
833 static void check_thread_timers(struct task_struct *tsk, in check_thread_timers()
883 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer()
[all …]
Ditimer.c47 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
Dnamespace.c283 void timens_commit(struct task_struct *tsk, struct time_namespace *ns) in timens_commit()
311 int timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk) in timens_on_fork()
/kernel/
Dfork.c167 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
179 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
220 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
278 static inline void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
307 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, in alloc_thread_stack_node()
317 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
383 static void account_kernel_stack(struct task_struct *tsk, int account) in account_kernel_stack()
398 static int memcg_charge_kernel_stack(struct task_struct *tsk) in memcg_charge_kernel_stack()
427 static void release_task_stack(struct task_struct *tsk) in release_task_stack()
441 void put_task_stack(struct task_struct *tsk) in put_task_stack()
[all …]
Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
118 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals()
146 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
161 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
170 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Dsmpboot.c32 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
Dscs.c104 int scs_prepare(struct task_struct *tsk, int node) in scs_prepare()
115 static void scs_check_usage(struct task_struct *tsk) in scs_check_usage()
143 void scs_release(struct task_struct *tsk) in scs_release()
Ddelayacct.c34 void __delayacct_tsk_init(struct task_struct *tsk) in __delayacct_tsk_init()
85 int __delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in __delayacct_add_tsk()
140 __u64 __delayacct_blkio_ticks(struct task_struct *tsk) in __delayacct_blkio_ticks()
Dtaskstats.c157 struct task_struct *tsk, struct taskstats *stats) in fill_stats()
181 struct task_struct *tsk; in fill_stats_for_pid() local
193 struct task_struct *tsk, *first; in fill_stats_for_tgid() local
254 static void fill_tgid_exit(struct task_struct *tsk) in fill_tgid_exit()
550 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc()
583 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
Dstacktrace.c135 unsigned int stack_trace_save_tsk(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk()
192 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable()
252 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
344 int stack_trace_save_tsk_reliable(struct task_struct *tsk, unsigned long *store, in stack_trace_save_tsk_reliable()
Dcred.c159 void exit_creds(struct task_struct *tsk) in exit_creds()
809 const struct task_struct *tsk) in dump_invalid_creds()
857 void __validate_process_creds(struct task_struct *tsk, in __validate_process_creds()
889 void validate_creds_for_do_exit(struct task_struct *tsk) in validate_creds_for_do_exit()
Dnsproxy.c68 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()
368 struct task_struct *tsk; in validate_nsset() local
Dexit.c141 static void __exit_signal(struct task_struct *tsk) in __exit_signal()
218 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local
366 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp()
697 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify()
765 struct task_struct *tsk = current; in do_exit() local
1454 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread()
1468 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait()
1506 struct task_struct *tsk; in do_wait() local
Dlatencytop.c86 account_global_scheduler_latency(struct task_struct *tsk, in account_global_scheduler_latency()
151 __account_scheduler_latency(struct task_struct *tsk, int usecs, int inter) in __account_scheduler_latency()
Dptrace.c42 int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, in ptrace_access_vm()
631 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
657 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
1313 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata()
1325 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
Dauditsc.c383 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare()
467 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules()
769 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task()
809 static enum audit_state audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall()
837 static int audit_filter_inode_name(struct task_struct *tsk, in audit_filter_inode_name()
860 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) in audit_filter_inodes()
944 int audit_alloc(struct task_struct *tsk) in audit_alloc()
1663 void __audit_free(struct task_struct *tsk) in __audit_free()
Dsignal.c517 struct task_struct *tsk = current; in flush_itimer_signals() local
558 bool unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal()
632 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, kernel_siginfo_t *info) in dequeue_signal()
712 struct task_struct *tsk = current; in dequeue_synchronous_signal() local
1372 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand()
1919 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent()
2030 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop()
2836 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending()
2863 void exit_signals(struct task_struct *tsk) in exit_signals()
2931 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked()
[all …]
Dkthread.c319 int tsk_fork_get_node(struct task_struct *tsk) in tsk_fork_get_node()
654 struct task_struct *tsk = current; in kthreadd() local
1333 struct task_struct *tsk = current; in kthread_use_mm() local
1367 struct task_struct *tsk = current; in kthread_unuse_mm() local
/kernel/sched/
Dcputime.c304 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime()
442 void vtime_account_irq_enter(struct task_struct *tsk) in vtime_account_irq_enter()
681 static void vtime_account_system(struct task_struct *tsk, in vtime_account_system()
691 static void vtime_account_guest(struct task_struct *tsk, in vtime_account_guest()
701 static void __vtime_account_kernel(struct task_struct *tsk, in __vtime_account_kernel()
711 void vtime_account_kernel(struct task_struct *tsk) in vtime_account_kernel()
723 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter()
733 void vtime_user_exit(struct task_struct *tsk) in vtime_user_exit()
747 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter()
765 void vtime_guest_exit(struct task_struct *tsk) in vtime_guest_exit()
[all …]
Dcpuacct.c38 static inline struct cpuacct *task_ca(struct task_struct *tsk) in task_ca()
329 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
345 void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) in cpuacct_account_field()
/kernel/cgroup/
Dcpuset.c412 static void guarantee_online_cpus(struct task_struct *tsk, in guarantee_online_cpus()
467 struct task_struct *tsk) in cpuset_update_task_spread_flag()
1728 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask()
3453 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed()
3476 void cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback()
3525 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed()
3771 struct pid *pid, struct task_struct *tsk) in proc_cpuset_show()
Dcgroup-v1.c55 int cgroup_attach_task_all(struct task_struct *from, struct task_struct *tsk) in cgroup_attach_task_all()
335 struct task_struct *tsk; in pidlist_array_load() local
708 struct task_struct *tsk; in cgroupstats_build() local
/kernel/futex/
Dcore.c1165 struct task_struct *tsk) in handle_exit_race()
3627 static void futex_cleanup(struct task_struct *tsk) in futex_cleanup()
3662 void futex_exit_recursive(struct task_struct *tsk) in futex_exit_recursive()
3670 static void futex_cleanup_begin(struct task_struct *tsk) in futex_cleanup_begin()
3696 static void futex_cleanup_end(struct task_struct *tsk, int state) in futex_cleanup_end()
3710 void futex_exec_release(struct task_struct *tsk) in futex_exec_release()
3728 void futex_exit_release(struct task_struct *tsk) in futex_exit_release()
/kernel/locking/
Dpercpu-rwsem.c21 void _trace_android_vh_record_pcpu_rwsem_starttime(struct task_struct *tsk, in _trace_android_vh_record_pcpu_rwsem_starttime()
/kernel/events/
Dhw_breakpoint.c107 struct task_struct *tsk = bp->hw.target; in task_bp_pinned() local
460 struct task_struct *tsk) in register_user_hw_breakpoint()

12