Home
last modified time | relevance | path

Searched defs:tsk (Results 101 – 125 of 382) sorted by relevance

12345678910>>...16

/linux/arch/m68k/include/asm/
H A Dprocessor.h152 #define KSTK_EIP(tsk) \ argument
159 #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) argument
161 #define task_pt_regs(tsk) ((struct pt_regs *) ((tsk)->thread.esp0)) argument
/linux/arch/parisc/include/asm/
H A Dsyscall.h14 static inline long syscall_get_nr(struct task_struct *tsk, in syscall_get_nr()
20 static inline void syscall_get_arguments(struct task_struct *tsk, in syscall_get_arguments()
/linux/arch/arm64/include/asm/
H A Dprocessor.h69 #define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_32BIT) ? \ argument
351 #define KSTK_EIP(tsk) ((unsigned long)task_pt_regs(tsk)->pc) argument
352 #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk)) argument
390 #define PAC_RESET_KEYS(tsk, arg) ptrauth_prctl_reset_keys(tsk, arg) argument
393 #define PAC_SET_ENABLED_KEYS(tsk, keys, enabled) \ argument
395 #define PAC_GET_ENABLED_KEYS(tsk) ptrauth_get_enabled_keys(tsk) argument
H A Dstacktrace.h42 static inline struct stack_info stackinfo_get_task(const struct task_struct *tsk) in stackinfo_get_task()
53 static inline bool on_task_stack(const struct task_struct *tsk, in on_task_stack()
/linux/arch/powerpc/kernel/
H A Dtime.c243 void vtime_account_kernel(struct task_struct *tsk) in vtime_account_kernel()
264 void vtime_account_idle(struct task_struct *tsk) in vtime_account_idle()
285 void vtime_account_softirq(struct task_struct *tsk) in vtime_account_softirq()
291 void vtime_account_hardirq(struct task_struct *tsk) in vtime_account_hardirq()
297 static void vtime_flush_scaled(struct task_struct *tsk, in vtime_flush_scaled()
319 void vtime_flush(struct task_struct *tsk) in vtime_flush()
/linux/arch/x86/mm/
H A Dfault.c596 struct task_struct *tsk; in pgtable_bad() local
633 struct task_struct *tsk = current; in set_signal_archinfo() local
747 unsigned long address, struct task_struct *tsk) in show_signal_msg()
782 struct task_struct *tsk = current; in __bad_area_nosemaphore() local
934 struct task_struct *tsk = current; in do_sigbus() local
1216 struct task_struct *tsk; in do_user_addr_fault() local
/linux/kernel/
H A Ddelayacct.c87 void __delayacct_tsk_init(struct task_struct *tsk) in __delayacct_tsk_init()
128 int delayacct_add_tsk(struct taskstats *d, struct task_struct *tsk) in delayacct_add_tsk()
195 __u64 __delayacct_blkio_ticks(struct task_struct *tsk) in __delayacct_blkio_ticks()
/linux/arch/arc/include/asm/
H A Dmmu_context.h108 init_new_context(struct task_struct *tsk, struct mm_struct *mm) in init_new_context()
133 struct task_struct *tsk) in switch_mm()
/linux/arch/loongarch/include/asm/
H A Dlbt.h70 static inline void lose_lbt_inatomic(int save, struct task_struct *tsk) in lose_lbt_inatomic()
96 static inline void lose_lbt_inatomic(int save, struct task_struct *tsk) {} in lose_lbt_inatomic()
/linux/arch/arc/kernel/
H A Dtroubleshoot.c54 static void print_task_path_n_nm(struct task_struct *tsk) in print_task_path_n_nm()
172 struct task_struct *tsk = current; in show_regs() local
/linux/include/linux/
H A Dseccomp.h78 static inline void seccomp_filter_release(struct task_struct *tsk) in seccomp_filter_release()
82 static inline void get_seccomp_filter(struct task_struct *tsk) in get_seccomp_filter()
H A Diocontext.h122 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io()
132 static inline int copy_io(unsigned long clone_flags, struct task_struct *tsk) in copy_io()
/linux/arch/microblaze/include/asm/
H A Dprocessor.h23 #define task_pt_regs(tsk) \ argument
75 # define task_pt_regs_plus_args(tsk) \ argument
/linux/arch/x86/include/asm/
H A Dmmu_context.h141 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
182 #define deactivate_mm(tsk, mm) \ argument
187 #define deactivate_mm(tsk, mm) \ argument
/linux/arch/sh/include/asm/
H A Dprocessor_32.h168 #define thread_saved_pc(tsk) (tsk->thread.pc) argument
183 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) argument
184 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->regs[15]) argument
/linux/arch/x86/kernel/fpu/
H A Dsignal.c69 static inline bool save_fsave_header(struct task_struct *tsk, void __user *buf) in save_fsave_header()
190 struct task_struct *tsk = current; in copy_fpstate_to_sigframe() local
338 struct task_struct *tsk = current; in __fpu_restore_sig() local
/linux/arch/xtensa/include/asm/
H A Dmmu_context.h115 static inline int init_new_context(struct task_struct *tsk, in init_new_context()
127 struct task_struct *tsk) in switch_mm()
/linux/arch/powerpc/include/asm/
H A Dmmu_context.h59 struct task_struct *tsk) in switch_mmu_context()
230 struct task_struct *tsk) in switch_mm()
254 struct task_struct *tsk) in enter_lazy_tlb()
/linux/arch/arm/include/asm/
H A Dprocessor.h89 #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc argument
90 #define KSTK_ESP(tsk) task_pt_regs(tsk)->ARM_sp argument
/linux/io_uring/
H A Dio-wq.h71 static inline void io_wq_worker_sleeping(struct task_struct *tsk) in io_wq_worker_sleeping()
74 static inline void io_wq_worker_running(struct task_struct *tsk) in io_wq_worker_running()
/linux/arch/s390/mm/
H A Dpfault.c119 struct task_struct *tsk; in pfault_interrupt() local
213 struct task_struct *tsk; in pfault_cpu_dead() local
/linux/arch/x86/kernel/
H A Dptrace.c527 ptrace_register_breakpoint(struct task_struct *tsk, int len, int type, in ptrace_register_breakpoint()
560 static int ptrace_write_dr7(struct task_struct *tsk, unsigned long data) in ptrace_write_dr7()
611 static unsigned long ptrace_get_debugreg(struct task_struct *tsk, int n) in ptrace_get_debugreg()
630 static int ptrace_set_breakpoint_addr(struct task_struct *tsk, int nr, in ptrace_set_breakpoint_addr()
669 static int ptrace_set_debugreg(struct task_struct *tsk, int n, in ptrace_set_debugreg()
1410 struct task_struct *tsk = current; in send_sigtrap() local
/linux/kernel/sched/
H A Dcpuacct.c37 static inline struct cpuacct *task_ca(struct task_struct *tsk) in task_ca()
334 void cpuacct_charge(struct task_struct *tsk, u64 cputime) in cpuacct_charge()
350 void cpuacct_account_field(struct task_struct *tsk, int index, u64 val) in cpuacct_account_field()
/linux/arch/sh/kernel/
H A Dsignal_32.c79 struct task_struct *tsk = current; in restore_sigcontext_fpu() local
92 struct task_struct *tsk = current; in save_sigcontext_fpu() local
139 struct task_struct *tsk = current; in restore_sigcontext() local
/linux/mm/
H A Dmemory-failure.c330 struct task_struct *tsk; member
440 static void __add_to_kill(struct task_struct *tsk, struct page *p, in __add_to_kill()
481 static void add_to_kill_anon_file(struct task_struct *tsk, struct page *p, in add_to_kill_anon_file()
492 struct task_struct *tsk) in task_in_to_kill_list()
504 void add_to_kill_ksm(struct task_struct *tsk, struct page *p, in add_to_kill_ksm()
563 static struct task_struct *find_early_kill_thread(struct task_struct *tsk) in find_early_kill_thread()
591 struct task_struct *task_early_kill(struct task_struct *tsk, int force_early) in task_early_kill()
611 struct task_struct *tsk; in collect_procs_anon() local
649 struct task_struct *tsk; in collect_procs_file() local
682 static void add_to_kill_fsdax(struct task_struct *tsk, struct page *p, in add_to_kill_fsdax()
[all …]

12345678910>>...16