Lines Matching defs:task
44 * Calls unwind_for_each_frame(task, regs, sp) and verifies that the result
47 static noinline int test_unwind(struct task_struct *task, struct pt_regs *regs,
67 unwind_for_each_frame(&state, task, regs, sp) {
119 /* State of the task being unwound. */
123 struct task_struct *task;
133 #define UWM_THREAD 0x1 /* Unwind a separate task. */
381 u->task = NULL;
399 /* Spawns a task and passes it to test_unwind(). */
402 struct task_struct *task;
410 * Start the task and wait until it reaches unwindme_func4() and sleeps
413 task = kthread_run(unwindme_func1, u, "%s", __func__);
414 if (IS_ERR(task)) {
416 return PTR_ERR(task);
419 * Make sure task reaches unwindme_func4 before parking it,
423 kthread_park(task);
425 ret = test_unwind(task, NULL, (u->flags & UWM_SP) ? u->sp : 0);
426 kthread_stop(task);