Lines Matching refs:curr_state
23 static inline char *format_react_msg_##name(type curr_state, type event) \
29 model_get_state_name_##name(curr_state)); \
47 static inline char *format_react_msg_##name(type curr_state, type event) \
76 da_mon->curr_state = model_get_initial_state_##name(); \
84 return da_mon->curr_state; \
93 da_mon->curr_state = state; \
104 da_mon->curr_state = model_get_initial_state_##name(); \
158 type curr_state = da_monitor_curr_state_##name(da_mon); \
159 type next_state = model_get_next_state_##name(curr_state, event); \
164 trace_event_##name(model_get_state_name_##name(curr_state), \
173 cond_react_##name(format_react_msg_##name(curr_state, event)); \
175 trace_error_##name(model_get_state_name_##name(curr_state), \
189 type curr_state = da_monitor_curr_state_##name(da_mon); \
190 type next_state = model_get_next_state_##name(curr_state, event); \
196 model_get_state_name_##name(curr_state), \
205 cond_react_##name(format_react_msg_##name(curr_state, event)); \
208 model_get_state_name_##name(curr_state), \