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.
89 * @tt: enum event_trigger_type containing a set bit for each trigger to invoke
91 * For each trigger associated with an event, invoke the trigger
92 * function registered with the associated trigger command, if the
373 * @name: The name of the event trigger
375 * @data: Trigger-specific data
381 * trigger command and then invokes this.
408 * @ops: The trigger ops associated with the trigger
409 * @data: Trigger-specific data
411 * Common implementation of event trigger initialization.
413 * Usually used directly as the @init method in event trigger
427 * @ops: The trigger ops associated with the trigger
428 * @data: Trigger-specific data
430 * Common implementation of event trigger de-initialization.
432 * Usually used directly as the @free method in event trigger
471 * For each trigger, the triggering event has its tm_ref decremented
475 * combination effectively reverses the soft-mode/trigger state added
476 * by trigger registration.
501 * a post_trigger, trigger invocation needs to be deferred until after
529 * @glob: The raw string used to register the trigger
530 * @ops: The trigger ops associated with the trigger
531 * @data: Trigger-specific data to associate with the trigger
534 * Common implementation for event trigger registration.
578 * @glob: The raw string used to register the trigger
579 * @ops: The trigger ops associated with the trigger
580 * @test: Trigger-specific data used to find the trigger to remove
583 * Common implementation for event trigger unregistration.
613 * @cmd_ops: The command ops, used for trigger registration
615 * @glob: The raw string used to register the trigger
616 * @cmd: The cmd portion of the string used to register the trigger
617 * @param: The params portion of the string used to register the trigger
619 * Common implementation for event command parsing and trigger
634 char *trigger = NULL; in event_trigger_callback() local
638 /* separate the trigger from the filter (t:n [if filter]) */ in event_trigger_callback()
640 trigger = strsep(&param, " \t"); in event_trigger_callback()
648 trigger_ops = cmd_ops->get_trigger_ops(cmd, trigger); in event_trigger_callback()
669 if (trigger) { in event_trigger_callback()
670 number = strsep(&trigger, ":"); in event_trigger_callback()
724 * @filter_str: The filter string for the trigger, NULL to remove filter
725 * @trigger_data: Trigger-specific data
758 /* The filter is for the 'trigger' event, not the triggered event */ in set_trigger_filter()
794 * find_named_trigger - Find the common named trigger associated with @name
798 * trigger data. The first named trigger registered with a given name
799 * owns the common trigger data that the others subsequently
801 * returns the common trigger data associated with that first
804 * Return: the common trigger data for the given named trigger on
825 * is_named_trigger - determine if a given trigger is a named trigger
826 * @test: The trigger data to test
828 * Return: true if 'test' is a named trigger, false otherwise.
843 * save_named_trigger - save the trigger in the named trigger list
844 * @name: The name of the named trigger set
845 * @data: The trigger data to save
861 * del_named_trigger - delete a trigger from the named trigger list
862 * @data: The trigger data to delete
890 * @data: The trigger data of a named trigger to pause
892 * Pauses a named trigger along with all other triggers having the
894 * pausing only one is meaningless, so pausing one named trigger needs
904 * @data: The trigger data of a named trigger to unpause
906 * Un-pauses a named trigger along with all other triggers having the
908 * unpausing only one is meaningless, so unpausing one named trigger
917 * set_named_trigger_data - Associate common named trigger data
918 * @data: The trigger data of a named trigger to unpause
921 * trigger data. The first named trigger registered with a given name
922 * owns the common trigger data that the others subsequently
924 * associates the common trigger data from the first trigger with the
925 * given trigger.
1371 char *trigger; in event_enable_trigger_func() local
1379 /* separate the trigger from the filter (s:e:n [if filter]) */ in event_enable_trigger_func()
1380 trigger = strsep(&param, " \t"); in event_enable_trigger_func()
1381 if (!trigger) in event_enable_trigger_func()
1389 system = strsep(&trigger, ":"); in event_enable_trigger_func()
1390 if (!trigger) in event_enable_trigger_func()
1393 event = strsep(&trigger, ":"); in event_enable_trigger_func()
1409 trigger_ops = cmd_ops->get_trigger_ops(cmd, trigger); in event_enable_trigger_func()
1444 if (trigger) { in event_enable_trigger_func()
1445 number = strsep(&trigger, ":"); in event_enable_trigger_func()