Lines Matching defs:task
12 * There four combinations for task and regs:
13 * 1) task==NULL, regs==NULL: the unwind starts for the task that is currently
15 * 2) task==NULL, regs!=NULL: the unwind starts from the sp/ip found in
16 * the struct pt_regs of an interrupt frame for the current task
17 * 3) task!=NULL, regs==NULL: the unwind starts for an inactive task with
18 * the sp picked up from task->thread.ksp and the ip picked up from the
20 * 4) task!=NULL, regs!=NULL: the sp/ip are picked up from the interrupt
21 * frame 'regs' of a inactive task
35 struct task_struct *task;
43 void __unwind_start(struct unwind_state *state, struct task_struct *task,
59 struct task_struct *task,
63 task = task ?: current;
64 first_frame = first_frame ?: get_stack_pointer(task, regs);
65 __unwind_start(state, task, regs, first_frame);
73 #define unwind_for_each_frame(state, task, regs, first_frame) \
74 for (unwind_start(state, task, regs, first_frame); \