Home
last modified time | relevance | path

Searched defs:tsk (Results 1 – 200 of 375) sorted by relevance

12

/linux-4.1.27/include/linux/
Dinit_task.h19 # define INIT_PUSHABLE_TASKS(tsk) \ argument
22 # define INIT_PUSHABLE_TASKS(tsk) argument
36 #define INIT_CPUSET_SEQ(tsk) \ argument
39 #define INIT_CPUSET_SEQ(tsk) argument
109 #define INIT_TASK_RCU_TREE_PREEMPT(tsk) argument
112 #define INIT_TASK_RCU_PREEMPT(tsk) \ argument
118 #define INIT_TASK_RCU_PREEMPT(tsk) argument
121 #define INIT_TASK_RCU_TASKS(tsk) \ argument
127 #define INIT_TASK_RCU_TASKS(tsk) argument
135 # define INIT_CGROUP_SCHED(tsk) \ argument
[all …]
Dvtime.h60 static inline void vtime_account_irq_enter(struct task_struct *tsk) in vtime_account_irq_enter()
70 static inline void vtime_account_system(struct task_struct *tsk) { } in vtime_account_system()
71 static inline void vtime_account_user(struct task_struct *tsk) { } in vtime_account_user()
72 static inline void vtime_account_irq_enter(struct task_struct *tsk) { } in vtime_account_irq_enter()
79 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit()
87 static inline void vtime_user_exit(struct task_struct *tsk) in vtime_user_exit()
95 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit()
100 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
101 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
102 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
[all …]
Ddelayacct.h65 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
76 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
98 struct task_struct *tsk) in delayacct_add_tsk()
105 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
131 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
133 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
140 struct task_struct *tsk) in delayacct_add_tsk()
142 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
Dtsacct_kern.h19 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
31 static inline void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
33 static inline void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
35 static inline void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Dsignalfd.h18 static inline void signalfd_notify(struct task_struct *tsk, int sig) in signalfd_notify()
28 static inline void signalfd_notify(struct task_struct *tsk, int sig) { } in signalfd_notify()
Dsched.h247 #define __set_task_state(tsk, state_value) \ argument
252 #define set_task_state(tsk, state_value) \ argument
282 #define __set_task_state(tsk, state_value) \ argument
284 #define set_task_state(tsk, state_value) \ argument
1731 #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed) argument
1811 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
1816 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, in task_pid_nr_ns()
1822 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
1828 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
1835 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
[all …]
Dsem.h41 static inline int copy_semundo(unsigned long clone_flags, struct task_struct *tsk) in copy_semundo()
46 static inline void exit_sem(struct task_struct *tsk) in exit_sem()
Dseccomp.h89 static inline void put_seccomp_filter(struct task_struct *tsk) in put_seccomp_filter()
93 static inline void get_seccomp_filter(struct task_struct *tsk) in get_seccomp_filter()
Dhw_breakpoint.h95 struct task_struct *tsk) { return NULL; } in register_user_hw_breakpoint()
119 static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } in flush_ptrace_hw_breakpoint()
Dvmacache.h13 static inline void vmacache_flush(struct task_struct *tsk) in vmacache_flush()
Dtaskstats_kern.h27 static inline void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
Dftrace.h831 static inline int task_curr_ret_stack(struct task_struct *tsk) in task_curr_ret_stack()
852 static inline void set_tsk_trace_trace(struct task_struct *tsk) in set_tsk_trace_trace()
857 static inline void clear_tsk_trace_trace(struct task_struct *tsk) in clear_tsk_trace_trace()
862 static inline int test_tsk_trace_trace(struct task_struct *tsk) in test_tsk_trace_trace()
867 static inline void set_tsk_trace_graph(struct task_struct *tsk) in set_tsk_trace_graph()
872 static inline void clear_tsk_trace_graph(struct task_struct *tsk) in clear_tsk_trace_graph()
877 static inline int test_tsk_trace_graph(struct task_struct *tsk) in test_tsk_trace_graph()
Daudit.h228 static inline kuid_t audit_get_loginuid(struct task_struct *tsk) in audit_get_loginuid()
233 static inline unsigned int audit_get_sessionid(struct task_struct *tsk) in audit_get_sessionid()
387 static inline kuid_t audit_get_loginuid(struct task_struct *tsk) in audit_get_loginuid()
391 static inline unsigned int audit_get_sessionid(struct task_struct *tsk) in audit_get_sessionid()
440 static inline bool audit_loginuid_set(struct task_struct *tsk) in audit_loginuid_set()
541 struct task_struct *tsk) in audit_log_task_info()
Dtick.h149 static inline void __tick_nohz_task_switch(struct task_struct *tsk) { } in __tick_nohz_task_switch()
176 static inline void tick_nohz_task_switch(struct task_struct *tsk) in tick_nohz_task_switch()
Dstacktrace.h34 # define save_stack_trace_tsk(tsk, trace) do { } while (0) argument
/linux-4.1.27/arch/mn10300/include/asm/
Dfpu.h36 static inline void set_using_fpu(struct task_struct *tsk) in set_using_fpu()
45 static inline void clear_using_fpu(struct task_struct *tsk) in clear_using_fpu()
54 #define is_using_fpu(tsk) ((tsk)->thread.fpu_flags & THREAD_USING_FPU) argument
63 static inline void unlazy_fpu(struct task_struct *tsk) in unlazy_fpu()
82 struct task_struct *tsk = current; in exit_fpu() local
93 struct task_struct *tsk = current; in flush_fpu() local
119 static inline bool is_using_fpu(struct task_struct *tsk) { return false; } in is_using_fpu()
120 static inline void set_using_fpu(struct task_struct *tsk) {} in set_using_fpu()
121 static inline void clear_using_fpu(struct task_struct *tsk) {} in clear_using_fpu()
124 static inline void fpu_kill_state(struct task_struct *tsk) {} in fpu_kill_state()
[all …]
Dmmu_context.h37 #define enter_lazy_tlb(mm, tsk) do {} while (0) argument
103 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
123 #define init_new_context(tsk, mm) (0) argument
144 struct task_struct *tsk) in switch_mm()
158 #define deactivate_mm(tsk, mm) do {} while (0) argument
/linux-4.1.27/arch/sh/include/asm/
Dswitch_to_32.h6 #define is_dsp_enabled(tsk) \ argument
9 #define __restore_dsp(tsk) \ argument
32 #define __save_dsp(tsk) \ argument
58 #define is_dsp_enabled(tsk) (0) argument
59 #define __save_dsp(tsk) do { } while (0) argument
60 #define __restore_dsp(tsk) do { } while (0) argument
Dfpu.h24 #define save_fpu(tsk) do { } while (0) argument
25 #define restore_fpu(tsk) do { } while (0) argument
42 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
52 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
59 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
Dmmu_context.h97 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
120 struct task_struct *tsk) in switch_mm()
134 #define deactivate_mm(tsk,mm) do { } while (0) argument
135 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
Dprocessor_64.h226 #define thread_saved_pc(tsk) (tsk->thread.pc) argument
230 #define KSTK_EIP(tsk) ((tsk)->thread.pc) argument
231 #define KSTK_ESP(tsk) ((tsk)->thread.sp) argument
Dprocessor_32.h180 #define thread_saved_pc(tsk) (tsk->thread.pc) argument
195 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) argument
196 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15]) argument
/linux-4.1.27/arch/m68k/include/asm/
Dmmu_context.h6 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
54 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
74 struct task_struct *tsk) in switch_mm()
91 #define deactivate_mm(tsk, mm) do { } while (0) argument
168 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
197 struct task_struct *tsk) in switch_mm()
202 #define deactivate_mm(tsk, mm) do { } while (0) argument
216 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
282 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
292 #define deactivate_mm(tsk,mm) do { } while (0) argument
[all …]
Dprocessor.h167 #define KSTK_EIP(tsk) \ argument
174 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) argument
176 #define task_pt_regs(tsk) ((struct pt_regs *) ((tsk)->thread.esp0)) argument
/linux-4.1.27/include/linux/fsl/bestcomm/
Dbestcomm.h90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq()
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) in _bcom_next_outdex()
127 bcom_queue_empty(struct bcom_task *tsk) in bcom_queue_empty()
137 bcom_queue_full(struct bcom_task *tsk) in bcom_queue_full()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd()
160 bcom_buffer_done(struct bcom_task *tsk) in bcom_buffer_done()
177 bcom_prepare_next_buffer(struct bcom_task *tsk) in bcom_prepare_next_buffer()
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer()
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) in bcom_retrieve_buffer()
/linux-4.1.27/arch/x86/include/asm/
Dfpu-internal.h87 static inline void task_disable_lazy_fpu_restore(struct task_struct *tsk) in task_disable_lazy_fpu_restore()
144 static inline void sanitize_i387_state(struct task_struct *tsk) in sanitize_i387_state()
303 static inline int __save_init_fpu(struct task_struct *tsk) in __save_init_fpu()
318 static inline int restore_fpu_checking(struct task_struct *tsk) in restore_fpu_checking()
341 static inline int __thread_has_fpu(struct task_struct *tsk) in __thread_has_fpu()
347 static inline void __thread_clear_has_fpu(struct task_struct *tsk) in __thread_clear_has_fpu()
354 static inline void __thread_set_has_fpu(struct task_struct *tsk) in __thread_set_has_fpu()
367 static inline void __thread_fpu_end(struct task_struct *tsk) in __thread_fpu_end()
374 static inline void __thread_fpu_begin(struct task_struct *tsk) in __thread_fpu_begin()
381 static inline void drop_fpu(struct task_struct *tsk) in drop_fpu()
[all …]
Dmmu_context.h87 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
96 struct task_struct *tsk) in switch_mm()
198 #define deactivate_mm(tsk, mm) \ argument
203 #define deactivate_mm(tsk, mm) \ argument
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dfpu.c45 void save_fpu(struct task_struct *tsk) in save_fpu()
95 void restore_fpu(struct task_struct *tsk) in restore_fpu()
232 struct task_struct *tsk = current; in ieee_fpe_handler() local
245 struct task_struct *tsk = current; in ieee_fpe_handler() local
283 struct task_struct *tsk = current; in ieee_fpe_handler() local
327 struct task_struct *tsk = current; in ieee_fpe_handler() local
367 struct task_struct *tsk = current; in ieee_fpe_handler() local
400 struct task_struct *tsk = current; in float_rounding_mode() local
407 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/linux-4.1.27/arch/mips/include/asm/
Ddsp.h43 #define __save_dsp(tsk) \ argument
54 #define save_dsp(tsk) \ argument
60 #define __restore_dsp(tsk) \ argument
71 #define restore_dsp(tsk) \ argument
77 #define __get_dsp_regs(tsk) \ argument
Dmmu_context.h89 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
127 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
140 struct task_struct *tsk) in switch_mm()
172 #define deactivate_mm(tsk, mm) do { } while (0) argument
Dfpu.h227 static inline void save_fp(struct task_struct *tsk) in save_fp()
233 static inline void restore_fp(struct task_struct *tsk) in restore_fp()
239 static inline union fpureg *get_fpu_regs(struct task_struct *tsk) in get_fpu_regs()
Dprocessor.h76 #define TASK_SIZE_OF(tsk) \ argument
364 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \ argument
366 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) argument
367 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) argument
368 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) argument
369 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status) argument
/linux-4.1.27/arch/arc/include/asm/
Dprocessor.h68 #define copy_segments(tsk, mm) do { } while (0) argument
71 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument
72 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
78 #define TSK_K_ESP(tsk) (tsk->thread.ksp) argument
80 #define TSK_K_REG(tsk, off) (*((unsigned int *)(TSK_K_ESP(tsk) + \ argument
83 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument
84 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
86 #define thread_saved_pc(tsk) TSK_K_BLINK(tsk) argument
Dmmu_context.h108 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
132 struct task_struct *tsk) in switch_mm()
173 #define deactivate_mm(tsk, mm) do { } while (0) argument
175 #define enter_lazy_tlb(mm, tsk) argument
/linux-4.1.27/arch/arm/include/asm/
Dmmu_context.h29 #define init_new_context(tsk,mm) ({ atomic64_set(&mm->context.id, 0); 0; }) argument
46 struct task_struct *tsk) in check_and_switch_context()
88 #define init_new_context(tsk,mm) 0 argument
105 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
117 struct task_struct *tsk) in switch_mm()
140 #define deactivate_mm(tsk,mm) do { } while (0) argument
Dthread_info.h71 #define INIT_THREAD_INFO(tsk) \ argument
101 #define thread_saved_pc(tsk) \ argument
103 #define thread_saved_sp(tsk) \ argument
107 #define thread_saved_fp(tsk) \ argument
110 #define thread_saved_fp(tsk) \ argument
Dprocessor.h90 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc argument
91 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp argument
/linux-4.1.27/net/tipc/
Dsocket.c182 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
187 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
192 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
197 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
202 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
207 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
212 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
217 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
222 static int tsk_set_importance(struct tipc_sock *tsk, int imp) in tsk_set_importance()
235 static int tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
[all …]
/linux-4.1.27/arch/mn10300/kernel/
Dfpu.c36 struct task_struct *tsk = current; in fpu_exception() local
76 struct task_struct *tsk = current; in fpu_setup_sigcontext() local
119 void fpu_kill_state(struct task_struct *tsk) in fpu_kill_state()
147 struct task_struct *tsk = current; in fpu_restore_sigcontext() local
165 struct task_struct *tsk = current; in dump_fpu() local
Dtraps.c393 void show_trace_task(struct task_struct *tsk) in show_trace_task()
431 struct task_struct *tsk = current; in do_double_fault() local
/linux-4.1.27/arch/arc/kernel/
Dstacktrace.c42 static void seed_unwind_frame_info(struct task_struct *tsk, in seed_unwind_frame_info()
112 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core()
223 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs) in show_stacktrace()
231 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack()
240 unsigned int get_wchan(struct task_struct *tsk) in get_wchan()
251 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dtroubleshoot.c55 static void print_task_path_n_nm(struct task_struct *tsk, char *buf) in print_task_path_n_nm()
166 struct task_struct *tsk = current; in show_regs() local
/linux-4.1.27/arch/m32r/include/asm/
Dmmu_context.h37 #define enter_lazy_tlb(mm, tsk) do { } while (0) argument
74 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
122 struct mm_struct *next, struct task_struct *tsk) in switch_mm()
143 #define deactivate_mm(tsk, mm) do { } while (0) argument
150 #define init_new_context(tsk,mm) (0) argument
155 #define switch_mm(prev,next,tsk) do { } while (0) argument
156 #define deactivate_mm(mm,tsk) do { } while (0) argument
158 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
Dprocessor.h132 #define KSTK_EIP(tsk) ((tsk)->thread.lr) argument
133 #define KSTK_ESP(tsk) ((tsk)->thread.sp) argument
/linux-4.1.27/arch/avr32/kernel/
Dptrace.c25 static struct pt_regs *get_user_regs(struct task_struct *tsk) in get_user_regs()
31 void user_enable_single_step(struct task_struct *tsk) in user_enable_single_step()
73 static int ptrace_read_user(struct task_struct *tsk, unsigned long offset, in ptrace_read_user()
101 static int ptrace_write_user(struct task_struct *tsk, unsigned long offset, in ptrace_write_user()
123 static int ptrace_getregs(struct task_struct *tsk, void __user *uregs) in ptrace_getregs()
130 static int ptrace_setregs(struct task_struct *tsk, const void __user *uregs) in ptrace_setregs()
Dprocess.c118 static void show_trace_log_lvl(struct task_struct *tsk, unsigned long *sp, in show_trace_log_lvl()
157 static void show_trace_log_lvl(struct task_struct *tsk, unsigned long *sp, in show_trace_log_lvl()
179 void show_stack_log_lvl(struct task_struct *tsk, unsigned long sp, in show_stack_log_lvl()
202 void show_stack(struct task_struct *tsk, unsigned long *stack) in show_stack()
/linux-4.1.27/arch/xtensa/include/asm/
Dnommu_context.h5 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
9 static inline int init_new_context(struct task_struct *tsk,struct mm_struct *mm) in init_new_context()
23 struct task_struct *tsk) in switch_mm()
27 static inline void deactivate_mm(struct task_struct *tsk, struct mm_struct *mm) in deactivate_mm()
Dmmu_context.h112 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
124 struct task_struct *tsk) in switch_mm()
138 #define deactivate_mm(tsk, mm) do { } while (0) argument
150 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
Dprocessor.h177 #define thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) argument
181 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) argument
182 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->areg[1]) argument
/linux-4.1.27/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.c132 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
144 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
161 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node()
177 static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, in alloc_thread_info_node()
222 void free_task(struct task_struct *tsk) in free_task()
248 void __put_task_struct(struct task_struct *tsk) in __put_task_struct()
320 void set_task_stack_end_magic(struct task_struct *tsk) in set_task_stack_end_magic()
330 struct task_struct *tsk; in dup_task_struct() local
803 static void complete_vfork_done(struct task_struct *tsk) in complete_vfork_done()
848 void mm_release(struct task_struct *tsk, struct mm_struct *mm) in mm_release()
[all …]
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
170 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() local
222 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() local
241 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() local
263 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()
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()
223 struct task_struct *tsk = current; in SYSCALL_DEFINE2() local
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()
Dexit.c83 static void __exit_signal(struct task_struct *tsk) in __exit_signal()
161 struct task_struct *tsk = container_of(rhp, struct task_struct, rcu); in delayed_put_task_struct() local
270 kill_orphaned_pgrp(struct task_struct *tsk, struct task_struct *parent) in kill_orphaned_pgrp()
387 static void exit_mm(struct task_struct *tsk) in exit_mm()
589 static void exit_notify(struct task_struct *tsk, int group_dead) in exit_notify()
655 struct task_struct *tsk = current; in do_exit() local
1423 static int do_wait_thread(struct wait_opts *wo, struct task_struct *tsk) in do_wait_thread()
1437 static int ptrace_do_wait(struct wait_opts *wo, struct task_struct *tsk) in ptrace_do_wait()
1475 struct task_struct *tsk; in do_wait() local
Dtaskstats.c171 struct task_struct *tsk, struct taskstats *stats) in fill_stats()
195 struct task_struct *tsk; in fill_stats_for_pid() local
211 struct task_struct *tsk, *first; in fill_stats_for_tgid() local
259 static void fill_tgid_exit(struct task_struct *tsk) in fill_tgid_exit()
582 static struct taskstats *taskstats_tgid_alloc(struct task_struct *tsk) in taskstats_tgid_alloc()
607 void taskstats_exit(struct task_struct *tsk, int group_dead) in taskstats_exit()
Dcred.c151 void exit_creds(struct task_struct *tsk) in exit_creds()
720 const struct task_struct *tsk) in dump_invalid_creds()
768 void __validate_process_creds(struct task_struct *tsk, in __validate_process_creds()
800 void validate_creds_for_do_exit(struct task_struct *tsk) in validate_creds_for_do_exit()
Dauditsc.c358 static int audit_field_compare(struct task_struct *tsk, in audit_field_compare()
438 static int audit_filter_rules(struct task_struct *tsk, in audit_filter_rules()
707 static enum audit_state audit_filter_task(struct task_struct *tsk, char **key) in audit_filter_task()
747 static enum audit_state audit_filter_syscall(struct task_struct *tsk, in audit_filter_syscall()
777 static int audit_filter_inode_name(struct task_struct *tsk, in audit_filter_inode_name()
804 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) in audit_filter_inodes()
821 static inline struct audit_context *audit_take_context(struct task_struct *tsk, in audit_take_context()
919 int audit_alloc(struct task_struct *tsk) in audit_alloc()
1283 static void audit_log_proctitle(struct task_struct *tsk, in audit_log_proctitle()
1324 static void audit_log_exit(struct audit_context *context, struct task_struct *tsk) in audit_log_exit()
[all …]
Dptrace.c525 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()
1100 int generic_ptrace_peekdata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_peekdata()
1112 int generic_ptrace_pokedata(struct task_struct *tsk, unsigned long addr, in generic_ptrace_pokedata()
Dcpuset.c365 struct task_struct *tsk) in cpuset_update_task_spread_flag()
988 struct task_struct *tsk = current; in cpuset_migrate_mm() local
1008 static void cpuset_change_task_nodemask(struct task_struct *tsk, in cpuset_change_task_nodemask()
2362 void cpuset_cpus_allowed(struct task_struct *tsk, struct cpumask *pmask) in cpuset_cpus_allowed()
2373 void cpuset_cpus_allowed_fallback(struct task_struct *tsk) in cpuset_cpus_allowed_fallback()
2413 nodemask_t cpuset_mems_allowed(struct task_struct *tsk) in cpuset_mems_allowed()
2607 void cpuset_print_task_mems_allowed(struct task_struct *tsk) in cpuset_print_task_mems_allowed()
2665 struct pid *pid, struct task_struct *tsk) in proc_cpuset_show()
Dstacktrace.c66 save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dsignal.c460 struct task_struct *tsk = current; in flush_itimer_signals() local
500 int unhandled_signal(struct task_struct *tsk, int sig) in unhandled_signal()
610 int dequeue_signal(struct task_struct *tsk, sigset_t *mask, siginfo_t *info) in dequeue_signal()
1260 struct sighand_struct *__lock_task_sighand(struct task_struct *tsk, in __lock_task_sighand()
1623 bool do_notify_parent(struct task_struct *tsk, int sig) in do_notify_parent()
1726 static void do_notify_parent_cldstop(struct task_struct *tsk, in do_notify_parent_cldstop()
1811 static int sigkill_pending(struct task_struct *tsk) in sigkill_pending()
2407 static void retarget_shared_pending(struct task_struct *tsk, sigset_t *which) in retarget_shared_pending()
2434 void exit_signals(struct task_struct *tsk) in exit_signals()
2513 static void __set_task_blocked(struct task_struct *tsk, const sigset_t *newset) in __set_task_blocked()
[all …]
/linux-4.1.27/arch/hexagon/include/asm/
Dmmu_context.h39 struct task_struct *tsk) in enter_lazy_tlb()
46 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
56 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
67 struct task_struct *tsk) in switch_mm()
Dprocessor.h80 #define KSTK_EIP(tsk) (pt_elr(task_pt_regs(tsk))) argument
81 #define KSTK_ESP(tsk) (pt_psp(task_pt_regs(tsk))) argument
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
Dfpu.c19 void save_fpu(struct task_struct *tsk) in save_fpu()
61 void restore_fpu(struct task_struct *tsk) in restore_fpu()
106 struct task_struct *tsk = current; in do_fpu_error() local
/linux-4.1.27/arch/parisc/include/asm/
Dmmu_context.h11 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
22 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
52 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
61 #define deactivate_mm(tsk,mm) do { } while (0) argument
Dsyscall.h11 static inline long syscall_get_nr(struct task_struct *tsk, in syscall_get_nr()
17 static inline void syscall_get_arguments(struct task_struct *tsk, in syscall_get_arguments()
Dprocessor.h35 #define TASK_SIZE_OF(tsk) ((tsk)->thread.task_size) argument
133 #define task_pt_regs(tsk) ((struct pt_regs *)&((tsk)->thread.regs)) argument
335 #define KSTK_EIP(tsk) ((tsk)->thread.regs.iaoq[0]) argument
336 #define KSTK_ESP(tsk) ((tsk)->thread.regs.gr[30]) argument
/linux-4.1.27/arch/frv/include/asm/
Dmmu_context.h20 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
30 #define init_new_context(tsk, mm) ({ 0; }) argument
35 #define switch_mm(prev, next, tsk) \ argument
46 #define deactivate_mm(tsk, mm) \ argument
Dprocessor.h95 #define copy_segments(tsk, mm) do { } while (0) argument
113 #define KSTK_EIP(tsk) ((tsk)->thread.frame0->pc) argument
114 #define KSTK_ESP(tsk) ((tsk)->thread.frame0->sp) argument
/linux-4.1.27/drivers/dma/bestcomm/
Data.c60 struct bcom_task *tsk; in bcom_ata_init() local
103 void bcom_ata_rx_prepare(struct bcom_task *tsk) in bcom_ata_rx_prepare()
117 void bcom_ata_tx_prepare(struct bcom_task *tsk) in bcom_ata_tx_prepare()
131 void bcom_ata_reset_bd(struct bcom_task *tsk) in bcom_ata_reset_bd()
146 void bcom_ata_release(struct bcom_task *tsk) in bcom_ata_release()
Dfec.c87 struct bcom_task *tsk; in bcom_fec_rx_init() local
111 bcom_fec_rx_reset(struct bcom_task *tsk) in bcom_fec_rx_reset()
158 bcom_fec_rx_release(struct bcom_task *tsk) in bcom_fec_rx_release()
189 struct bcom_task *tsk; in bcom_fec_tx_init() local
212 bcom_fec_tx_reset(struct bcom_task *tsk) in bcom_fec_tx_reset()
259 bcom_fec_tx_release(struct bcom_task *tsk) in bcom_fec_tx_release()
Dgen_bd.c92 struct bcom_task *tsk; in bcom_gen_bd_rx_init() local
118 bcom_gen_bd_rx_reset(struct bcom_task *tsk) in bcom_gen_bd_rx_reset()
165 bcom_gen_bd_rx_release(struct bcom_task *tsk) in bcom_gen_bd_rx_release()
177 struct bcom_task *tsk; in bcom_gen_bd_tx_init() local
202 bcom_gen_bd_tx_reset(struct bcom_task *tsk) in bcom_gen_bd_tx_reset()
249 bcom_gen_bd_tx_release(struct bcom_task *tsk) in bcom_gen_bd_tx_release()
Dbestcomm.c53 struct bcom_task *tsk; in bcom_task_alloc() local
121 bcom_task_free(struct bcom_task *tsk) in bcom_task_free()
236 bcom_enable(struct bcom_task *tsk) in bcom_enable()
243 bcom_disable(struct bcom_task *tsk) in bcom_disable()
/linux-4.1.27/arch/c6x/include/asm/
Dprocessor.h95 #define copy_segments(tsk, mm) do { } while (0) argument
101 #define thread_saved_pc(tsk) (task_pt_regs(tsk)->pc) argument
107 #define thread_saved_ksp(tsk) \ argument
109 #define thread_saved_dp(tsk) \ argument
112 #define thread_saved_ksp(tsk) \ argument
114 #define thread_saved_dp(tsk) \ argument
/linux-4.1.27/arch/microblaze/include/asm/
Dprocessor.h27 #define task_pt_regs(tsk) \ argument
82 # define KSTK_EIP(tsk) (0) argument
83 # define KSTK_ESP(tsk) (0) argument
136 # define thread_saved_pc(tsk) \ argument
148 # define task_pt_regs_plus_args(tsk) \ argument
158 # define deactivate_mm(tsk, mm) do { } while (0) argument
Dmmu_context_mm.h36 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
103 # define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
118 struct task_struct *tsk) in switch_mm()
/linux-4.1.27/arch/powerpc/kernel/
Dprocess.c78 void giveup_fpu_maybe_transactional(struct task_struct *tsk) in giveup_fpu_maybe_transactional()
96 void giveup_altivec_maybe_transactional(struct task_struct *tsk) in giveup_altivec_maybe_transactional()
115 #define giveup_fpu_maybe_transactional(tsk) giveup_fpu(tsk) argument
116 #define giveup_altivec_maybe_transactional(tsk) giveup_altivec(tsk) argument
124 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread()
190 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread()
222 void giveup_vsx(struct task_struct *tsk) in giveup_vsx()
230 void flush_vsx_to_thread(struct task_struct *tsk) in flush_vsx_to_thread()
263 void flush_spe_to_thread(struct task_struct *tsk) in flush_spe_to_thread()
589 static inline void tm_reclaim_task(struct task_struct *tsk) in tm_reclaim_task()
[all …]
Dstacktrace.c23 struct task_struct *tsk, int savesched) in save_context_stack()
59 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dhw_breakpoint.c192 void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs) in thread_change_pc()
355 void flush_ptrace_hw_breakpoint(struct task_struct *tsk) in flush_ptrace_hw_breakpoint()
Dtime.c296 static u64 vtime_delta(struct task_struct *tsk, in vtime_delta()
343 void vtime_account_system(struct task_struct *tsk) in vtime_account_system()
354 void vtime_account_idle(struct task_struct *tsk) in vtime_account_idle()
371 void vtime_account_user(struct task_struct *tsk) in vtime_account_user()
/linux-4.1.27/arch/blackfin/include/asm/
Dmmu_context.h69 #define deactivate_mm(tsk,mm) do { } while (0) argument
74 struct task_struct *tsk) in __switch_mm()
112 struct task_struct *tsk) in switch_mm()
161 struct task_struct *tsk) in switch_mm()
167 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
173 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
Dprocessor.h88 #define thread_saved_pc(tsk) (tsk->thread.pc) argument
92 #define KSTK_EIP(tsk) \ argument
99 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) argument
/linux-4.1.27/arch/s390/include/asm/
Dmmu_context.h15 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
70 struct task_struct *tsk) in switch_mm()
91 struct task_struct *tsk = current; in finish_arch_post_lock_switch() local
108 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
109 #define deactivate_mm(tsk,mm) do { } while (0) argument
Dprocessor.h69 #define TASK_SIZE_OF(tsk) ((tsk)->mm->context.asce_limit) argument
178 #define task_pt_regs(tsk) ((struct pt_regs *) \ argument
180 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->psw.addr) argument
181 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->gprs[15]) argument
184 #define is_ri_task(tsk) (!!(tsk)->thread.ri_cb) argument
/linux-4.1.27/arch/nios2/include/asm/
Dmmu_context.h27 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
37 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
55 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
Dprocessor.h84 #define thread_saved_pc(tsk) ((tsk)->thread.kregs->ea) argument
92 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->ea) argument
93 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->sp) argument
/linux-4.1.27/arch/sh/kernel/cpu/
Dfpu.c7 int init_fpu(struct task_struct *tsk) in init_fpu()
42 struct task_struct *tsk = current; in __fpu_state_restore() local
52 struct task_struct *tsk = current; in fpu_state_restore() local
/linux-4.1.27/arch/x86/um/asm/
Dprocessor.h13 #define KSTK_EIP(tsk) KSTK_REG(tsk, HOST_IP) argument
14 #define KSTK_ESP(tsk) KSTK_REG(tsk, HOST_SP) argument
15 #define KSTK_EBP(tsk) KSTK_REG(tsk, HOST_BP) argument
/linux-4.1.27/arch/tile/kernel/
Dprocess.c210 int set_unalign_ctl(struct task_struct *tsk, unsigned int val) in set_unalign_ctl()
216 int get_unalign_ctl(struct task_struct *tsk, unsigned long adr) in get_unalign_ctl()
230 struct task_struct *tsk = current; in validate_current() local
243 struct task_struct *tsk = current; in sim_notify_fork() local
251 int dump_task_regs(struct task_struct *tsk, elf_gregset_t *regs) in dump_task_regs()
551 struct task_struct *tsk = validate_current(); in show_regs() local
/linux-4.1.27/arch/metag/include/asm/
Dmmu_context.h14 struct task_struct *tsk) in enter_lazy_tlb()
18 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
99 struct task_struct *tsk) in switch_mm()
111 #define deactivate_mm(tsk, mm) do { } while (0) argument
Dprocessor.h134 #define copy_segments(tsk, mm) do { } while (0) argument
142 #define thread_saved_pc(tsk) \ argument
144 #define thread_saved_sp(tsk) \ argument
146 #define thread_saved_fp(tsk) \ argument
151 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ctx.CurrPC) argument
152 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->ctx.AX[0].U0) argument
/linux-4.1.27/arch/arm64/include/asm/
Dmmu_context.h122 struct task_struct *tsk) in check_and_switch_context()
152 #define init_new_context(tsk,mm) (__init_new_context(tsk,mm),0) argument
181 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
193 struct task_struct *tsk) in switch_mm()
210 #define deactivate_mm(tsk,mm) do { } while (0) argument
Dthread_info.h53 #define INIT_THREAD_INFO(tsk) \ argument
80 #define thread_saved_pc(tsk) \ argument
82 #define thread_saved_sp(tsk) \ argument
84 #define thread_saved_fp(tsk) \ argument
Dprocessor.h144 #define KSTK_EIP(tsk) ((unsigned long)task_pt_regs(tsk)->pc) argument
145 #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk)) argument
/linux-4.1.27/arch/unicore32/include/asm/
Dmmu_context.h24 #define init_new_context(tsk, mm) 0 argument
38 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
50 struct task_struct *tsk) in switch_mm()
58 #define deactivate_mm(tsk, mm) do { } while (0) argument
Dthread_info.h82 #define INIT_THREAD_INFO(tsk) \ argument
104 #define thread_saved_pc(tsk) \ argument
106 #define thread_saved_sp(tsk) \ argument
108 #define thread_saved_fp(tsk) \ argument
Dprocessor.h79 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->UCreg_pc) argument
80 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->UCreg_sp) argument
/linux-4.1.27/arch/ia64/include/asm/
Dthread_info.h39 #define INIT_THREAD_INFO(tsk) \ argument
51 #define alloc_thread_info_node(tsk, node) \ argument
53 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) argument
56 #define alloc_thread_info_node(tsk, node) ((struct thread_info *) 0) argument
57 #define task_thread_info(tsk) ((struct thread_info *) 0) argument
60 #define task_stack_page(tsk) ((void *)(tsk)) argument
84 #define free_task_struct(tsk) free_pages((unsigned long) (tsk), KERNEL_STACK_SIZE_ORDER) argument
Dmmu_context.h51 enter_lazy_tlb (struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
179 #define deactivate_mm(tsk,mm) do { } while (0) argument
/linux-4.1.27/arch/powerpc/include/asm/
Dmmu_context.h43 struct task_struct *tsk) in switch_mm()
87 #define deactivate_mm(tsk,mm) do { } while (0) argument
104 struct task_struct *tsk) in enter_lazy_tlb()
Dprocessor.h120 #define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_32BIT) ? \ argument
351 #define thread_saved_pc(tsk) \ argument
354 #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.regs) argument
358 #define KSTK_EIP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->nip: 0) argument
359 #define KSTK_ESP(tsk) ((tsk)->thread.regs? (tsk)->thread.regs->gpr[1]: 0) argument
362 #define GET_FPEXC_CTL(tsk, adr) get_fpexc_mode((tsk), (adr)) argument
363 #define SET_FPEXC_CTL(tsk, val) set_fpexc_mode((tsk), (val)) argument
368 #define GET_ENDIAN(tsk, adr) get_endian((tsk), (adr)) argument
369 #define SET_ENDIAN(tsk, val) set_endian((tsk), (val)) argument
374 #define GET_UNALIGN_CTL(tsk, adr) get_unalign_ctl((tsk), (adr)) argument
[all …]
Dhw_breakpoint.h88 static inline void thread_change_pc(struct task_struct *tsk, in thread_change_pc()
/linux-4.1.27/arch/sparc/include/asm/
Dprocessor_64.h39 #define TASK_SIZE_OF(tsk) \ argument
195 #define release_thread(tsk) do { } while (0) argument
199 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) argument
200 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->tpc) argument
201 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->u_regs[UREG_FP]) argument
Dmmu_context_64.h12 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
74 …atic inline void switch_mm(struct mm_struct *old_mm, struct mm_struct *mm, struct task_struct *tsk) in switch_mm()
133 #define deactivate_mm(tsk,mm) do { } while (0) argument
Dprocessor_32.h108 #define release_thread(tsk) do { } while(0) argument
112 #define task_pt_regs(tsk) ((tsk)->thread.kregs) argument
113 #define KSTK_EIP(tsk) ((tsk)->thread.kregs->pc) argument
114 #define KSTK_ESP(tsk) ((tsk)->thread.kregs->u_regs[UREG_FP]) argument
Dmmu_context_32.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
28 #define deactivate_mm(tsk,mm) do { } while (0) argument
/linux-4.1.27/kernel/sched/
Dcputime.c286 void thread_group_cputime(struct task_struct *tsk, struct task_cputime *times) in thread_group_cputime()
415 void vtime_common_account_irq_enter(struct task_struct *tsk) in vtime_common_account_irq_enter()
647 static unsigned long long vtime_delta(struct task_struct *tsk) in vtime_delta()
658 static cputime_t get_vtime_delta(struct task_struct *tsk) in get_vtime_delta()
669 static void __vtime_account_system(struct task_struct *tsk) in __vtime_account_system()
676 void vtime_account_system(struct task_struct *tsk) in vtime_account_system()
683 void vtime_gen_account_irq_exit(struct task_struct *tsk) in vtime_gen_account_irq_exit()
692 void vtime_account_user(struct task_struct *tsk) in vtime_account_user()
703 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter()
711 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()
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()
/linux-4.1.27/include/asm-generic/
Dmmu_context.h15 struct task_struct *tsk) in enter_lazy_tlb()
19 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
36 struct task_struct *tsk) in switch_mm()
/linux-4.1.27/arch/avr32/include/asm/
Dmmu_context.h71 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
110 struct task_struct *tsk) in switch_mm()
120 #define deactivate_mm(tsk,mm) do { } while(0) argument
125 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
Dprocessor.h142 #define thread_saved_pc(tsk) ((tsk)->thread.cpu_context.pc) argument
153 #define KSTK_EIP(tsk) ((tsk)->thread.cpu_context.pc) argument
154 #define KSTK_ESP(tsk) ((tsk)->thread.cpu_context.ksp) argument
/linux-4.1.27/arch/arm/kernel/
Dptrace.c203 void ptrace_break(struct task_struct *tsk, struct pt_regs *regs) in ptrace_break()
259 static int ptrace_read_user(struct task_struct *tsk, unsigned long off, in ptrace_read_user()
286 static int ptrace_write_user(struct task_struct *tsk, unsigned long off, in ptrace_write_user()
303 static int ptrace_getwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_getwmmxregs()
317 static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_setwmmxregs()
334 static int ptrace_getcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_getcrunchregs()
346 static int ptrace_setcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_setcrunchregs()
413 void clear_ptrace_hw_breakpoint(struct task_struct *tsk) in clear_ptrace_hw_breakpoint()
422 void flush_ptrace_hw_breakpoint(struct task_struct *tsk) in flush_ptrace_hw_breakpoint()
456 static struct perf_event *ptrace_hbp_create(struct task_struct *tsk, int type) in ptrace_hbp_create()
[all …]
Dstacktrace.c109 static noinline void __save_stack_trace(struct task_struct *tsk, in __save_stack_trace()
169 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dtraps.c174 static inline void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) in dump_backtrace()
179 static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) in dump_backtrace()
215 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack()
239 struct task_struct *tsk = current; in __die() local
/linux-4.1.27/arch/um/kernel/
Dstacktrace.c19 void dump_trace(struct task_struct *tsk, in dump_trace()
63 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) in __save_stack_trace()
76 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dptrace.c114 static void send_sigtrap(struct task_struct *tsk, struct uml_pt_regs *regs, in send_sigtrap()
/linux-4.1.27/arch/um/include/asm/
Dmmu_context.h34 #define deactivate_mm(tsk,mm) do { } while (0) argument
51 struct task_struct *tsk) in switch_mm()
64 struct task_struct *tsk) in enter_lazy_tlb()
/linux-4.1.27/arch/arm64/kernel/
Dptrace.c114 void flush_ptrace_hw_breakpoint(struct task_struct *tsk) in flush_ptrace_hw_breakpoint()
134 void ptrace_hw_copy_thread(struct task_struct *tsk) in ptrace_hw_copy_thread()
140 struct task_struct *tsk, in ptrace_hbp_get_event()
160 struct task_struct *tsk, in ptrace_hbp_set_event()
185 struct task_struct *tsk, in ptrace_hbp_create()
283 struct task_struct *tsk, in ptrace_hbp_get_ctrl()
297 struct task_struct *tsk, in ptrace_hbp_get_addr()
311 struct task_struct *tsk, in ptrace_hbp_get_initialised_bp()
323 struct task_struct *tsk, in ptrace_hbp_set_ctrl()
348 struct task_struct *tsk, in ptrace_hbp_set_addr()
[all …]
Dtraps.c133 static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) in dump_backtrace()
171 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack()
191 struct task_struct *tsk = thread->task; in __die() local
/linux-4.1.27/mm/
Dmmu_context.c23 struct task_struct *tsk = current; in use_mm() local
53 struct task_struct *tsk = current; in unuse_mm() local
Dgup.c261 static int faultin_page(struct task_struct *tsk, struct vm_area_struct *vma, in faultin_page()
416 long __get_user_pages(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages()
544 int fixup_user_fault(struct task_struct *tsk, struct mm_struct *mm, in fixup_user_fault()
578 static __always_inline long __get_user_pages_locked(struct task_struct *tsk, in __get_user_pages_locked()
695 long get_user_pages_locked(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_locked()
715 __always_inline long __get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, in __get_user_pages_unlocked()
748 long get_user_pages_unlocked(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages_unlocked()
812 long get_user_pages(struct task_struct *tsk, struct mm_struct *mm, in get_user_pages()
Dmemory-failure.c274 struct task_struct *tsk; member
289 static void add_to_kill(struct task_struct *tsk, struct page *p, in add_to_kill()
379 static struct task_struct *find_early_kill_thread(struct task_struct *tsk) in find_early_kill_thread()
395 static struct task_struct *task_early_kill(struct task_struct *tsk, in task_early_kill()
418 struct task_struct *tsk; in collect_procs_anon() local
454 struct task_struct *tsk; in collect_procs_file() local
Doom_kill.c60 struct task_struct *tsk; in has_intersects_mems_allowed() local
88 static bool has_intersects_mems_allowed(struct task_struct *tsk, in has_intersects_mems_allowed()
417 void mark_tsk_oom_victim(struct task_struct *tsk) in mark_tsk_oom_victim()
/linux-4.1.27/arch/tile/include/asm/
Dmmu_context.h28 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
92 struct task_struct *tsk) in switch_mm()
133 #define deactivate_mm(tsk, mm) do { } while (0) argument
/linux-4.1.27/arch/score/include/asm/
Dmmu_context.h43 struct task_struct *tsk) in enter_lazy_tlb()
66 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
73 struct task_struct *tsk) in switch_mm()
Dprocessor.h98 #define kstk_tos(tsk) \ argument
100 #define task_pt_regs(tsk) ((struct pt_regs *)kstk_tos(tsk) - 1) argument
102 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->cp0_epc) argument
103 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[29]) argument
/linux-4.1.27/arch/openrisc/include/asm/
Dmmu_context.h29 #define deactivate_mm(tsk, mm) do { } while (0) argument
39 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
Dprocessor.h79 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) argument
80 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
/linux-4.1.27/arch/cris/include/asm/
Dmmu_context.h12 #define deactivate_mm(tsk,mm) do { } while (0) argument
23 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
Dprocessor.h53 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) argument
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
Dfpu.c30 void save_fpu(struct task_struct *tsk) in save_fpu()
63 void restore_fpu(struct task_struct *tsk) in restore_fpu()
457 struct task_struct *tsk = current; in ieee_fpe_handler() local
469 struct task_struct *tsk = current; in ieee_fpe_handler() local
512 struct task_struct *tsk = current; in ieee_fpe_handler() local
561 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/linux-4.1.27/arch/sh/kernel/
Dprocess_32.c88 struct task_struct *tsk = current; in flush_thread() local
110 struct task_struct *tsk = current; in dump_fpu() local
133 struct task_struct *tsk = current; in copy_thread() local
Dprocess.c39 void free_thread_xstate(struct task_struct *tsk) in free_thread_xstate()
47 void arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
Dprocess_64.c280 struct task_struct *tsk = get_current(); in show_regs() local
349 struct task_struct *tsk = current; in dump_fpu() local
Ddumpstack.c127 void show_trace(struct task_struct *tsk, unsigned long *sp, in show_trace()
145 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack()
Dsignal_32.c78 struct task_struct *tsk = current; in restore_sigcontext_fpu() local
91 struct task_struct *tsk = current; in save_sigcontext_fpu() local
135 struct task_struct *tsk = current; in restore_sigcontext() local
Dstacktrace.c84 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dtraps_32.c618 struct task_struct *tsk = current; in do_reserved_inst() local
704 struct task_struct *tsk = current; in do_illegal_slot_inst() local
/linux-4.1.27/arch/x86/kernel/
Dtraps.c194 do_trap_no_signal(struct task_struct *tsk, int trapnr, char *str, in do_trap_no_signal()
257 struct task_struct *tsk = current; in do_trap() local
325 struct task_struct *tsk = current; in do_double_fault() local
374 struct task_struct *tsk = current; in do_bounds() local
458 struct task_struct *tsk; in do_general_protection() local
619 struct task_struct *tsk = current; in do_debug() local
842 struct task_struct *tsk = current; in math_state_restore() local
Dxsave.c43 void __sanitize_i387_state(struct task_struct *tsk) in __sanitize_i387_state()
139 static inline int save_fsave_header(struct task_struct *tsk, void __user *buf) in save_fsave_header()
241 struct task_struct *tsk = current; in save_xstate_sig() local
279 sanitize_restored_xstate(struct task_struct *tsk, in sanitize_restored_xstate()
336 struct task_struct *tsk = current; in __restore_xstate_sig() local
Di387.c120 void unlazy_fpu(struct task_struct *tsk) in unlazy_fpu()
263 int init_fpu(struct task_struct *tsk) in init_fpu()
487 convert_from_fxsr(struct user_i387_ia32_struct *env, struct task_struct *tsk) in convert_from_fxsr()
523 void convert_to_fxsr(struct task_struct *tsk, in convert_to_fxsr()
628 struct task_struct *tsk = current; in dump_fpu() local
Dptrace.c614 ptrace_register_breakpoint(struct task_struct *tsk, int len, int type, in ptrace_register_breakpoint()
647 static int ptrace_write_dr7(struct task_struct *tsk, unsigned long data) in ptrace_write_dr7()
698 static unsigned long ptrace_get_debugreg(struct task_struct *tsk, int n) in ptrace_get_debugreg()
716 static int ptrace_set_breakpoint_addr(struct task_struct *tsk, int nr, in ptrace_set_breakpoint_addr()
755 static int ptrace_set_debugreg(struct task_struct *tsk, int n, in ptrace_set_debugreg()
1407 static void fill_sigtrap_info(struct task_struct *tsk, in fill_sigtrap_info()
1421 void user_single_step_siginfo(struct task_struct *tsk, in user_single_step_siginfo()
1428 void send_sigtrap(struct task_struct *tsk, struct pt_regs *regs, in send_sigtrap()
Dprocess.c103 void free_thread_xstate(struct task_struct *tsk) in free_thread_xstate()
108 void arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
150 struct task_struct *tsk = current; in flush_thread() local
Dprocess_32.c64 unsigned long thread_saved_pc(struct task_struct *tsk) in thread_saved_pc()
136 struct task_struct *tsk; in copy_thread() local
Dvm86_32.c212 struct task_struct *tsk = current; in SYSCALL_DEFINE1() local
237 struct task_struct *tsk; in SYSCALL_DEFINE2() local
275 static void do_sys_vm86(struct kernel_vm86_struct *info, struct task_struct *tsk) in do_sys_vm86()
731 struct task_struct *tsk; member
/linux-4.1.27/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()
834 static void check_thread_timers(struct task_struct *tsk, in check_thread_timers()
897 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer()
932 static void check_process_timers(struct task_struct *tsk, in check_process_timers()
1095 static inline int fastpath_timer_check(struct task_struct *tsk) in fastpath_timer_check()
1133 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
/linux-4.1.27/arch/sparc/mm/
Dfault_32.c39 struct task_struct *tsk, in unhandled_fault()
107 unsigned long address, struct task_struct *tsk) in show_signal_msg()
171 struct task_struct *tsk = current; in do_sparc_fault() local
387 struct task_struct *tsk = current; in force_user_fault() local
Dfault_64.c54 struct task_struct *tsk, in unhandled_fault()
150 unsigned long address, struct task_struct *tsk) in show_signal_msg()
/linux-4.1.27/arch/ia64/kernel/
Dtime.c86 void vtime_account_user(struct task_struct *tsk) in vtime_account_user()
116 static cputime_t vtime_delta(struct task_struct *tsk) in vtime_delta()
133 void vtime_account_system(struct task_struct *tsk) in vtime_account_system()
141 void vtime_account_idle(struct task_struct *tsk) in vtime_account_idle()
/linux-4.1.27/include/linux/sched/
Drt.h24 static inline bool tsk_is_pi_blocked(struct task_struct *tsk) in tsk_is_pi_blocked()
45 static inline bool tsk_is_pi_blocked(struct task_struct *tsk) in tsk_is_pi_blocked()
/linux-4.1.27/arch/x86/mm/
Dfault.c170 struct task_struct *tsk, int fault) in force_sig_info_fault()
304 struct task_struct *tsk) in check_v8086_mode()
452 struct task_struct *tsk) in check_v8086_mode()
631 struct task_struct *tsk; in pgtable_bad() local
657 struct task_struct *tsk = current; in no_context() local
740 unsigned long address, struct task_struct *tsk) in show_signal_msg()
762 struct task_struct *tsk = current; in __bad_area_nosemaphore() local
853 struct task_struct *tsk = current; in do_sigbus() local
1065 struct task_struct *tsk; in __do_page_fault() local
Dmpx.c326 static __user void *task_get_bounds_dir(struct task_struct *tsk) in task_get_bounds_dir()
363 int mpx_enable_management(struct task_struct *tsk) in mpx_enable_management()
389 int mpx_disable_management(struct task_struct *tsk) in mpx_disable_management()
/linux-4.1.27/arch/mips/kernel/
Dstacktrace.c34 struct task_struct *tsk, struct pt_regs *regs) in save_context_stack()
72 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-4.1.27/arch/sh/mm/
Dalignment.c83 int get_unalign_ctl(struct task_struct *tsk, unsigned long addr) in get_unalign_ctl()
89 int set_unalign_ctl(struct task_struct *tsk, unsigned int val) in set_unalign_ctl()
96 void unaligned_fixups_notify(struct task_struct *tsk, insn_size_t insn, in unaligned_fixups_notify()
Dfault.c41 struct task_struct *tsk) in force_sig_info_fault()
252 struct task_struct *tsk = current; in __bad_area_nosemaphore() local
307 struct task_struct *tsk = current; in do_sigbus() local
401 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/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_nested() local
Drwsem-xadd.c125 struct task_struct *tsk; in __rwsem_do_wake() local
218 struct task_struct *tsk = current; in rwsem_down_read_failed() local
/linux-4.1.27/arch/arm64/mm/
Dfault.c112 static void __do_user_fault(struct task_struct *tsk, unsigned long addr, in __do_user_fault()
138 struct task_struct *tsk = current; in do_bad_area() local
158 struct task_struct *tsk) in __do_page_fault()
197 struct task_struct *tsk; in do_page_fault() local
Dcontext.c41 void __init_new_context(struct task_struct *tsk, struct mm_struct *mm) in __init_new_context()
/linux-4.1.27/arch/cris/arch-v10/mm/
Dtlb.c143 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
152 struct task_struct *tsk) in switch_mm()
/linux-4.1.27/arch/frv/mm/
Dmmu-context.c29 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
170 struct task_struct *tsk; in cxn_pin_by_pid() local
/linux-4.1.27/arch/alpha/include/asm/
Dprocessor.h55 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) argument
57 #define KSTK_ESP(tsk) \ argument
Dmmu_context.h213 #define deactivate_mm(tsk,mm) do { } while (0) argument
229 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
248 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
/linux-4.1.27/arch/unicore32/mm/
Dfault.c119 static void __do_user_fault(struct task_struct *tsk, unsigned long addr, in __do_user_fault()
137 struct task_struct *tsk = current; in do_bad_area() local
171 unsigned int flags, struct task_struct *tsk) in __do_pf()
209 struct task_struct *tsk; in do_pf() local
/linux-4.1.27/arch/parisc/mm/
Dfault.c181 unsigned long address, struct task_struct *tsk, in show_signal_msg()
205 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/arch/unicore32/kernel/
Dptrace.c63 static int ptrace_read_user(struct task_struct *tsk, unsigned long off, in ptrace_read_user()
78 static int ptrace_write_user(struct task_struct *tsk, unsigned long off, in ptrace_write_user()
Dtraps.c138 static void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk) in dump_backtrace()
173 void show_stack(struct task_struct *tsk, unsigned long *sp) in show_stack()
182 struct task_struct *tsk = thread->task; in __die() local
/linux-4.1.27/arch/m32r/kernel/
Dprocess.c42 unsigned long thread_saved_pc(struct task_struct *tsk) in thread_saved_pc()
132 unsigned long arg, struct task_struct *tsk) in copy_thread()
Dptrace.c71 static int ptrace_read_user(struct task_struct *tsk, unsigned long off, in ptrace_read_user()
133 static int ptrace_write_user(struct task_struct *tsk, unsigned long off, in ptrace_write_user()
189 static int ptrace_getregs(struct task_struct *tsk, void __user *uregs) in ptrace_getregs()
199 static int ptrace_setregs(struct task_struct *tsk, void __user *uregs) in ptrace_setregs()
/linux-4.1.27/arch/cris/arch-v32/mm/
Dtlb.c169 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
180 struct task_struct *tsk) in switch_mm()
/linux-4.1.27/arch/s390/mm/
Dfault.c298 struct task_struct *tsk = current; in do_sigbus() local
375 struct task_struct *tsk; in do_exception() local
634 struct task_struct *tsk; in pfault_interrupt() local
716 struct task_struct *tsk; in pfault_cpu_notify() local
/linux-4.1.27/arch/s390/kernel/
Dvtime.c66 static int do_account_vtime(struct task_struct *tsk, int hardirq_offset) in do_account_vtime()
158 void vtime_account_user(struct task_struct *tsk) in vtime_account_user()
168 void vtime_account_irq_enter(struct task_struct *tsk) in vtime_account_irq_enter()
Dprocess.c47 unsigned long thread_saved_pc(struct task_struct *tsk) in thread_saved_pc()
82 void arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
Dstacktrace.c85 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-4.1.27/arch/arm/mm/
Dfault.c160 __do_user_fault(struct task_struct *tsk, unsigned long addr, in __do_user_fault()
188 struct task_struct *tsk = current; in do_bad_area() local
224 unsigned int flags, struct task_struct *tsk) in __do_page_fault()
260 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/arch/microblaze/kernel/
Dstacktrace.c27 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
Dprocess.c123 unsigned long thread_saved_pc(struct task_struct *tsk) in thread_saved_pc()
/linux-4.1.27/arch/parisc/kernel/
Dstacktrace.c57 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-4.1.27/fs/jffs2/
Dbackground.c37 struct task_struct *tsk; in jffs2_start_garbage_collect_thread() local
/linux-4.1.27/arch/sparc/kernel/
Dprocess_32.c147 void show_stack(struct task_struct *tsk, unsigned long *_ksp) in show_stack()
179 unsigned long thread_saved_pc(struct task_struct *tsk) in thread_saved_pc()
Dstacktrace.c79 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux-4.1.27/arch/cris/include/arch-v32/arch/
Dprocessor.h30 #define KSTK_EIP(tsk) \ argument
/linux-4.1.27/arch/powerpc/mm/
Dmmu_context_hash64.c62 int init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
/linux-4.1.27/arch/score/mm/
Dfault.c47 struct task_struct *tsk = current; in do_page_fault() local
/linux-4.1.27/arch/arc/mm/
Dfault.c59 struct task_struct *tsk = current; in do_page_fault() local
/linux-4.1.27/security/keys/
Dprocess_keys.c276 void key_fsuid_changed(struct task_struct *tsk) in key_fsuid_changed()
290 void key_fsgid_changed(struct task_struct *tsk) in key_fsgid_changed()
/linux-4.1.27/arch/cris/include/arch-v10/arch/
Dprocessor.h40 #define KSTK_EIP(tsk) \ argument
/linux-4.1.27/drivers/tty/
Dtty_audit.c67 struct task_struct *tsk = current; in tty_audit_log() local
184 struct task_struct *tsk = current; in tty_audit_push_current() local
Dtty_ldsem.c122 struct task_struct *tsk; in __ldsem_wake_readers() local
203 struct task_struct *tsk = current; in down_read_failed() local
271 struct task_struct *tsk = current; in down_write_failed() local
/linux-4.1.27/arch/nios2/mm/
Dfault.c46 struct task_struct *tsk = current; in do_page_fault() local
/linux-4.1.27/arch/avr32/mm/
Dfault.c58 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/arch/mn10300/mm/
Dfault.c122 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/arch/metag/mm/
Dfault.c51 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/arch/openrisc/mm/
Dfault.c52 struct task_struct *tsk; in do_page_fault() local
/linux-4.1.27/arch/mips/mm/
Dfault.c43 struct task_struct *tsk = current; in __do_page_fault() local

12