Lines Matching refs:current
155 for (const struct smf_state *tmp_state = ctx->current->parent; tmp_state != NULL; in smf_execute_ancestor_run_actions()
190 for (const struct smf_state *to_execute = ctx->current; in smf_execute_all_exit_actions()
236 ctx->current = init_state; in smf_set_initial()
343 ctx->previous = ctx->current; in smf_set_state()
344 ctx->current = new_state; in smf_set_state()
353 if (ctx->current->exit) { in smf_set_state()
355 ctx->current->exit(ctx); in smf_set_state()
363 ctx->previous = ctx->current; in smf_set_state()
364 ctx->current = new_state; in smf_set_state()
366 if (ctx->current->entry) { in smf_set_state()
367 ctx->current->entry(ctx); in smf_set_state()
406 ctx->executing = ctx->current; in smf_run_state()
409 if (ctx->current->run) { in smf_run_state()
410 ctx->current->run(ctx); in smf_run_state()