Lines Matching refs:patch_state
111 task->patch_state = KLP_UNDEFINED; in klp_complete_transition()
118 task->patch_state = KLP_UNDEFINED; in klp_complete_transition()
183 task->patch_state = READ_ONCE(klp_target_state); in klp_update_patch_state()
280 task->patch_state = klp_target_state; in klp_check_and_switch_task()
295 if (task->patch_state == klp_target_state) in klp_try_switch_task()
420 } else if (task->patch_state != klp_target_state) { in klp_try_complete_transition()
423 task->patch_state = klp_target_state; in klp_try_complete_transition()
480 if (task->patch_state != klp_target_state) in klp_start_transition()
491 if (task->patch_state != klp_target_state) in klp_start_transition()
530 WARN_ON_ONCE(task->patch_state != KLP_UNDEFINED); in klp_init_transition()
531 task->patch_state = initial_state; in klp_init_transition()
540 WARN_ON_ONCE(task->patch_state != KLP_UNDEFINED); in klp_init_transition()
541 task->patch_state = initial_state; in klp_init_transition()
629 child->patch_state = current->patch_state; in klp_copy_process()