• Home
  • Raw
  • Download

Lines Matching refs:act

96             action* act = node_to_item(node, struct action, alist);  in dump_parser_state()  local
99 build_triggers_string(name_str, sizeof(name_str), act); in dump_parser_state()
104 list_for_each(node2, &act->commands) { in dump_parser_state()
547 void (*func)(struct action *act)) in action_for_each_trigger() argument
550 struct action *act; in action_for_each_trigger() local
554 act = node_to_item(node, struct action, alist); in action_for_each_trigger()
555 list_for_each(node2, &act->triggers) { in action_for_each_trigger()
558 func(act); in action_for_each_trigger()
568 struct action *act; in queue_property_triggers() local
574 act = node_to_item(node, struct action, alist); in queue_property_triggers()
576 list_for_each(node2, &act->triggers) { in queue_property_triggers()
613 action_add_queue_tail(act); in queue_property_triggers()
625 action* act = (action*) calloc(1, sizeof(*act)); in queue_builtin_action() local
628 list_init(&act->triggers); in queue_builtin_action()
629 list_add_tail(&act->triggers, &cur_trigger->nlist); in queue_builtin_action()
630 list_init(&act->commands); in queue_builtin_action()
631 list_init(&act->qlist); in queue_builtin_action()
637 list_add_tail(&act->commands, &cmd->clist); in queue_builtin_action()
639 list_add_tail(&action_list, &act->alist); in queue_builtin_action()
640 action_add_queue_tail(act); in queue_builtin_action()
643 void action_add_queue_tail(struct action *act) in action_add_queue_tail() argument
645 if (list_empty(&act->qlist)) { in action_add_queue_tail()
646 list_add_tail(&action_queue, &act->qlist); in action_add_queue_tail()
656 struct action *act = node_to_item(node, struct action, qlist); in action_remove_queue_head() local
659 return act; in action_remove_queue_head()
955 action* act = (action*) calloc(1, sizeof(*act)); in parse_action() local
956 list_init(&act->triggers); in parse_action()
964 list_for_each_safe(node, node2, &act->triggers) { in parse_action()
968 free(act); in parse_action()
975 list_add_tail(&act->triggers, &cur_trigger->nlist); in parse_action()
978 list_init(&act->commands); in parse_action()
979 list_init(&act->qlist); in parse_action()
980 list_add_tail(&action_list, &act->alist); in parse_action()
982 return act; in parse_action()
987 struct action *act = (action*) state->context; in parse_line_action() local
1012 list_add_tail(&act->commands, &cmd->clist); in parse_line_action()