Lines Matching defs:task
73 * Get contents of register REGNO in task TASK.
75 static inline long get_reg(struct task_struct *task, int regno)
80 addr = &task->thread.usp;
82 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]);
87 long stkadj = *(long *)(task->thread.esp0 + PT_REG(stkadj));
97 * Write contents of register REGNO in task TASK.
99 static inline int put_reg(struct task_struct *task, int regno,
105 addr = &task->thread.usp;
107 addr = (unsigned long *)(task->thread.esp0 + regoff[regno]);
112 long stkadj = *(long *)(task->thread.esp0 + PT_REG(stkadj));
344 const struct user_regset_view *task_user_regset_view(struct task_struct *task)