/linux-master/include/linux/ |
H A D | pid_namespace.h | 117 extern struct pid_namespace *task_active_pid_ns(struct task_struct *tsk); 121 static inline bool task_is_in_init_pid_ns(struct task_struct *tsk) argument 123 return task_active_pid_ns(tsk) == &init_pid_ns;
|
H A D | hw_breakpoint.h | 61 struct task_struct *tsk); 94 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk); 109 struct task_struct *tsk) { return NULL; } 137 static inline void flush_ptrace_hw_breakpoint(struct task_struct *tsk) { } argument 106 register_user_hw_breakpoint(struct perf_event_attr *attr, perf_overflow_handler_t triggered, void *context, struct task_struct *tsk) argument
|
H A D | oom.h | 75 static inline bool tsk_is_oom_victim(struct task_struct * tsk) argument 77 return tsk->signal->oom_mm;
|
/linux-master/arch/powerpc/include/asm/ |
H A D | hw_breakpoint.h | 88 extern void flush_ptrace_hw_breakpoint(struct task_struct *tsk); 104 extern void thread_change_pc(struct task_struct *tsk, struct pt_regs *regs); 109 static inline void thread_change_pc(struct task_struct *tsk, argument
|
H A D | mmu_context.h | 18 extern int init_new_context(struct task_struct *tsk, struct mm_struct *mm); 52 extern void switch_slb(struct task_struct *tsk, struct mm_struct *mm); 59 struct task_struct *tsk) 63 return switch_slb(tsk, next); 101 struct task_struct *tsk); 227 struct task_struct *tsk); 230 struct task_struct *tsk) 235 switch_mm_irqs_off(prev, next, tsk); 254 struct task_struct *tsk) 57 switch_mmu_context(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/linux-master/arch/parisc/mm/ |
H A D | fault.c | 243 unsigned long address, struct task_struct *tsk, 246 if (!unhandled_signal(tsk, SIGSEGV)) 254 tsk->comm, code, address); 271 struct task_struct *tsk; local 278 tsk = current; 279 mm = tsk->mm; 405 tsk->comm, tsk->pid, address); 421 show_signal_msg(regs, code, address, tsk, vma); 458 struct task_struct *tsk; local 242 show_signal_msg(struct pt_regs *regs, unsigned long code, unsigned long address, struct task_struct *tsk, struct vm_area_struct *vma) argument [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | processor.h | 69 #define TASK_SIZE_OF(tsk) (test_tsk_thread_flag(tsk, TIF_32BIT) ? \ 351 #define KSTK_EIP(tsk) ((unsigned long)task_pt_regs(tsk)->pc) 352 #define KSTK_ESP(tsk) user_stack_pointer(task_pt_regs(tsk)) 390 #define PAC_RESET_KEYS(tsk, arg) ptrauth_prctl_reset_keys(tsk, arg) 393 #define PAC_SET_ENABLED_KEYS(tsk, keys, enabled) \ 394 ptrauth_set_enabled_keys(tsk, key [all...] |
/linux-master/arch/sparc/include/asm/ |
H A D | uprobes.h | 43 extern bool arch_uprobe_xol_was_trapped(struct task_struct *tsk);
|
H A D | thread_info_32.h | 57 #define INIT_THREAD_INFO(tsk) \ 60 .task = &tsk, \
|
/linux-master/arch/arc/include/asm/ |
H A D | unwind.h | 64 #define STACK_BOTTOM_UNW(tsk) STACK_LIMIT((tsk)->thread.ksp) 65 #define STACK_TOP_UNW(tsk) ((tsk)->thread.ksp)
|
/linux-master/arch/riscv/include/asm/ |
H A D | mmu_context.h | 27 static inline int init_new_context(struct task_struct *tsk, argument
|
/linux-master/arch/x86/include/asm/fpu/ |
H A D | signal.h | 22 struct task_struct *tsk);
|
/linux-master/arch/arm/include/asm/ |
H A D | unwind.h | 40 extern void unwind_backtrace(struct pt_regs *regs, struct task_struct *tsk,
|
/linux-master/arch/m68k/include/asm/ |
H A D | mmu_context.h | 52 #define init_new_context(tsk, mm) (((mm)->context = NO_CONTEXT), 0) 73 struct task_struct *tsk) 75 get_mmu_context(tsk->mm); 76 set_context(tsk->mm->context, next->pgd); 178 static inline int init_new_context(struct task_struct *tsk, argument 208 struct task_struct *tsk) 210 activate_context(tsk->mm); 227 static inline int init_new_context(struct task_struct *tsk, argument 291 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument 72 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument 207 switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *tsk) argument
|
/linux-master/arch/sh/include/asm/ |
H A D | processor.h | 118 #define GET_UNALIGN_CTL(tsk, addr) get_unalign_ctl((tsk), (addr)) 119 #define SET_UNALIGN_CTL(tsk, val) set_unalign_ctl((tsk), (val))
|
/linux-master/arch/s390/include/asm/ |
H A D | processor.h | 237 void guarded_storage_release(struct task_struct *tsk); 241 #define task_pt_regs(tsk) ((struct pt_regs *) \ 242 (task_stack_page(tsk) + THREAD_SIZE) - 1) 243 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->psw.addr) 244 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->gprs[15]) 247 #define is_ri_task(tsk) (!!(tsk)->thread.ri_cb)
|
/linux-master/drivers/dma-buf/ |
H A D | st-dma-fence-chain.c | 574 struct task_struct *tsk; local 582 tsk = kthread_run(__wait_fence_chains, &fc, "dmabuf/wait"); 583 if (IS_ERR(tsk)) { 584 err = PTR_ERR(tsk); 587 get_task_struct(tsk); 588 yield_to(tsk, true); 593 err = kthread_stop_put(tsk); 603 struct task_struct *tsk; local 611 tsk = kthread_run(__wait_fence_chains, &fc, "dmabuf/wait"); 612 if (IS_ERR(tsk)) { 648 struct task_struct *tsk; local [all...] |
/linux-master/arch/parisc/include/asm/ |
H A D | syscall.h | 14 static inline long syscall_get_nr(struct task_struct *tsk, argument 20 static inline void syscall_get_arguments(struct task_struct *tsk, argument
|
/linux-master/arch/sh/kernel/ |
H A D | stacktrace.c | 73 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) argument 75 unsigned long *sp = (unsigned long *)tsk->thread.sp;
|
/linux-master/net/tipc/ |
H A D | socket.h | 65 struct tipc_sock *tsk, u32 sk_filter_state, 70 struct tipc_sock *tsk));
|
/linux-master/arch/x86/kernel/ |
H A D | umip.c | 121 struct task_struct *tsk = current; local 131 printk("%s" pr_fmt("%s[%d] ip:%lx sp:%lx: %pV"), log_level, tsk->comm, 132 task_pid_nr(tsk), regs->ip, regs->sp, &vaf); 303 struct task_struct *tsk = current; local 305 tsk->thread.cr2 = (unsigned long)addr; 306 tsk->thread.error_code = X86_PF_USER | X86_PF_WRITE; 307 tsk->thread.trap_nr = X86_TRAP_PF; 311 if (!(show_unhandled_signals && unhandled_signal(tsk, SIGSEGV)))
|
/linux-master/arch/microblaze/include/asm/ |
H A D | thread_info.h | 72 #define INIT_THREAD_INFO(tsk) \ 74 .task = &tsk, \
|
/linux-master/arch/xtensa/include/asm/ |
H A D | thread_info.h | 85 #define INIT_THREAD_INFO(tsk) \ 87 .task = &tsk, \
|
H A D | ptrace.h | 85 # define task_pt_regs(tsk) ((struct pt_regs*) \ 86 (task_stack_page(tsk) + KERNEL_STACK_SIZE) - 1)
|
/linux-master/io_uring/ |
H A D | io-wq.h | 71 static inline void io_wq_worker_sleeping(struct task_struct *tsk) argument 74 static inline void io_wq_worker_running(struct task_struct *tsk) argument
|