Home
last modified time | relevance | path

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

12345678910>>...16

/linux-6.1.9/include/linux/
Dvtime.h28 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
29 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
30 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
31 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
32 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
41 static inline void vtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in vtime_account_irq()
42 static inline void vtime_account_softirq(struct task_struct *tsk) { } in vtime_account_softirq()
43 static inline void vtime_account_hardirq(struct task_struct *tsk) { } in vtime_account_hardirq()
44 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush()
135 static inline void irqtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in irqtime_account_irq()
[all …]
Dscs.h25 #define task_scs(tsk) (task_thread_info(tsk)->scs_base) argument
26 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp) argument
34 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset()
48 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted()
61 static inline void scs_task_reset(struct task_struct *tsk) {} in scs_task_reset()
62 static inline int scs_prepare(struct task_struct *tsk, int node) { return 0; } in scs_prepare()
63 static inline void scs_release(struct task_struct *tsk) {} in scs_release()
64 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()
/linux-6.1.9/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.h80 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
112 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
128 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time()
149 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time()
170 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/net/tipc/
Dsocket.c169 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
174 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
179 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
184 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
189 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
194 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
199 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
204 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
222 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
245 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
[all …]
/linux-6.1.9/arch/arm64/include/asm/
Dpointer_auth.h128 #define ptrauth_thread_switch_user(tsk) \ argument
133 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument
134 #define ptrauth_set_enabled_keys(tsk, keys, enabled) (-EINVAL) argument
135 #define ptrauth_get_enabled_keys(tsk) (-EINVAL) argument
139 #define ptrauth_thread_switch_user(tsk) argument
143 #define ptrauth_thread_init_kernel(tsk) \ argument
145 #define ptrauth_thread_switch_kernel(tsk) \ argument
148 #define ptrauth_thread_init_kernel(tsk) argument
149 #define ptrauth_thread_switch_kernel(tsk) argument
Dmmu_context.h189 #define init_new_context(tsk, mm) init_new_context(tsk, mm) argument
191 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
199 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0()
215 static inline void update_saved_ttbr0(struct task_struct *tsk, in update_saved_ttbr0()
223 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
248 struct task_struct *tsk) in switch_mm()
/linux-6.1.9/arch/powerpc/kernel/
Dprocess.c85 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required()
103 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required()
153 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu()
165 void giveup_fpu(struct task_struct *tsk) in giveup_fpu()
179 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread()
232 static inline void __giveup_fpu(struct task_struct *tsk) { } in __giveup_fpu()
236 static void __giveup_altivec(struct task_struct *tsk) in __giveup_altivec()
248 void giveup_altivec(struct task_struct *tsk) in giveup_altivec()
287 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread()
302 static void __giveup_vsx(struct task_struct *tsk) in __giveup_vsx()
[all …]
Dsignal_64.c87 static void prepare_setup_sigcontext(struct task_struct *tsk) in prepare_setup_sigcontext()
109 #define unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region, label)\ argument
115 struct task_struct *tsk, int signr, sigset_t *set, in __unsafe_setup_sigcontext()
208 struct task_struct *tsk, in setup_tm_sigcontexts()
333 #define unsafe_restore_sigcontext(tsk, set, sig, sc, label) do { \ argument
337 static long notrace __unsafe_restore_sigcontext(struct task_struct *tsk, sigset_t *set, in __unsafe_restore_sigcontext()
437 static long restore_tm_sigcontexts(struct task_struct *tsk, in restore_tm_sigcontexts()
614 static long restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, in restore_tm_sigcontexts()
858 struct task_struct *tsk) in handle_rt_signal64()
/linux-6.1.9/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-6.1.9/arch/arc/include/asm/
Dprocessor.h52 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument
53 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
59 #define TSK_K_ESP(tsk) (tsk->thread.ksp) argument
61 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument
64 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument
65 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
/linux-6.1.9/kernel/
Dfork.c162 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
174 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
223 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
274 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
335 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
351 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
358 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
370 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
386 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
393 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()
/linux-6.1.9/kernel/time/
Dposix-cpu-timers.c78 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock() local
274 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime()
296 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime()
327 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime()
362 struct task_struct *tsk; in posix_cpu_clock_get() local
418 struct task_struct *tsk) in timer_base()
435 struct task_struct *tsk) in trigger_base_recalc_expires()
544 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit()
548 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group()
869 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun()
[all …]
/linux-6.1.9/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-6.1.9/arch/ia64/include/asm/
Dthread_info.h45 #define INIT_THREAD_INFO(tsk) \ argument
56 #define arch_alloc_thread_stack_node(tsk, node) \ argument
58 #define task_thread_info(tsk) ((struct thread_info *) ((char *) (tsk) + IA64_TASK_SIZE)) argument
61 #define arch_alloc_thread_stack_node(tsk, node) ((unsigned long *) 0) argument
62 #define task_thread_info(tsk) ((struct thread_info *) 0) argument
64 #define arch_free_thread_stack(tsk) /* nothing */ argument
65 #define task_stack_page(tsk) ((void *)(tsk)) argument
89 #define free_task_struct(tsk) free_pages((unsigned long) (tsk), KERNEL_STACK_SIZE_ORDER) argument
/linux-6.1.9/arch/powerpc/mm/
Dmmu_context.c16 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
29 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
39 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
44 struct task_struct *tsk) in switch_mm_irqs_off()
/linux-6.1.9/drivers/dma/bestcomm/
Data.c56 struct bcom_task *tsk; in bcom_ata_init() local
99 void bcom_ata_rx_prepare(struct bcom_task *tsk) in bcom_ata_rx_prepare()
113 void bcom_ata_tx_prepare(struct bcom_task *tsk) in bcom_ata_tx_prepare()
127 void bcom_ata_reset_bd(struct bcom_task *tsk) in bcom_ata_reset_bd()
142 void bcom_ata_release(struct bcom_task *tsk) in bcom_ata_release()
/linux-6.1.9/arch/loongarch/include/asm/
Dprocessor.h38 #define TASK_SIZE_OF(tsk) \ argument
136 #define thread_saved_ra(tsk) (tsk->thread.sched_ra) argument
137 #define thread_saved_fp(tsk) (tsk->thread.sched_cfa) argument
193 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \ argument
195 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) argument
196 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->csr_era) argument
197 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[3]) argument
198 #define KSTK_EUEN(tsk) (task_pt_regs(tsk)->csr_euen) argument
199 #define KSTK_ECFG(tsk) (task_pt_regs(tsk)->csr_ecfg) argument
/linux-6.1.9/arch/powerpc/include/asm/
Dcputime.h48 #define get_accounting(tsk) (&get_paca()->accounting) argument
49 #define raw_get_accounting(tsk) (&local_paca->accounting) argument
50 static inline void arch_vtime_task_switch(struct task_struct *tsk) { } in arch_vtime_task_switch()
53 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting) argument
54 #define raw_get_accounting(tsk) get_accounting(tsk) argument

12345678910>>...16