Lines Matching refs:action
126 | grammar action '\n'
190 action : RUN STRING {
191 struct ifsd_action *action; variable
193 if ((action = calloc(1, sizeof(*action))) == NULL)
195 action->type = IFSD_ACTION_COMMAND;
196 action->act.command = $2;
198 action, entries);
201 struct ifsd_action *action; variable
208 if ((action = calloc(1, sizeof(*action))) == NULL)
210 action->type = IFSD_ACTION_CHANGESTATE;
211 action->act.statename = $2;
213 action, entries);
216 struct ifsd_action *action; variable
218 if ((action = calloc(1, sizeof(*action))) == NULL)
220 action->type = IFSD_ACTION_CONDITION;
221 TAILQ_INIT(&action->act.c.actions);
223 action, entries);
224 action->parent = curaction;
225 curaction = action;
233 | optnl action
236 action_l : action_l action nl
237 | action nl
354 | action nl
798 link_states(struct ifsd_action *action) in link_states() argument
802 switch (action->type) { in link_states()
810 if (strcmp(action->act.statename, in link_states()
812 action->act.nextstate = state; in link_states()
818 action->act.statename); in link_states()
824 TAILQ_FOREACH(subaction, &action->act.c.actions, entries) in link_states()