Searched defs:task (Results 1 - 25 of 141) sorted by relevance

123456

/arch/powerpc/include/asm/
H A Dcurrent.h20 struct task_struct *task; local
23 : "=r" (task)
26 return task;
H A Dsyscall.h23 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/x86/um/
H A Dtls_64.c3 void clear_flushed_tls(struct task_struct *task) argument
/arch/ia64/kernel/
H A Dinit_task.c3 * task.
23 * Initial task structure.
32 struct task_struct task; member in struct:__anon1807::__anon1808
38 .task = INIT_TASK(init_task_mem.s.task),
39 .thread_info = INIT_THREAD_INFO(init_task_mem.s.task)
H A Dperfmon_itanium.h8 static int pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs);
51 pfm_ita_pmc_check(struct task_struct *task, pfm_context_t *ctx, unsigned int cnum, unsigned long *val, struct pt_regs *regs) argument
70 if (task && (task->thread.flags & IA64_THREAD_DBG_VALID) != 0) return -EINVAL;
89 if (task && (task->thread.flags & IA64_THREAD_DBG_VALID) != 0) return -EINVAL;
/arch/mips/include/asm/
H A Dstacktrace.h8 extern unsigned long unwind_stack(struct task_struct *task, unsigned long *sp,
16 static inline unsigned long unwind_stack(struct task_struct *task, argument
/arch/parisc/kernel/
H A Dstacktrace.c15 static void dump_trace(struct task_struct *task, struct stack_trace *trace) argument
20 if (task == current) {
29 unwind_frame_init(&info, task, &r);
31 unwind_frame_init_from_blocked_task(&info, task);
/arch/tile/include/asm/
H A Dstack.h27 struct task_struct *task; /* task we are backtracing */ member in struct:KBacktraceIterator
33 int is_current; /* backtracing current task */
H A Dsyscall.h35 static inline void syscall_rollback(struct task_struct *task, argument
41 static inline long syscall_get_error(struct task_struct *task, argument
48 static inline long syscall_get_return_value(struct task_struct *task, argument
54 static inline void syscall_set_return_value(struct task_struct *task, argument
61 static inline void syscall_get_arguments(struct task_struct *task, argument
70 static inline void syscall_set_arguments(struct task_struct *task, argument
/arch/um/include/shared/
H A Das-layout.h42 void *task; member in struct:cpu_task
/arch/um/kernel/
H A Dsysrq.c14 void show_trace(struct task_struct *task, unsigned long * stack) argument
55 void show_stack(struct task_struct *task, unsigned long *esp) argument
61 if (task != current && task != NULL) {
62 esp = (unsigned long *) KSTK_ESP(task);
77 show_trace(task, esp);
/arch/blackfin/include/asm/
H A Dsyscall.h26 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 Dsyscall.h17 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/cris/arch-v10/kernel/
H A Dptrace.c27 * Get contents of register REGNO in task TASK.
29 inline long get_reg(struct task_struct *task, unsigned int regno) argument
36 return task->thread.usp;
38 return ((unsigned long *)task_pt_regs(task))[regno];
44 * Write contents of register REGNO in task TASK.
46 inline int put_reg(struct task_struct *task, unsigned int regno, argument
50 task->thread.usp = data;
52 ((unsigned long *)task_pt_regs(task))[regno] = data;
/arch/frv/include/asm/
H A Dsyscall.h21 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/h8300/platform/h8s/
H A Dptrace_h8s.c30 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/hexagon/include/asm/
H A Dsyscall.h40 static inline long syscall_get_nr(struct task_struct *task, argument
46 static inline void syscall_get_arguments(struct task_struct *task, argument
/arch/ia64/include/asm/
H A Dsyscall.h19 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/microblaze/kernel/
H A Dtraps.c33 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 Dsyscall.h22 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 Dsyscall.h26 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/s390/include/asm/
H A Dsyscall.h26 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/sh/include/asm/
H A Dsyscall_32.h10 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 Dsyscall_64.h9 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
/arch/x86/include/asm/
H A Dsyscall.h28 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) argument
33 static inline void syscall_rollback(struct task_struct *task, argument
39 static inline long syscall_get_error(struct task_struct *task, argument
48 if (task_thread_info(task)->status & TS_COMPAT)
58 static inline long syscall_get_return_value(struct task_struct *task, argument
64 static inline void syscall_set_return_value(struct task_struct *task, argument
73 static inline void syscall_get_arguments(struct task_struct *task, argument
82 static inline void syscall_set_arguments(struct task_struct *task, argument
93 static inline void syscall_get_arguments(struct task_struct *task, argument
99 if (task_thread_info(task)
154 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, unsigned int i, unsigned int n, const unsigned long *args) argument
[all...]

Completed in 427 milliseconds

123456