Lines Matching refs:topts
8339 struct trace_option_dentry *topts; in create_trace_option_files() local
8363 if (WARN_ON_ONCE(tr->topts[i].tracer->flags == tracer->flags)) in create_trace_option_files()
8372 topts = kcalloc(cnt + 1, sizeof(*topts), GFP_KERNEL); in create_trace_option_files()
8373 if (!topts) in create_trace_option_files()
8376 tr_topts = krealloc(tr->topts, sizeof(*tr->topts) * (tr->nr_topts + 1), in create_trace_option_files()
8379 kfree(topts); in create_trace_option_files()
8383 tr->topts = tr_topts; in create_trace_option_files()
8384 tr->topts[tr->nr_topts].tracer = tracer; in create_trace_option_files()
8385 tr->topts[tr->nr_topts].topts = topts; in create_trace_option_files()
8389 create_trace_option_file(tr, &topts[cnt], flags, in create_trace_option_files()
8391 MEM_FAIL(topts[cnt].entry == NULL, in create_trace_option_files()
8840 kfree(tr->topts[i].topts); in __remove_instance()
8842 kfree(tr->topts); in __remove_instance()