Home
last modified time | relevance | path

Searched defs:tsk (Results 26 – 50 of 382) sorted by relevance

12345678910>>...16

/linux/arch/x86/include/asm/
H A Dresctrl.h96 static inline void __resctrl_sched_in(struct task_struct *tsk) in __resctrl_sched_in()
135 static inline void resctrl_arch_set_closid_rmid(struct task_struct *tsk, in resctrl_arch_set_closid_rmid()
142 static inline bool resctrl_arch_match_closid(struct task_struct *tsk, u32 closid) in resctrl_arch_match_closid()
147 static inline bool resctrl_arch_match_rmid(struct task_struct *tsk, u32 ignored, in resctrl_arch_match_rmid()
153 static inline void resctrl_sched_in(struct task_struct *tsk) in resctrl_sched_in()
191 static inline void resctrl_sched_in(struct task_struct *tsk) {} in resctrl_sched_in()
/linux/arch/loongarch/include/asm/
H A Dprocessor.h39 #define TASK_SIZE_OF(tsk) \ argument
145 #define thread_saved_ra(tsk) (tsk->thread.sched_ra) argument
146 #define thread_saved_fp(tsk) (tsk->thread.sched_cfa) argument
201 #define __KSTK_TOS(tsk) ((unsigned long)task_stack_page(tsk) + \ argument
203 #define task_pt_regs(tsk) ((struct pt_regs *)__KSTK_TOS(tsk)) argument
204 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->csr_era) argument
205 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[3]) argument
206 #define KSTK_EUEN(tsk) (task_pt_regs(tsk)->csr_euen) argument
207 #define KSTK_ECFG(tsk) (task_pt_regs(tsk)->csr_ecfg) argument
H A Dmmu_context.h46 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
67 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
78 struct task_struct *tsk) in switch_mm_irqs_off()
103 struct task_struct *tsk) in switch_mm()
/linux/arch/s390/include/asm/
H A Dmmu_context.h19 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
74 struct task_struct *tsk) in switch_mm_irqs_off()
91 struct task_struct *tsk) in switch_mm()
103 struct task_struct *tsk = current; in finish_arch_post_lock_switch() local
H A Dvdso.h14 #define VDSO64_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso64_offset_##name)) argument
16 #define VDSO32_SYMBOL(tsk, name) ((tsk)->mm->context.vdso_base + (vdso32_offset_##name)) argument
18 #define VDSO32_SYMBOL(tsk, name) (-1UL) argument
/linux/arch/powerpc/include/asm/
H A Dcputime.h33 #define get_accounting(tsk) (&get_paca()->accounting) argument
34 #define raw_get_accounting(tsk) (&local_paca->accounting) argument
37 #define get_accounting(tsk) (&task_thread_info(tsk)->accounting) argument
38 #define raw_get_accounting(tsk) get_accounting(tsk) argument
/linux/arch/m68k/include/asm/
H A Dmmu_context.h52 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) argument
73 struct task_struct *tsk) in switch_mm()
178 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
208 struct task_struct *tsk) in switch_mm()
227 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
291 …atic inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) in switch_mm()
/linux/arch/arm/include/asm/
H A Dmmu_context.h42 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
63 struct task_struct *tsk) in check_and_switch_context()
118 struct task_struct *tsk) in switch_mm()
142 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) in enter_lazy_tlb()
/linux/include/linux/
H A Dfutex.h62 static inline void futex_init_task(struct task_struct *tsk) in futex_init_task()
81 static inline void futex_init_task(struct task_struct *tsk) { } in futex_init_task()
82 static inline void futex_exit_recursive(struct task_struct *tsk) { } in futex_exit_recursive()
83 static inline void futex_exit_release(struct task_struct *tsk) { } in futex_exit_release()
84 static inline void futex_exec_release(struct task_struct *tsk) { } in futex_exec_release()
H A Ddelayacct.h89 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
100 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
125 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
234 static inline void delayacct_tsk_init(struct task_struct *tsk) in delayacct_tsk_init()
236 static inline void delayacct_tsk_free(struct task_struct *tsk) in delayacct_tsk_free()
243 struct task_struct *tsk) in delayacct_add_tsk()
245 static inline __u64 delayacct_blkio_ticks(struct task_struct *tsk) in delayacct_blkio_ticks()
/linux/kernel/sched/
H A Dcputime.c669 static void vtime_account_system(struct task_struct *tsk, in vtime_account_system()
679 static void vtime_account_guest(struct task_struct *tsk, in vtime_account_guest()
689 static void __vtime_account_kernel(struct task_struct *tsk, in __vtime_account_kernel()
699 void vtime_account_kernel(struct task_struct *tsk) in vtime_account_kernel()
711 void vtime_user_enter(struct task_struct *tsk) in vtime_user_enter()
721 void vtime_user_exit(struct task_struct *tsk) in vtime_user_exit()
735 void vtime_guest_enter(struct task_struct *tsk) in vtime_guest_enter()
753 void vtime_guest_exit(struct task_struct *tsk) in vtime_guest_exit()
765 void vtime_account_idle(struct task_struct *tsk) in vtime_account_idle()
913 struct task_struct *tsk, in kcpustat_field_vtime()
[all …]
/linux/arch/mips/include/asm/
H A Dfpu.h164 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic()
227 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()
289 static inline void lose_fpu_inatomic(int save, struct task_struct *tsk) in lose_fpu_inatomic()
/linux/arch/sh/kernel/cpu/
H A Dfpu.c11 int init_fpu(struct task_struct *tsk) in init_fpu()
46 struct task_struct *tsk = current; in __fpu_state_restore() local
56 struct task_struct *tsk = current; in fpu_state_restore() local
/linux/arch/x86/um/asm/
H A Dprocessor.h15 #define KSTK_EIP(tsk) KSTK_REG(tsk, HOST_IP) argument
16 #define KSTK_ESP(tsk) KSTK_REG(tsk, HOST_SP) argument
17 #define KSTK_EBP(tsk) KSTK_REG(tsk, HOST_BP) argument
/linux/include/asm-generic/
H A Dmmu_context.h22 struct task_struct *tsk) in enter_lazy_tlb()
34 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
70 static inline void deactivate_mm(struct task_struct *tsk, in deactivate_mm()
/linux/drivers/dma/bestcomm/
H A Dfec.c83 struct bcom_task *tsk; in bcom_fec_rx_init() local
107 bcom_fec_rx_reset(struct bcom_task *tsk) in bcom_fec_rx_reset()
154 bcom_fec_rx_release(struct bcom_task *tsk) in bcom_fec_rx_release()
185 struct bcom_task *tsk; in bcom_fec_tx_init() local
208 bcom_fec_tx_reset(struct bcom_task *tsk) in bcom_fec_tx_reset()
255 bcom_fec_tx_release(struct bcom_task *tsk) in bcom_fec_tx_release()
H A Dgen_bd.c88 struct bcom_task *tsk; in bcom_gen_bd_rx_init() local
114 bcom_gen_bd_rx_reset(struct bcom_task *tsk) in bcom_gen_bd_rx_reset()
161 bcom_gen_bd_rx_release(struct bcom_task *tsk) in bcom_gen_bd_rx_release()
173 struct bcom_task *tsk; in bcom_gen_bd_tx_init() local
198 bcom_gen_bd_tx_reset(struct bcom_task *tsk) in bcom_gen_bd_tx_reset()
245 bcom_gen_bd_tx_release(struct bcom_task *tsk) in bcom_gen_bd_tx_release()
/linux/arch/arm64/kernel/
H A Dpointer_auth.c11 int ptrauth_prctl_reset_keys(struct task_struct *tsk, unsigned long arg) in ptrauth_prctl_reset_keys()
67 int ptrauth_set_enabled_keys(struct task_struct *tsk, unsigned long keys, in ptrauth_set_enabled_keys()
93 int ptrauth_get_enabled_keys(struct task_struct *tsk) in ptrauth_get_enabled_keys()
/linux/arch/sparc/include/asm/
H A Dprocessor_64.h30 #define TASK_SIZE_OF(tsk) \ argument
181 #define task_pt_regs(tsk) (task_thread_info(tsk)->kregs) argument
182 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->tpc) argument
183 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->u_regs[UREG_FP]) argument
/linux/arch/riscv/include/asm/
H A Dprocessor.h147 #define task_pt_regs(tsk) \ argument
151 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->epc) argument
152 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
190 #define GET_UNALIGN_CTL(tsk, addr) get_unalign_ctl((tsk), (addr)) argument
191 #define SET_UNALIGN_CTL(tsk, val) set_unalign_ctl((tsk), (val)) argument
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_overhead.c13 int BPF_KPROBE(prog1, struct task_struct *tsk, const char *buf, bool exec) in BPF_KPROBE()
31 int BPF_PROG(prog4, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG()
37 int BPF_PROG(prog5, struct task_struct *tsk, const char *buf, bool exec) in BPF_PROG()
/linux/arch/arm/kernel/
H A Dptrace.c250 static int ptrace_read_user(struct task_struct *tsk, unsigned long off, in ptrace_read_user()
277 static int ptrace_write_user(struct task_struct *tsk, unsigned long off, in ptrace_write_user()
294 static int ptrace_getwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_getwmmxregs()
308 static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_setwmmxregs()
372 void clear_ptrace_hw_breakpoint(struct task_struct *tsk) in clear_ptrace_hw_breakpoint()
381 void flush_ptrace_hw_breakpoint(struct task_struct *tsk) in flush_ptrace_hw_breakpoint()
415 static struct perf_event *ptrace_hbp_create(struct task_struct *tsk, int type) in ptrace_hbp_create()
431 static int ptrace_gethbpregs(struct task_struct *tsk, long num, in ptrace_gethbpregs()
477 static int ptrace_sethbpregs(struct task_struct *tsk, long num, in ptrace_sethbpregs()
/linux/arch/sh/kernel/cpu/sh2a/
H A Dfpu.c27 void save_fpu(struct task_struct *tsk) in save_fpu()
60 void restore_fpu(struct task_struct *tsk) in restore_fpu()
454 struct task_struct *tsk = current; in ieee_fpe_handler() local
466 struct task_struct *tsk = current; in ieee_fpe_handler() local
509 struct task_struct *tsk = current; in ieee_fpe_handler() local
558 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/linux/arch/um/kernel/
H A Dstacktrace.c16 void dump_trace(struct task_struct *tsk, in dump_trace()
60 static void __save_stack_trace(struct task_struct *tsk, struct stack_trace *trace) in __save_stack_trace()
71 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux/arch/parisc/include/asm/
H A Dmmu_context.h19 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
51 struct mm_struct *next, struct task_struct *tsk) in switch_mm_irqs_off()
66 struct mm_struct *next, struct task_struct *tsk) in switch_mm()

12345678910>>...16