Lines Matching refs:patch_state
124 task->patch_state = KLP_TRANSITION_IDLE;
131 task->patch_state = KLP_TRANSITION_IDLE;
173 * Otherwise klp_ftrace_handler() might read the wrong 'patch_state' value.
196 task->patch_state = READ_ONCE(klp_target_state);
296 task->patch_state = klp_target_state;
311 if (task->patch_state == klp_target_state)
466 } else if (task->patch_state != klp_target_state) {
469 task->patch_state = klp_target_state;
527 if (task->patch_state != klp_target_state)
538 if (task->patch_state != klp_target_state)
579 WARN_ON_ONCE(task->patch_state != KLP_TRANSITION_IDLE);
580 task->patch_state = initial_state;
589 WARN_ON_ONCE(task->patch_state != KLP_TRANSITION_IDLE);
590 task->patch_state = initial_state;
594 * Enforce the order of the task->patch_state initializations and the
596 * see a func in transition with a task->patch_state of KLP_TRANSITION_IDLE.
600 * __klp_sched_try_switch() don't set a task->patch_state to
668 * task->patch_state to the wrong value.
694 child->patch_state = current->patch_state;