Lines Matching refs:topts
2820 destroy_trace_option_files(struct trace_option_dentry *topts);
2824 static struct trace_option_dentry *topts;
2861 destroy_trace_option_files(topts);
2865 topts = create_trace_option_files(current_trace);
4218 struct trace_option_dentry *topts;
4236 topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL);
4237 if (!topts)
4241 create_trace_option_file(&topts[cnt], flags,
4244 return topts;
4248 destroy_trace_option_files(struct trace_option_dentry *topts)
4252 if (!topts)
4255 for (cnt = 0; topts[cnt].opt; cnt++) {
4256 if (topts[cnt].entry)
4257 debugfs_remove(topts[cnt].entry);
4260 kfree(topts);