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

1234567

/arch/powerpc/include/asm/
H A Dcurrent.h20 struct task_struct *task; local
23 : "=r" (task)
26 return task;
H A Dsyscall.h25 static inline long syscall_get_nr(struct task_struct *task, argument
31 static inline void syscall_rollback(struct task_struct *task, argument
37 static inline long syscall_get_error(struct task_struct *task, argument
43 static inline long syscall_get_return_value(struct task_struct *task, argument
49 static inline void syscall_set_return_value(struct task_struct *task, argument
62 static inline void syscall_get_arguments(struct task_struct *task, argument
69 if (test_tsk_thread_flag(task, TIF_32BIT)) {
82 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/xtensa/include/asm/
H A Dstacktrace.h20 static __always_inline unsigned long *stack_pointer(struct task_struct *task) argument
24 if (!task || task == current)
27 sp = (unsigned long *)task->thread.sp;
/arch/arm/kernel/
H A Dperf_regs.c27 u64 perf_reg_abi(struct task_struct *task) argument
/arch/arm64/kernel/
H A Dperf_regs.c46 u64 perf_reg_abi(struct task_struct *task) argument
48 if (is_compat_thread(task_thread_info(task)))
/arch/hexagon/include/asm/
H A Dsyscall.h32 static inline long syscall_get_nr(struct task_struct *task, argument
38 static inline void syscall_get_arguments(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:__anon1750::__anon1751
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/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;
70 microblaze_unwind(task, NULL);
73 if (!task)
74 task = current;
76 debug_show_held_locks(task);
/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.h41 static inline void syscall_rollback(struct task_struct *task, argument
47 static inline long syscall_get_error(struct task_struct *task, argument
54 static inline long syscall_get_return_value(struct task_struct *task, argument
60 static inline void syscall_set_return_value(struct task_struct *task, argument
67 static inline void syscall_get_arguments(struct task_struct *task, argument
76 static inline void syscall_set_arguments(struct task_struct *task, argument
/arch/um/include/asm/
H A Dstacktrace.h18 get_frame_pointer(struct task_struct *task, struct pt_regs *segv_regs) argument
20 if (!task || task == current)
22 return KSTK_EBP(task);
26 get_frame_pointer(struct task_struct *task, struct pt_regs *segv_regs) argument
33 *get_stack_pointer(struct task_struct *task, struct pt_regs *segv_regs) argument
35 if (!task || task == current)
37 return (unsigned long *)KSTK_ESP(task);
/arch/um/include/shared/
H A Das-layout.h42 void *task; member in struct:cpu_task
/arch/arc/include/asm/
H A Dsyscall.h18 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) argument
27 syscall_rollback(struct task_struct *task, struct pt_regs *regs) argument
33 syscall_get_error(struct task_struct *task, struct pt_regs *regs) argument
40 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) argument
46 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
/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/ia64/include/asm/
H A Dsyscall.h20 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
61 extern void ia64_syscall_get_set_arguments(struct task_struct *task,
64 static inline void syscall_get_arguments(struct task_struct *task, argument
71 ia64_syscall_get_set_arguments(task, regs, i, n, args, 0);
74 static inline void syscall_set_arguments(struct task_struct *task, argument
81 ia64_syscall_get_set_arguments(task, reg
[all...]
/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.h27 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) argument
33 syscall_rollback(struct task_struct *task, struct pt_regs *regs) argument
39 syscall_get_error(struct task_struct *task, struct pt_regs *regs) argument
45 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) argument
51 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, argument
58 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, argument
67 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, argument
/arch/s390/kernel/
H A Druntime_instr.c54 struct task_struct *task = current; local
56 if (!task->thread.ri_cb)
59 kfree(task->thread.ri_cb);
60 task->thread.ri_signum = 0;
61 task->thread.ri_cb = NULL;

Completed in 845 milliseconds

1234567