Home
last modified time | relevance | path

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

12345678910>>...31

/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-6.6/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()
77 static inline void scs_task_reset(struct task_struct *tsk) {} in scs_task_reset()
78 static inline int scs_prepare(struct task_struct *tsk, int node) { return 0; } in scs_prepare()
79 static inline void scs_release(struct task_struct *tsk) {} in scs_release()
80 static inline bool task_scs_end_corrupted(struct task_struct *tsk) { return false; } in task_scs_end_corrupted()
/kernel/linux/linux-6.6/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-6.6/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-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-6.6/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/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/uniproton/src/core/kernel/task/
Dprt_amp_task_internal.h20 #define OS_TSK_EN_QUE(runQue, tsk, flags) OsEnqueueTaskAmp((runQue), (tsk)) argument
21 #define OS_TSK_EN_QUE_HEAD(runQue, tsk, flags) OsEnqueueTaskHeadAmp((runQue), (tsk)) argument
22 #define OS_TSK_DE_QUE(runQue, tsk, flags) OsDequeueTaskAmp((runQue), (tsk)) argument
27 …NLINE INLINE struct TagListObject *OsGetReadyList(struct TagOsRunQue *runQue, struct TagTskCb *tsk) in OsGetReadyList()
53 OS_SEC_ALW_INLINE INLINE void OsEnqueueTaskAmp(struct TagOsRunQue *runQue, struct TagTskCb *tsk) in OsEnqueueTaskAmp()
62 OS_SEC_ALW_INLINE INLINE void OsEnqueueTaskHeadAmp(struct TagOsRunQue *runQue, struct TagTskCb *tsk) in OsEnqueueTaskHeadAmp()
71 OS_SEC_ALW_INLINE INLINE void OsDequeueTaskAmp(struct TagOsRunQue *runQue, struct TagTskCb *tsk) in OsDequeueTaskAmp()
/kernel/linux/linux-6.6/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-6.6/arch/arm64/include/asm/
Dpointer_auth.h130 #define ptrauth_thread_switch_user(tsk) \ argument
135 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument
136 #define ptrauth_set_enabled_keys(tsk, keys, enabled) (-EINVAL) argument
137 #define ptrauth_get_enabled_keys(tsk) (-EINVAL) argument
140 #define ptrauth_thread_switch_user(tsk) argument
144 #define ptrauth_thread_init_kernel(tsk) \ argument
146 #define ptrauth_thread_switch_kernel(tsk) \ argument
149 #define ptrauth_thread_init_kernel(tsk) argument
150 #define ptrauth_thread_switch_kernel(tsk) argument
/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-6.6/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/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/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-6.6/net/tipc/
Dsocket.c170 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node()
175 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node()
180 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port()
185 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable()
190 static void tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) in tsk_set_unreliable()
195 static bool tsk_unreturnable(struct tipc_sock *tsk) in tsk_unreturnable()
200 static void tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) in tsk_set_unreturnable()
205 static int tsk_importance(struct tipc_sock *tsk) in tsk_importance()
223 static bool tsk_conn_cong(struct tipc_sock *tsk) in tsk_conn_cong()
246 static u16 tsk_inc(struct tipc_sock *tsk, int msglen) in tsk_inc()
[all …]
/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-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-6.6/arch/arc/include/asm/
Dprocessor.h49 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument
50 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
56 #define TSK_K_ESP(tsk) (task_thread_info(tsk)->ksp) argument
58 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument
61 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument
62 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
/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

12345678910>>...31