Lines Matching refs:patch_state
133 task->patch_state = KLP_UNDEFINED; in klp_complete_transition()
140 task->patch_state = KLP_UNDEFINED; in klp_complete_transition()
205 task->patch_state = READ_ONCE(klp_target_state); in klp_update_patch_state()
305 task->patch_state = klp_target_state; in klp_check_and_switch_task()
320 if (task->patch_state == klp_target_state) in klp_try_switch_task()
487 } else if (task->patch_state != klp_target_state) { in klp_try_complete_transition()
490 task->patch_state = klp_target_state; in klp_try_complete_transition()
548 if (task->patch_state != klp_target_state) in klp_start_transition()
559 if (task->patch_state != klp_target_state) in klp_start_transition()
600 WARN_ON_ONCE(task->patch_state != KLP_UNDEFINED); in klp_init_transition()
601 task->patch_state = initial_state; in klp_init_transition()
610 WARN_ON_ONCE(task->patch_state != KLP_UNDEFINED); in klp_init_transition()
611 task->patch_state = initial_state; in klp_init_transition()
715 child->patch_state = current->patch_state; in klp_copy_process()