Home
last modified time | relevance | path

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

12345678910>>...15

/Linux-v5.10/include/linux/
Dvtime.h67 static inline void vtime_account_kernel(struct task_struct *tsk) { } in vtime_account_kernel()
78 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
79 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
80 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
81 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
82 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
87 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit()
94 static inline void vtime_account_irq_enter(struct task_struct *tsk) { } in vtime_account_irq_enter()
95 static inline void vtime_account_irq_exit(struct task_struct *tsk) { } in vtime_account_irq_exit()
96 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush()
[all …]
Dscs.h33 #define task_scs(tsk) (task_thread_info(tsk)->scs_base) argument
34 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp) argument
40 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset()
54 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted()
65 static inline void scs_task_reset(struct task_struct *tsk) {} in scs_task_reset()
66 static inline int scs_prepare(struct task_struct *tsk, int node) { return 0; } in scs_prepare()
67 static inline void scs_release(struct task_struct *tsk) {} in scs_release()
68 static inline bool task_scs_end_corrupted(struct task_struct *tsk) { return false; } in task_scs_end_corrupted()
Dtsacct_kern.h20 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
32 static inline void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
34 static inline void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
36 static inline void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Ddelayacct.h97 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
108 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
130 struct task_struct *tsk) in delayacct_add_tsk()
137 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
175 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
177 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
184 struct task_struct *tsk) in delayacct_add_tsk()
186 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
/Linux-v5.10/include/linux/sched/
Dxacct.h12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
22 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
27 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
32 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
36 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
40 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
44 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
Dcputime.h79 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
111 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
127 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time()
148 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time()
169 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
/Linux-v5.10/arch/sh/include/asm/
Dswitch_to_32.h7 #define is_dsp_enabled(tsk) \ argument
10 #define __restore_dsp(tsk) \ argument
33 #define __save_dsp(tsk) \ argument
59 #define is_dsp_enabled(tsk) (0) argument
60 #define __save_dsp(tsk) do { } while (0) argument
61 #define __restore_dsp(tsk) do { } while (0) argument
Dfpu.h27 #define save_fpu(tsk) do { } while (0) argument
28 #define restore_fpu(tsk) do { } while (0) argument
40 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
50 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
57 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/Linux-v5.10/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-v5.10/arch/m68k/include/asm/
Dmmu_context.h8 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
56 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
76 struct task_struct *tsk) in switch_mm()
93 #define deactivate_mm(tsk, mm) do { } while (0) argument
179 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
208 struct task_struct *tsk) in switch_mm()
213 #define deactivate_mm(tsk, mm) do { } while (0) argument
227 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
293 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
303 #define deactivate_mm(tsk,mm) do { } while (0) argument
[all …]
/Linux-v5.10/arch/sh/kernel/cpu/sh4/
Dfpu.c41 void save_fpu(struct task_struct *tsk) in save_fpu()
91 void restore_fpu(struct task_struct *tsk) in restore_fpu()
228 struct task_struct *tsk = current; in ieee_fpe_handler() local
241 struct task_struct *tsk = current; in ieee_fpe_handler() local
279 struct task_struct *tsk = current; in ieee_fpe_handler() local
323 struct task_struct *tsk = current; in ieee_fpe_handler() local
363 struct task_struct *tsk = current; in ieee_fpe_handler() local
396 struct task_struct *tsk = current; in float_rounding_mode() local
403 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/Linux-v5.10/arch/mips/include/asm/
Ddsp.h39 #define __save_dsp(tsk) \ argument
50 #define save_dsp(tsk) \ argument
56 #define __restore_dsp(tsk) \ argument
67 #define restore_dsp(tsk) \ argument
73 #define __get_dsp_regs(tsk) \ argument
/Linux-v5.10/net/tipc/
Dsocket.c158 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
163 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
168 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
173 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
178 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
183 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
188 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
193 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
211 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
234 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
[all …]
/Linux-v5.10/arch/arm/include/asm/
Dmmu_context.h30 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
51 struct task_struct *tsk) in check_and_switch_context()
96 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
117 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
129 struct task_struct *tsk) in switch_mm()
152 #define deactivate_mm(tsk,mm) do { } while (0) argument
/Linux-v5.10/arch/arm64/include/asm/
Dpointer_auth.h79 #define ptrauth_thread_init_user(tsk) \ argument
81 #define ptrauth_thread_init_kernel(tsk) \ argument
83 #define ptrauth_thread_switch_kernel(tsk) \ argument
87 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument
89 #define ptrauth_thread_init_user(tsk) argument
90 #define ptrauth_thread_init_kernel(tsk) argument
91 #define ptrauth_thread_switch_kernel(tsk) argument
/Linux-v5.10/arch/arc/include/asm/
Dprocessor.h55 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument
56 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
62 #define TSK_K_ESP(tsk) (tsk->thread.ksp) argument
64 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument
67 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument
68 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
/Linux-v5.10/arch/powerpc/kernel/
Dprocess.c87 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required()
104 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required()
154 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu()
166 void giveup_fpu(struct task_struct *tsk) in giveup_fpu()
180 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread()
233 static inline void __giveup_fpu(struct task_struct *tsk) { } in __giveup_fpu()
237 static void __giveup_altivec(struct task_struct *tsk) in __giveup_altivec()
249 void giveup_altivec(struct task_struct *tsk) in giveup_altivec()
288 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread()
303 static void __giveup_vsx(struct task_struct *tsk) in __giveup_vsx()
[all …]
/Linux-v5.10/arch/parisc/include/asm/
Dmmu_context.h10 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
21 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
52 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off()
61 struct mm_struct *next, struct task_struct *tsk) in switch_mm()
74 #define deactivate_mm(tsk,mm) do { } while (0) argument
/Linux-v5.10/arch/s390/include/asm/
Dmmu_context.h18 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
92 struct task_struct *tsk) in switch_mm()
114 struct task_struct *tsk = current; in finish_arch_post_lock_switch() local
128 #define enter_lazy_tlb(mm,tsk) do { } while (0) argument
129 #define deactivate_mm(tsk,mm) do { } while (0) argument
/Linux-v5.10/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()
804 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun()
831 static void check_thread_timers(struct task_struct *tsk, in check_thread_timers()
881 static void check_cpu_itimer(struct task_struct *tsk, struct cpu_itimer *it, in check_cpu_itimer()
[all …]
/Linux-v5.10/arch/arc/kernel/
Dstacktrace.c42 seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, in seed_unwind_frame_info()
116 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core()
233 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, in show_stacktrace()
242 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack()
251 unsigned int get_wchan(struct task_struct *tsk) in get_wchan()
262 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/Linux-v5.10/arch/powerpc/mm/
Dmmu_context.c16 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
23 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
30 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
35 struct task_struct *tsk) in switch_mm_irqs_off()
/Linux-v5.10/kernel/
Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
119 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals()
147 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
162 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
171 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
Dfork.c161 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
173 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
214 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
272 static inline void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
301 static unsigned long *alloc_thread_stack_node(struct task_struct *tsk, in alloc_thread_stack_node()
311 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
377 static void account_kernel_stack(struct task_struct *tsk, int account) in account_kernel_stack()
392 static int memcg_charge_kernel_stack(struct task_struct *tsk) in memcg_charge_kernel_stack()
421 static void release_task_stack(struct task_struct *tsk) in release_task_stack()
435 void put_task_stack(struct task_struct *tsk) in put_task_stack()
[all …]
/Linux-v5.10/arch/powerpc/include/asm/
Dcputime.h47 #define get_accounting(tsk) (&get_paca()->accounting) argument
48 #define raw_get_accounting(tsk) (&local_paca->accounting) argument
49 static inline void arch_vtime_task_switch(struct task_struct *tsk) { } in arch_vtime_task_switch()
52 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting) argument
53 #define raw_get_accounting(tsk) get_accounting(tsk) argument

12345678910>>...15