Lines Matching refs:topts
3127 destroy_trace_option_files(struct trace_option_dentry *topts);
3131 static struct trace_option_dentry *topts; in tracing_set_tracer() local
3171 destroy_trace_option_files(topts); in tracing_set_tracer()
3175 topts = create_trace_option_files(current_trace); in tracing_set_tracer()
4604 struct trace_option_dentry *topts; in create_trace_option_files() local
4622 topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); in create_trace_option_files()
4623 if (!topts) in create_trace_option_files()
4627 create_trace_option_file(&topts[cnt], flags, in create_trace_option_files()
4630 return topts; in create_trace_option_files()
4634 destroy_trace_option_files(struct trace_option_dentry *topts) in destroy_trace_option_files() argument
4638 if (!topts) in destroy_trace_option_files()
4641 for (cnt = 0; topts[cnt].opt; cnt++) { in destroy_trace_option_files()
4642 if (topts[cnt].entry) in destroy_trace_option_files()
4643 debugfs_remove(topts[cnt].entry); in destroy_trace_option_files()
4646 kfree(topts); in destroy_trace_option_files()