Lines Matching refs:top_dir

2269 static int init_timerlat_stack_tracefs(struct dentry *top_dir)  in init_timerlat_stack_tracefs()  argument
2273 tmp = tracefs_create_file("print_stack", TRACE_MODE_WRITE, top_dir, in init_timerlat_stack_tracefs()
2281 static int init_timerlat_stack_tracefs(struct dentry *top_dir) in init_timerlat_stack_tracefs() argument
2290 static int init_timerlat_tracefs(struct dentry *top_dir) in init_timerlat_tracefs() argument
2294 tmp = tracefs_create_file("timerlat_period_us", TRACE_MODE_WRITE, top_dir, in init_timerlat_tracefs()
2299 return init_timerlat_stack_tracefs(top_dir); in init_timerlat_tracefs()
2302 static int init_timerlat_tracefs(struct dentry *top_dir) in init_timerlat_tracefs() argument
2317 struct dentry *top_dir; in init_tracefs() local
2325 top_dir = tracefs_create_dir("osnoise", NULL); in init_tracefs()
2326 if (!top_dir) in init_tracefs()
2329 tmp = tracefs_create_file("period_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2334 tmp = tracefs_create_file("runtime_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2339 tmp = tracefs_create_file("stop_tracing_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2344 tmp = tracefs_create_file("stop_tracing_total_us", TRACE_MODE_WRITE, top_dir, in init_tracefs()
2349 tmp = trace_create_file("cpus", TRACE_MODE_WRITE, top_dir, NULL, &cpus_fops); in init_tracefs()
2353 tmp = trace_create_file("options", TRACE_MODE_WRITE, top_dir, NULL, in init_tracefs()
2358 ret = init_timerlat_tracefs(top_dir); in init_tracefs()
2365 tracefs_remove(top_dir); in init_tracefs()