Lines Matching full:trigger
36 * For each trigger associated with an event, invoke the trigger
37 * function registered with the associated trigger command. If rec is
38 * non-NULL, it means that the trigger requires further processing and
40 * trigger has a filter associated with it, rec will checked against
41 * the filter and if the record matches the trigger will be invoked.
42 * If the trigger is a 'post_trigger', meaning it shouldn't be invoked
43 * in any case until the current event is written, the trigger
45 * trigger is set in the return value.
48 * any trigger that should be deferred, ETT_NONE if nothing to defer.
53 * any trigger that should be deferred, ETT_NONE if nothing to defer.
90 * @tt: enum event_trigger_type containing a set bit for each trigger to invoke
92 * For each trigger associated with an event, invoke the trigger
93 * function registered with the associated trigger command, if the
386 * @name: The name of the event trigger
388 * @data: Trigger-specific data
394 * trigger command and then invokes this.
421 * @ops: The trigger ops associated with the trigger
422 * @data: Trigger-specific data
424 * Common implementation of event trigger initialization.
426 * Usually used directly as the @init method in event trigger
440 * @ops: The trigger ops associated with the trigger
441 * @data: Trigger-specific data
443 * Common implementation of event trigger de-initialization.
445 * Usually used directly as the @free method in event trigger
484 * For each trigger, the triggering event has its tm_ref decremented
488 * combination effectively reverses the soft-mode/trigger state added
489 * by trigger registration.
514 * a post_trigger, trigger invocation needs to be deferred until after
542 * @glob: The raw string used to register the trigger
543 * @ops: The trigger ops associated with the trigger
544 * @data: Trigger-specific data to associate with the trigger
547 * Common implementation for event trigger registration.
591 * @glob: The raw string used to register the trigger
592 * @ops: The trigger ops associated with the trigger
593 * @test: Trigger-specific data used to find the trigger to remove
596 * Common implementation for event trigger unregistration.
626 * @cmd_ops: The command ops, used for trigger registration
628 * @glob: The raw string used to register the trigger
629 * @cmd: The cmd portion of the string used to register the trigger
630 * @param: The params portion of the string used to register the trigger
632 * Common implementation for event command parsing and trigger
647 char *trigger = NULL; in event_trigger_callback() local
651 /* separate the trigger from the filter (t:n [if filter]) */ in event_trigger_callback()
653 trigger = strsep(¶m, " \t"); in event_trigger_callback()
661 trigger_ops = cmd_ops->get_trigger_ops(cmd, trigger); in event_trigger_callback()
682 if (trigger) { in event_trigger_callback()
683 number = strsep(&trigger, ":"); in event_trigger_callback()
737 * @filter_str: The filter string for the trigger, NULL to remove filter
738 * @trigger_data: Trigger-specific data
771 /* The filter is for the 'trigger' event, not the triggered event */ in set_trigger_filter()
807 * find_named_trigger - Find the common named trigger associated with @name
811 * trigger data. The first named trigger registered with a given name
812 * owns the common trigger data that the others subsequently
814 * returns the common trigger data associated with that first
817 * Return: the common trigger data for the given named trigger on
838 * is_named_trigger - determine if a given trigger is a named trigger
839 * @test: The trigger data to test
841 * Return: true if 'test' is a named trigger, false otherwise.
856 * save_named_trigger - save the trigger in the named trigger list
857 * @name: The name of the named trigger set
858 * @data: The trigger data to save
874 * del_named_trigger - delete a trigger from the named trigger list
875 * @data: The trigger data to delete
903 * @data: The trigger data of a named trigger to pause
905 * Pauses a named trigger along with all other triggers having the
907 * pausing only one is meaningless, so pausing one named trigger needs
917 * @data: The trigger data of a named trigger to unpause
919 * Un-pauses a named trigger along with all other triggers having the
921 * unpausing only one is meaningless, so unpausing one named trigger
930 * set_named_trigger_data - Associate common named trigger data
931 * @data: The trigger data to associate
932 * @named_data: The common named trigger to be associated
935 * trigger data. The first named trigger registered with a given name
936 * owns the common trigger data that the others subsequently
938 * associates the common trigger data from the first trigger with the
939 * given trigger.
1395 char *trigger; in event_enable_trigger_func() local
1403 /* separate the trigger from the filter (s:e:n [if filter]) */ in event_enable_trigger_func()
1404 trigger = strsep(¶m, " \t"); in event_enable_trigger_func()
1405 if (!trigger) in event_enable_trigger_func()
1413 system = strsep(&trigger, ":"); in event_enable_trigger_func()
1414 if (!trigger) in event_enable_trigger_func()
1417 event = strsep(&trigger, ":"); in event_enable_trigger_func()
1433 trigger_ops = cmd_ops->get_trigger_ops(cmd, trigger); in event_enable_trigger_func()
1468 if (trigger) { in event_enable_trigger_func()
1469 number = strsep(&trigger, ":"); in event_enable_trigger_func()