Lines Matching refs:topts
4303 destroy_trace_option_files(struct trace_option_dentry *topts);
4324 static struct trace_option_dentry *topts; in update_tracer_options() local
4334 destroy_trace_option_files(topts); in update_tracer_options()
4335 topts = create_trace_option_files(tr, t); in update_tracer_options()
6306 struct trace_option_dentry *topts; in create_trace_option_files() local
6324 topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); in create_trace_option_files()
6325 if (!topts) in create_trace_option_files()
6329 create_trace_option_file(tr, &topts[cnt], flags, in create_trace_option_files()
6332 return topts; in create_trace_option_files()
6336 destroy_trace_option_files(struct trace_option_dentry *topts) in destroy_trace_option_files() argument
6340 if (!topts) in destroy_trace_option_files()
6343 for (cnt = 0; topts[cnt].opt; cnt++) in destroy_trace_option_files()
6344 tracefs_remove(topts[cnt].entry); in destroy_trace_option_files()
6346 kfree(topts); in destroy_trace_option_files()