Lines Matching refs:topts
3726 destroy_trace_option_files(struct trace_option_dentry *topts);
3730 static struct trace_option_dentry *topts; in tracing_set_tracer() local
3784 destroy_trace_option_files(topts); in tracing_set_tracer()
3786 topts = create_trace_option_files(tr, t); in tracing_set_tracer()
5629 struct trace_option_dentry *topts; in create_trace_option_files() local
5647 topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); in create_trace_option_files()
5648 if (!topts) in create_trace_option_files()
5652 create_trace_option_file(tr, &topts[cnt], flags, in create_trace_option_files()
5655 return topts; in create_trace_option_files()
5659 destroy_trace_option_files(struct trace_option_dentry *topts) in destroy_trace_option_files() argument
5663 if (!topts) in destroy_trace_option_files()
5666 for (cnt = 0; topts[cnt].opt; cnt++) { in destroy_trace_option_files()
5667 if (topts[cnt].entry) in destroy_trace_option_files()
5668 debugfs_remove(topts[cnt].entry); in destroy_trace_option_files()
5671 kfree(topts); in destroy_trace_option_files()