Lines Matching refs:name
38 char *name;
111 char *name;
115 for (op = reg->options; op->name; op++) {
120 ret = asprintf(&name, "%s:%s", alias, op->name);
127 free(name);
130 list[count++] = name;
187 if (strcmp(op->option, option->name) != 0)
200 if (strcmp(op->option, option->name) != 0)
214 * @name: The name of the plugin adding the options
219 int tep_plugin_add_options(const char *name,
231 while (options->name) {
232 update_option(name, options);
281 for (op = reg->options; op->name; op++) {
289 if (strcmp(option, op->name) != 0)
312 * @name: The name of the option (format: <plugin>:<option> or just <option>)
319 int tep_plugin_add_option(const char *name, const char *val)
325 option_str = strdup(name);
387 static void print_op_data(struct trace_seq *s, const char *name,
391 trace_seq_printf(s, "%8s:\t%s\n", name, op);
408 for (op = reg->options; op->name; op++) {
413 print_op_data(s, "option", op->name);
424 * @prefix: The prefix string to add before listing the option name
425 * @suffix: The suffix string ot append after the option name
437 trace_seq_printf(s, "%s%s%s", prefix, list->name, suffix);
474 while (options->name) {
497 list->name = plugin;
513 const char *name,
534 const char *name = dent->d_name;
536 if (strcmp(name, ".") == 0 ||
537 strcmp(name, "..") == 0)
541 if (strcmp(name + (strlen(name) - strlen(suffix)), suffix) != 0)
544 load_plugin(tep, path, name, data);
569 const char *name,
708 free(list->name);