/arch/um/include/shared/ |
H A D | sysrq.h | 5 extern void show_trace(struct task_struct* task, unsigned long *stack);
|
/arch/alpha/include/asm/ |
H A D | current.h | 6 #define get_current() (current_thread_info()->task)
|
H A D | thread_info.h | 16 struct task_struct *task; /* main task structure */ member in struct:thread_info 37 .task = &tsk, \ 102 #define SET_UNALIGN_CTL(task,value) ({ \ 103 task_thread_info(task)->flags = ((task_thread_info(task)->flags & \ 110 #define GET_UNALIGN_CTL(task,value) ({ \ 111 put_user((task_thread_info(task)->flags & (1 << TIF_UAC_NOPRINT))\ 113 | (task_thread_info(task)->flags & (1 << TIF_UAC_SIGBUS))\ 115 | (task_thread_info(task) [all...] |
/arch/powerpc/include/asm/ |
H A D | current.h | 20 struct task_struct *task; local 23 : "=r" (task) 26 return task;
|
H A D | syscall.h | 23 static inline long syscall_get_nr(struct task_struct *task, argument 29 static inline void syscall_rollback(struct task_struct *task, argument 35 static inline long syscall_get_error(struct task_struct *task, argument 41 static inline long syscall_get_return_value(struct task_struct *task, argument 47 static inline void syscall_set_return_value(struct task_struct *task, argument 60 static inline void syscall_get_arguments(struct task_struct *task, argument 67 if (test_tsk_thread_flag(task, TIF_32BIT)) { 80 static inline void syscall_set_arguments(struct task_struct *task, argument
|
/arch/ia64/include/asm/ |
H A D | syscall.h | 19 static inline long syscall_get_nr(struct task_struct *task, argument 28 static inline void syscall_rollback(struct task_struct *task, argument 34 static inline long syscall_get_error(struct task_struct *task, argument 40 static inline long syscall_get_return_value(struct task_struct *task, argument 46 static inline void syscall_set_return_value(struct task_struct *task, argument 60 extern void ia64_syscall_get_set_arguments(struct task_struct *task, 63 static inline void syscall_get_arguments(struct task_struct *task, argument 70 ia64_syscall_get_set_arguments(task, regs, i, n, args, 0); 73 static inline void syscall_set_arguments(struct task_struct *task, argument 80 ia64_syscall_get_set_arguments(task, reg [all...] |
/arch/parisc/kernel/ |
H A D | ptrace.c | 36 void ptrace_disable(struct task_struct *task) argument 38 clear_tsk_thread_flag(task, TIF_SINGLESTEP); 39 clear_tsk_thread_flag(task, TIF_BLOCKSTEP); 42 pa_psw(task)->r = 0; 43 pa_psw(task)->t = 0; 44 pa_psw(task)->h = 0; 45 pa_psw(task)->l = 0; 52 void user_disable_single_step(struct task_struct *task) argument 54 ptrace_disable(task); 57 void user_enable_single_step(struct task_struct *task) argument 100 user_enable_block_step(struct task_struct *task) argument [all...] |
/arch/microblaze/include/asm/ |
H A D | processor.h | 152 # define task_tos(task) ((unsigned long)(task) + KERNEL_STACK_SIZE) 153 # define task_regs(task) ((struct pt_regs *)task_tos(task) - 1) 158 # define task_sp(task) (task_regs(task)->r1) 159 # define task_pc(task) (task_regs(task)->pc) 161 # define KSTK_EIP(task) (task_pc(task)) [all...] |
/arch/arm/include/asm/ |
H A D | current.h | 10 return current_thread_info()->task;
|
/arch/avr32/include/asm/ |
H A D | current.h | 10 return current_thread_info()->task;
|
/arch/cris/include/asm/ |
H A D | current.h | 10 return current_thread_info()->task;
|
/arch/h8300/include/asm/ |
H A D | current.h | 20 return(current_thread_info()->task);
|
/arch/h8300/platform/h8s/ |
H A D | ptrace_h8s.c | 30 long h8300_get_reg(struct task_struct *task, int regno) argument 34 return task->thread.usp + sizeof(long)*2 + 2; 37 return *(unsigned short *)(task->thread.esp0 + h8300_register_offset[regno]); 39 return *(unsigned long *)(task->thread.esp0 + h8300_register_offset[regno]); 44 int h8300_put_reg(struct task_struct *task, int regno, unsigned long data) argument 49 task->thread.usp = data - sizeof(long)*2 - 2; 51 oldccr = *(unsigned short *)(task->thread.esp0 + h8300_register_offset[regno]); 55 *(unsigned short *)(task->thread.esp0 + h8300_register_offset[regno]) = data; 61 *(unsigned long *)(task->thread.esp0 + h8300_register_offset[regno]) = data;
|
/arch/m32r/include/asm/ |
H A D | current.h | 10 return current_thread_info()->task;
|
/arch/parisc/include/asm/ |
H A D | current.h | 10 return current_thread_info()->task;
|
/arch/s390/include/asm/ |
H A D | syscall.h | 26 static inline long syscall_get_nr(struct task_struct *task, argument 29 return test_tsk_thread_flag(task, TIF_SYSCALL) ? 33 static inline void syscall_rollback(struct task_struct *task, argument 39 static inline long syscall_get_error(struct task_struct *task, argument 45 static inline long syscall_get_return_value(struct task_struct *task, argument 51 static inline void syscall_set_return_value(struct task_struct *task, argument 58 static inline void syscall_get_arguments(struct task_struct *task, argument 67 if (test_tsk_thread_flag(task, TIF_31BIT)) 77 static inline void syscall_set_arguments(struct task_struct *task, argument
|
/arch/tile/include/asm/ |
H A D | current.h | 24 return current_thread_info()->task;
|
/arch/blackfin/include/asm/ |
H A D | syscall.h | 26 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) argument 32 syscall_rollback(struct task_struct *task, struct pt_regs *regs) argument 38 syscall_get_error(struct task_struct *task, struct pt_regs *regs) argument 44 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) argument 50 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, argument 58 * @task: unused 67 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, argument 85 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, argument
|
/arch/c6x/include/asm/ |
H A D | syscall.h | 17 static inline int syscall_get_nr(struct task_struct *task, argument 23 static inline void syscall_rollback(struct task_struct *task, argument 29 static inline long syscall_get_error(struct task_struct *task, argument 35 static inline long syscall_get_return_value(struct task_struct *task, argument 41 static inline void syscall_set_return_value(struct task_struct *task, argument 48 static inline void syscall_get_arguments(struct task_struct *task, argument 85 static inline void syscall_set_arguments(struct task_struct *task, argument
|
/arch/frv/include/asm/ |
H A D | syscall.h | 21 static inline long syscall_get_nr(struct task_struct *task, argument 31 static inline void syscall_rollback(struct task_struct *task, argument 41 static inline long syscall_get_error(struct task_struct *task, argument 50 static inline long syscall_get_return_value(struct task_struct *task, argument 59 static inline void syscall_set_return_value(struct task_struct *task, argument 72 static inline void syscall_get_arguments(struct task_struct *task, argument 102 static inline void syscall_set_arguments(struct task_struct *task, argument
|
/arch/microblaze/kernel/ |
H A D | traps.c | 33 void show_stack(struct task_struct *task, unsigned long *sp) argument 39 if (task) { 41 (task->stack))->cpu_context.r1; 72 microblaze_unwind(task, NULL); 75 if (!task) 76 task = current; 78 debug_show_held_locks(task);
|
/arch/mn10300/include/asm/ |
H A D | syscall.h | 22 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) argument 27 static inline void syscall_rollback(struct task_struct *task, argument 33 static inline long syscall_get_error(struct task_struct *task, argument 40 static inline long syscall_get_return_value(struct task_struct *task, argument 46 static inline void syscall_set_return_value(struct task_struct *task, argument 53 static inline void syscall_get_arguments(struct task_struct *task, argument 85 static inline void syscall_set_arguments(struct task_struct *task, argument
|
/arch/openrisc/include/asm/ |
H A D | syscall.h | 26 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) argument 32 syscall_rollback(struct task_struct *task, struct pt_regs *regs) argument 38 syscall_get_error(struct task_struct *task, struct pt_regs *regs) argument 44 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) argument 50 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, argument 57 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, argument 66 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, argument
|
/arch/sh/include/asm/ |
H A D | syscall_32.h | 10 static inline long syscall_get_nr(struct task_struct *task, argument 16 static inline void syscall_rollback(struct task_struct *task, argument 25 static inline long syscall_get_error(struct task_struct *task, argument 31 static inline long syscall_get_return_value(struct task_struct *task, argument 37 static inline void syscall_set_return_value(struct task_struct *task, argument 47 static inline void syscall_get_arguments(struct task_struct *task, argument 75 static inline void syscall_set_arguments(struct task_struct *task, argument
|
H A D | syscall_64.h | 9 static inline long syscall_get_nr(struct task_struct *task, argument 15 static inline void syscall_rollback(struct task_struct *task, argument 24 static inline long syscall_get_error(struct task_struct *task, argument 30 static inline long syscall_get_return_value(struct task_struct *task, argument 36 static inline void syscall_set_return_value(struct task_struct *task, argument 46 static inline void syscall_get_arguments(struct task_struct *task, argument 55 static inline void syscall_set_arguments(struct task_struct *task, argument
|