Home
last modified time | relevance | path

Searched refs:devnm (Results 1 – 2 of 2) sorted by relevance

/external/blktrace/btreplay/
Dbtrecord.c56 char *devnm, *file_name; member
297 free(iip->devnm); in rem_input_file()
307 static void __add_input_file(int cpu, char *devnm, char *file_name) in __add_input_file() argument
314 iip->devnm = strdup(devnm); in __add_input_file()
329 static void add_input_file(char *devnm) in add_input_file() argument
336 if (strcmp(iip->devnm, devnm) == 0) in add_input_file()
343 sprintf(full_name, "%s/%s.blktrace.%d", idir, devnm, cpu); in add_input_file()
347 __add_input_file(cpu, devnm, full_name); in add_input_file()
352 fatal(NULL, ERR_ARGS, "No traces found for %s\n", devnm); in add_input_file()
691 sprintf(ofile_name, "%s/%s.%s.%d", odir, iip->devnm, obase, iip->cpu); in stream_open()
[all …]
Dbtreplay.c76 char *devnm; member
112 char *devnm, *file_name; member
562 static void add_input_dev(char *devnm) in add_input_dev() argument
569 if (strcmp(dip->devnm, devnm) == 0) in add_input_dev()
574 dip->devnm = strdup(devnm); in add_input_dev()
584 free(dip->devnm); in rem_input_dev()
789 sprintf(fn, "%s/%s.%s.%d.rep", idir, tip->devnm, ibase, in tip_init()
856 static void add_input_file(int cpu, char *devnm, char *file_name) in add_input_file() argument
917 tip->devnm = strdup(devnm); in add_input_file()
940 free(tip->devnm); in rem_input_file()
[all …]