Home
last modified time | relevance | path

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

12345678910>>...30

/kernel/linux/linux-4.19/include/linux/
Dvtime.h66 static inline void vtime_account_system(struct task_struct *tsk) { } in vtime_account_system()
77 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
78 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
79 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
80 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
81 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
86 static inline void vtime_account_irq_exit(struct task_struct *tsk) in vtime_account_irq_exit()
93 static inline void vtime_account_irq_enter(struct task_struct *tsk) { } in vtime_account_irq_enter()
94 static inline void vtime_account_irq_exit(struct task_struct *tsk) { } in vtime_account_irq_exit()
95 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush()
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/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
45 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
55 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
62 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/kernel/linux/linux-4.19/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
169 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
198 struct task_struct *tsk) in switch_mm()
203 #define deactivate_mm(tsk, mm) do { } while (0) argument
217 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
283 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
293 #define deactivate_mm(tsk,mm) do { } while (0) argument
[all …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-4.19/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()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-4.19/arch/sh/kernel/cpu/sh4/
Dfpu.c44 void save_fpu(struct task_struct *tsk) in save_fpu()
94 void restore_fpu(struct task_struct *tsk) in restore_fpu()
231 struct task_struct *tsk = current; in ieee_fpe_handler() local
244 struct task_struct *tsk = current; in ieee_fpe_handler() local
282 struct task_struct *tsk = current; in ieee_fpe_handler() local
326 struct task_struct *tsk = current; in ieee_fpe_handler() local
366 struct task_struct *tsk = current; in ieee_fpe_handler() local
399 struct task_struct *tsk = current; in float_rounding_mode() local
406 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/kernel/linux/linux-5.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
/kernel/linux/linux-4.19/arch/powerpc/kernel/
Dprocess.c89 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required()
106 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required()
158 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu()
172 void giveup_fpu(struct task_struct *tsk) in giveup_fpu()
186 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread()
239 static int restore_fp(struct task_struct *tsk) in restore_fp()
249 static int restore_fp(struct task_struct *tsk) { return 0; } in restore_fp()
255 static void __giveup_altivec(struct task_struct *tsk) in __giveup_altivec()
269 void giveup_altivec(struct task_struct *tsk) in giveup_altivec()
308 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread()
[all …]
/kernel/linux/linux-4.19/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
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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
/kernel/linux/linux-4.19/arch/arm/include/asm/
Dmmu_context.h33 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
54 struct task_struct *tsk) in check_and_switch_context()
99 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
120 enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
132 struct task_struct *tsk) in switch_mm()
155 #define deactivate_mm(tsk,mm) do { } while (0) argument
/kernel/linux/linux-5.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
/kernel/linux/linux-5.10/net/tipc/
Dsocket.c159 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
164 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
169 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
174 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
179 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
184 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
189 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
194 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
212 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
235 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
[all …]
/kernel/linux/linux-4.19/net/tipc/
Dsocket.c147 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
152 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
157 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
162 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
167 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
172 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
177 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
182 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
187 static int tsk_set_importance(struct tipc_sock *tsk, int imp) in tsk_set_importance()
200 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
[all …]
/kernel/linux/linux-5.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
/kernel/linux/linux-4.19/arch/powerpc/mm/
Dmmu_context.c20 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
27 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
34 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
39 struct task_struct *tsk) in switch_mm_irqs_off()

12345678910>>...30