Lines Matching full:options

26 	struct tep_plugin_option		*options;  member
95 * tep_plugin_list_options - get list of plugin options
98 * plugin options in the format of <plugin>:<option>. This list can be
101 * Returns NULL if there's no options registered. On error it returns
115 for (op = reg->options; op->name; op++) { in tep_plugin_list_options()
181 /* first look for named options */ in update_option()
196 /* first look for unnamed options */ in update_option()
213 * tep_plugin_add_options - Add a set of options by a plugin
214 * @name: The name of the plugin adding the options
215 * @options: The set of options being loaded
217 * Sets the options with the values that have been added by user.
220 struct tep_plugin_option *options) in tep_plugin_add_options() argument
228 reg->options = options; in tep_plugin_add_options()
231 while (options->name) { in tep_plugin_add_options()
232 update_option(name, options); in tep_plugin_add_options()
233 options++; in tep_plugin_add_options()
239 * tep_plugin_remove_options - remove plugin options that were registered
240 * @options: Options to removed that were registered with tep_plugin_add_options
242 void tep_plugin_remove_options(struct tep_plugin_option *options) in tep_plugin_remove_options() argument
248 if ((*last)->options == options) { in tep_plugin_remove_options()
281 for (op = reg->options; op->name; op++) { in find_registered_option()
311 * tep_plugin_add_option - add an option/val pair to set plugin options
316 * is set (note, some options just take a boolean, so @val must be either
395 * tep_plugin_print_options - print out the registered plugin options
396 * @s: The trace_seq descriptor to write the plugin options into
398 * Writes a list of options into trace_seq @s.
408 for (op = reg->options; op->name; op++) { in tep_plugin_print_options()
409 if (op != reg->options) in tep_plugin_print_options()
447 struct tep_plugin_option *options; in load_plugin() local
472 options = dlsym(handle, TEP_PLUGIN_OPTIONS_NAME); in load_plugin()
473 if (options) { in load_plugin()
474 while (options->name) { in load_plugin()
475 ret = update_option(alias, options); in load_plugin()
478 options++; in load_plugin()