Lines Matching refs:current
157 for (const struct smf_state *tmp_state = ctx->current->parent; tmp_state != NULL; in smf_execute_ancestor_run_actions()
195 for (const struct smf_state *to_execute = ctx->current; in smf_execute_all_exit_actions()
230 ctx->current = init_state; in smf_set_initial()
335 ctx->previous = ctx->current; in smf_set_state()
336 ctx->current = new_state; in smf_set_state()
345 if (ctx->current->exit) { in smf_set_state()
347 ctx->current->exit(ctx); in smf_set_state()
355 ctx->previous = ctx->current; in smf_set_state()
356 ctx->current = new_state; in smf_set_state()
358 if (ctx->current->entry) { in smf_set_state()
359 ctx->current->entry(ctx); in smf_set_state()
393 ctx->executing = ctx->current; in smf_run_state()
396 if (ctx->current->run) { in smf_run_state()
397 ctx->current->run(ctx); in smf_run_state()