Home
last modified time | relevance | path

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

123

/kernel/time/
Dposix-cpu-timers.c78 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock() local
273 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime()
295 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime()
326 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime()
361 struct task_struct *tsk; in posix_cpu_clock_get() local
417 struct task_struct *tsk) in timer_base()
434 struct task_struct *tsk) in trigger_base_recalc_expires()
543 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit()
547 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group()
870 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun()
[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.c298 void timens_commit(struct task_struct *tsk, struct time_namespace *ns) in timens_commit()
326 void timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk) in timens_on_fork()
Dtick-sched.c364 static void tick_nohz_kick_task(struct task_struct *tsk) in tick_nohz_kick_task()
484 void tick_nohz_dep_set_task(struct task_struct *tsk, enum tick_dep_bits bit) in tick_nohz_dep_set_task()
491 void tick_nohz_dep_clear_task(struct task_struct *tsk, enum tick_dep_bits bit) in tick_nohz_dep_clear_task()
501 void tick_nohz_dep_set_signal(struct task_struct *tsk, in tick_nohz_dep_set_signal()
/kernel/
Dfork.c171 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
183 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
232 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
279 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
340 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
356 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
363 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
375 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
391 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
398 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
[all …]
Dtsacct.c22 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()
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
Dtaskstats.c157 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()
Dscs.c114 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()
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()
261 struct task_struct *tsk = current; in exec_task_namespaces() local
382 struct task_struct *tsk; in validate_nsset() local
Dexit.c145 static void __exit_signal(struct task_struct *tsk) in __exit_signal()
222 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local
376 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp()
401 static void coredump_task_exit(struct task_struct *tsk) in coredump_task_exit()
732 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify()
798 static void synchronize_group_exit(struct task_struct *tsk, long code) in synchronize_group_exit()
816 struct task_struct *tsk = current; in do_exit() local
945 struct task_struct *tsk = current; in make_task_dead() local
1500 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread()
1514 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait()
[all …]
Dstacktrace.c136 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()
Ddelayacct.c88 void __delayacct_tsk_init(struct task_struct *tsk) in __delayacct_tsk_init()
129 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in delayacct_add_tsk()
196 __u64 __delayacct_blkio_ticks(struct task_struct *tsk) in __delayacct_blkio_ticks()
Dauditsc.c380 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare()
464 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules()
776 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task()
825 static int __audit_filter_op(struct task_struct *tsk, in __audit_filter_op()
850 static void audit_filter_uring(struct task_struct *tsk, in audit_filter_uring()
867 static void audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall()
883 static int audit_filter_inode_name(struct task_struct *tsk, in audit_filter_inode_name()
898 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) in audit_filter_inodes()
1055 int audit_alloc(struct task_struct *tsk) in audit_alloc()
1827 void __audit_free(struct task_struct *tsk) in __audit_free()
Dlatencytop.c112 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()
Dptrace.c44 int ptrace_access_vm(struct task_struct *tsk, unsigned long addr, in ptrace_access_vm()
627 int ptrace_readdata(struct task_struct *tsk, unsigned long src, char __user *dst, int len) in ptrace_readdata()
653 int ptrace_writedata(struct task_struct *tsk, char __user *src, unsigned long dst, int len) in ptrace_writedata()
1315 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata()
1327 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
Dkthread.c99 void get_kthread_comm(char *buf, size_t buf_size, struct task_struct *tsk) in get_kthread_comm()
394 int tsk_fork_get_node(struct task_struct *tsk) in tsk_fork_get_node()
740 struct task_struct *tsk = current; in kthreadd() local
1433 struct task_struct *tsk = current; in kthread_use_mm() local
1478 struct task_struct *tsk = current; in kthread_unuse_mm() local
Dsignal.c520 struct task_struct *tsk = current; in flush_itimer_signals() local
561 bool unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal()
639 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, in dequeue_signal()
722 struct task_struct *tsk = current; in dequeue_synchronous_signal() local
1410 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand()
2075 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent()
2186 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop()
2973 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending()
3000 void exit_signals(struct task_struct *tsk) in exit_signals()
3070 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked()
[all …]
Dvhost_task.c119 struct task_struct *tsk; in vhost_task_create() local
/kernel/sched/
Dcputime.c327 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime()
456 void vtime_account_irq(struct task_struct *tsk, unsigned int offset) in vtime_account_irq()
712 static void vtime_account_system(struct task_struct *tsk, in vtime_account_system()
722 static void vtime_account_guest(struct task_struct *tsk, in vtime_account_guest()
732 static void __vtime_account_kernel(struct task_struct *tsk, in __vtime_account_kernel()
742 void vtime_account_kernel(struct task_struct *tsk) in vtime_account_kernel()
754 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter()
764 void vtime_user_exit(struct task_struct *tsk) in vtime_user_exit()
778 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter()
796 void vtime_guest_exit(struct task_struct *tsk) in vtime_guest_exit()
[all …]
Dcpuacct.c37 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/
Dhw_breakpoint_test.c31 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/
Dcore.c1029 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/
Drethook.c215 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/
Dcpuset.c508 static void guarantee_online_cpus(struct task_struct *tsk, in guarantee_online_cpus()
564 struct task_struct *tsk) in cpuset_update_task_spread_flags()
2046 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask()
3972 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed()
4018 bool cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback()
4067 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed()
4317 struct pid *pid, struct task_struct *tsk) in proc_cpuset_show()

123