Lines Matching refs:topts
8068 struct trace_option_dentry *topts; in create_trace_option_files() local
8092 if (WARN_ON_ONCE(tr->topts[i].tracer->flags == tracer->flags)) in create_trace_option_files()
8101 topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); in create_trace_option_files()
8102 if (!topts) in create_trace_option_files()
8105 tr_topts = krealloc(tr->topts, sizeof(*tr->topts) * (tr->nr_topts + 1), in create_trace_option_files()
8108 kfree(topts); in create_trace_option_files()
8112 tr->topts = tr_topts; in create_trace_option_files()
8113 tr->topts[tr->nr_topts].tracer = tracer; in create_trace_option_files()
8114 tr->topts[tr->nr_topts].topts = topts; in create_trace_option_files()
8118 create_trace_option_file(tr, &topts[cnt], flags, in create_trace_option_files()
8120 WARN_ONCE(topts[cnt].entry == NULL, in create_trace_option_files()
8478 kfree(tr->topts[i].topts); in __remove_instance()
8480 kfree(tr->topts); in __remove_instance()