Lines Matching defs:driver_name
59 char *basedir = NULL, *driver_name = NULL;
104 driver_name = calloc(strlen(argv[optind]) + 1, 1);
105 if (driver_name == NULL) {
110 (void) strcat(driver_name, argv[optind]);
144 if ((found = get_major_no(driver_name, name_to_major)) == ERROR) {
150 driver_name);
158 get_modid(driver_name, &modid);
165 driver_name);
173 gettext("cannot unload %s.conf\n"), driver_name);
187 if (append_to_file(driver_name, maj_num,
200 err = devfs_rm_minor_perm(driver_name, log_minorperm_error);
203 driver_name, err);
210 remove_entry(CLEAN_ALL, driver_name);
220 err = modctl(MODREMDRVCLEANUP, driver_name, 0, NULL);
224 driver_name, err);
227 cleanup_devfs_attributes(basedir, driver_name);
286 cleanup_devfs_attributes(char *basedir, char *driver_name)
295 arg.ca_drvname = driver_name;