Lines Matching refs:devnm
72 * @devnm: Device name -- 'sd*'
76 char *devnm;
96 * @devnm: Copy of the device name being managed by this thread
112 char *devnm, *file_name;
562 static void add_input_dev(char *devnm)
569 if (strcmp(dip->devnm, devnm) == 0)
574 dip->devnm = strdup(devnm);
584 free(dip->devnm);
789 sprintf(fn, "%s/%s.%s.%d.rep", idir, tip->devnm, ibase,
853 * @devnm: Device name for this file
856 static void add_input_file(int cpu, char *devnm, char *file_name)
917 tip->devnm = strdup(devnm);
940 free(tip->devnm);
966 sprintf(full_name, "%s/%s.%s.%d", idir, dip->devnm, ibase, cpu);
970 add_input_file(cpu, dip->devnm, full_name);
975 fatal(NULL, ERR_ARGS, "No traces found for %s\n", dip->devnm);
1324 sprintf(path, "/dev/%s", map_dev(tip->devnm));