Searched refs:devnm (Results 1 – 2 of 2) sorted by relevance
/external/blktrace/btreplay/ |
D | btrecord.c | 54 char *devnm, *file_name; member 295 free(iip->devnm); in rem_input_file() 305 static void __add_input_file(int cpu, char *devnm, char *file_name) in __add_input_file() argument 312 iip->devnm = strdup(devnm); in __add_input_file() 327 static void add_input_file(char *devnm) in add_input_file() argument 334 if (strcmp(iip->devnm, devnm) == 0) in add_input_file() 341 sprintf(full_name, "%s/%s.blktrace.%d", idir, devnm, cpu); in add_input_file() 345 __add_input_file(cpu, devnm, full_name); in add_input_file() 350 fatal(NULL, ERR_ARGS, "No traces found for %s\n", devnm); in add_input_file() 688 sprintf(ofile_name, "%s/%s.%s.%d", odir, iip->devnm, obase, iip->cpu); in stream_open() [all …]
|
D | btreplay.c | 74 char *devnm; member 110 char *devnm, *file_name; member 580 static void add_input_dev(char *devnm) in add_input_dev() argument 587 if (strcmp(dip->devnm, devnm) == 0) in add_input_dev() 592 dip->devnm = strdup(devnm); in add_input_dev() 602 free(dip->devnm); in rem_input_dev() 807 sprintf(fn, "%s/%s.%s.%d.rep", idir, tip->devnm, ibase, in tip_init() 874 static void add_input_file(int cpu, char *devnm, char *file_name) in add_input_file() argument 935 tip->devnm = strdup(devnm); in add_input_file() 958 free(tip->devnm); in rem_input_file() [all …]
|