Lines Matching defs:task
75 * Get contents of register REGNO in task TASK.
77 static inline long get_reg(struct task_struct *task, int regno)
82 addr = &task->thread.usp;
84 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]);
89 long stkadj = *(long *)(task->thread.esp0 + PT_REG(stkadj));
99 * Write contents of register REGNO in task TASK.
101 static inline int put_reg(struct task_struct *task, int regno,
107 addr = &task->thread.usp;
109 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]);
114 long stkadj = *(long *)(task->thread.esp0 + PT_REG(stkadj));
346 const struct user_regset_view *task_user_regset_view(struct task_struct *task)