/illumos-gate/usr/src/cmd/modload/ |
H A D | update_drv.c | 46 unload_drv(char *driver_name, int force_flag, int verbose_flag) in unload_drv() argument 50 get_modid(driver_name, &modid); in unload_drv() 53 (void) fprintf(stderr, gettext(ERR_MODUN), driver_name); in unload_drv() 57 gettext(NOUPDATE), driver_name); in unload_drv() 63 driver_name); in unload_drv() 101 char *driver_name; in main() local 196 driver_name = argv[optind]; in main() 205 list_entry(minor_perm, driver_name, ":"); in main() 226 if (policy != NULL && (policy = check_plcy_entry(policy, driver_name, in main() 253 (error = update_minor_entry(driver_name, perms))) { in main() [all …]
|
H A D | add_drv.c | 57 char *driver_name; member 92 char driver_name[FILENAME_MAX + 1]; in main() local 93 int driver_name_size = sizeof (driver_name); in main() 193 if (strlcpy(driver_name, argv[optind], driver_name_size) >= in main() 226 slash = strchr(driver_name, '/'); in main() 228 remove_slashes(driver_name); in main() 231 slash = strrchr(driver_name, '/'); in main() 235 driver_name); in main() 241 new_drv = driver_name; in main() 285 (policy = check_plcy_entry(policy, driver_name, B_FALSE)) == NULL) { in main() [all …]
|
H A D | rem_drv.c | 59 char *basedir = NULL, *driver_name = NULL; in main() local 104 driver_name = calloc(strlen(argv[optind]) + 1, 1); in main() 105 if (driver_name == NULL) { in main() 110 (void) strcat(driver_name, argv[optind]); in main() 144 if ((found = get_major_no(driver_name, name_to_major)) == ERROR) { in main() 150 driver_name); in main() 158 get_modid(driver_name, &modid); in main() 165 driver_name); in main() 173 gettext("cannot unload %s.conf\n"), driver_name); in main() 187 if (append_to_file(driver_name, maj_num, in main() [all …]
|
H A D | drvsubr.c | 83 static int get_name_to_major_entry(int *major_no, char *driver_name, 137 char *driver_name, in append_to_file() argument 169 line_len = strlen(driver_name) + len + 4; in append_to_file() 194 driver_name, entry_separator, one_entry); in append_to_file() 228 char *driver_name, in append_to_minor_perm() argument 257 line_len = strlen(driver_name) + len + 4; in append_to_minor_perm() 276 driver_name, one_entry); in append_to_minor_perm() 355 char *driver_name, in delete_entry() argument 479 if (strcmp(driver_name, drv) != 0) { in delete_entry() 573 get_major_no(char *driver_name, char *file_name) in get_major_no() argument [all …]
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_acpi.c | 66 char *driver_name; in devinfo_acpi_add() local 74 driver_name = di_driver_name(node); in devinfo_acpi_add() 75 if ((driver_name == NULL) || (strcmp(driver_name, "acpi_drv") != 0)) { in devinfo_acpi_add() 135 char *driver_name; in devinfo_power_button_add() local 137 driver_name = di_driver_name(node); in devinfo_power_button_add() 138 if ((driver_name == NULL) || (strcmp(driver_name, "power") != 0)) { in devinfo_power_button_add()
|
H A D | devinfo_usb.c | 45 static void set_usb_properties(HalDevice *d, di_node_t node, gchar *devfs_path, char *driver_name); 129 char *driver_name, *binding_name; in devinfo_usb_add() local 138 driver_name = di_driver_name (node); in devinfo_usb_add() 173 set_usb_properties (d, node, devfs_path, driver_name); in devinfo_usb_add() 176 if ((driver_name != NULL) && (strcmp (driver_name, "usb_mid") == 0)) { in devinfo_usb_add() 220 if (driver_name != NULL) { in devinfo_usb_add() 221 if (strcmp (driver_name, "scsa2usb") == 0) { in devinfo_usb_add() 223 } else if (strcmp (driver_name, "usbprn") == 0) { in devinfo_usb_add() 225 } else if (strcmp(driver_name, "hid") == 0) { in devinfo_usb_add() 230 } else if (strcmp(driver_name, "usbvc") == 0) { in devinfo_usb_add() [all …]
|
H A D | devinfo_ieee1394.c | 51 char *driver_name; in devinfo_ieee1394_add() local 62 if ((driver_name = di_driver_name (node)) == NULL) { in devinfo_ieee1394_add() 66 if (strcmp (driver_name, "scsa1394") == 0) { in devinfo_ieee1394_add()
|
H A D | devinfo_misc.c | 201 char *driver_name; in devinfo_default_add() local 210 driver_name = di_driver_name (node); in devinfo_default_add() 211 if ((driver_name != NULL) && in devinfo_default_add() 212 (strcmp (driver_name, "lofi") != 0)) { in devinfo_default_add()
|
H A D | devinfo_storage.c | 206 char *driver_name; in devinfo_ide_storage_add() local 209 if ((driver_name = di_driver_name (node)) == NULL) { in devinfo_ide_storage_add() 219 "%s/%s%d", hal_device_get_udi (parent), driver_name, di_instance (node)); in devinfo_ide_storage_add() 250 char *driver_name; in devinfo_scsi_add() local 254 driver_name = di_driver_name (node); in devinfo_scsi_add() 255 if ((driver_name == NULL) || (strcmp (driver_name, "sd") != 0)) { in devinfo_scsi_add() 375 char *driver_name; in devinfo_blkdev_add() local 379 driver_name = di_driver_name (node); in devinfo_blkdev_add() 380 if ((driver_name == NULL) || (strcmp (driver_name, "blkdev") != 0)) { in devinfo_blkdev_add() 404 char *driver_name; in devinfo_blkdev_storage_add() local [all …]
|
H A D | devinfo_cpu.c | 57 char *driver_name, *s; in devinfo_cpu_add() local 170 if ((driver_name = di_driver_name (node)) != NULL) { in devinfo_cpu_add() 172 driver_name); in devinfo_cpu_add()
|
H A D | sysevent.c | 449 char *driver_name; in sysevent_devfs_add() local 458 if ((driver_name = di_driver_name (node)) == NULL) in sysevent_devfs_add() 462 if ((strcmp (driver_name, "scsa2usb") == 0) || in sysevent_devfs_add() 463 (strcmp (driver_name, "usbprn") == 0)) in sysevent_devfs_add()
|
H A D | devinfo.c | 88 char *driver_name, *s; in devinfo_set_default_properties() local 113 if ((driver_name = di_driver_name (node)) != NULL) { in devinfo_set_default_properties() 115 driver_name); in devinfo_set_default_properties()
|
/illumos-gate/usr/src/uts/sun4u/javelin/io/ |
H A D | envctrltwo.c | 133 static char driver_name[] = "envctrltwo"; variable 848 driver_name, unitp->instance); in envctrl_ioctl() 908 driver_name, unitp->instance); in envctrl_ioctl() 943 driver_name, unitp->instance); in envctrl_ioctl() 971 driver_name, unitp->instance); in envctrl_ioctl() 1026 driver_name, unitp->instance); in envctrl_ioctl() 1047 driver_name, unitp->instance); in envctrl_ioctl() 1112 driver_name, unitp->instance); in envctrl_ioctl() 1129 driver_name, unitp->instance); in envctrl_ioctl() 1225 driver_name, unitp->instance); in envctrl_dev_isr() [all …]
|
/illumos-gate/usr/src/cmd/sysdef/ |
H A D | sdevinfo.c | 70 char *driver_name; in dump_node() local 95 if (driver_name = di_driver_name(node)) { in dump_node() 97 driver_name); in dump_node() 111 if (driver_name = di_driver_name(node)) { in dump_node() 113 driver_name); in dump_node()
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/ |
H A D | SUNWudaplt.conf | 26 driver_name=tavor u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 " " 27 driver_name=arbel u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 " " 28 driver_name=hermon u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 " "
|
/illumos-gate/usr/src/common/devid/ |
H A D | devid_smp.c | 89 char *driver_name, /* IN */ in ddi_devid_smp_encode() argument 214 if (driver_name != NULL) { in ddi_devid_smp_encode() 215 driver_name_len = strlen(driver_name); in ddi_devid_smp_encode() 218 driver_name += driver_name_len - DEVID_HINT_SIZE; in ddi_devid_smp_encode() 221 bcopy(driver_name, i_devid->did_driver, driver_name_len); in ddi_devid_smp_encode()
|
H A D | devid_scsi.c | 119 static int devid_scsi_init(char *driver_name, 155 char *driver_name, /* IN */ in devid_scsi_encode() argument 282 rval = devid_scsi_init(driver_name, in devid_scsi_encode() 1092 char *driver_name, in devid_scsi_init() argument 1127 if (driver_name != NULL) { in devid_scsi_init() 1128 driver_name_len = strlen(driver_name); in devid_scsi_init() 1131 driver_name += driver_name_len - DEVID_HINT_SIZE; in devid_scsi_init() 1134 bcopy(driver_name, i_devid->did_driver, driver_name_len); in devid_scsi_init()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 344 char *driver_name; in getnameinst() local 348 if ((driver_name = di_driver_name(node)) == NULL) { in getnameinst() 353 (void) strncpy(name, driver_name, namelen); in getnameinst() 370 char *driver_name; in walk_callback() local 373 driver_name = di_driver_name(node); in walk_callback() 374 if (driver_name != NULL) { in walk_callback() 375 if (strcmp(driver_name, warg->name) == 0 && in walk_callback()
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | config.c | 117 static const char *driver_name[] = { variable 130 (dev->type < sizeof(driver_name)/sizeof(driver_name[0]))) { in probe() 131 type_name = driver_name[dev->type]; in probe()
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | Sun_sasGetPhyStatistics.c | 49 char *driver_name, kstat_name[256]; in Sun_sasGetPhyStatistics() local 167 driver_name = di_driver_name(node); in Sun_sasGetPhyStatistics() 168 if (driver_name == NULL) { in Sun_sasGetPhyStatistics() 187 driver_name, iport_wwn, instance, phy_ptr->phy.PhyIdentifier); in Sun_sasGetPhyStatistics()
|
/illumos-gate/usr/src/cmd/mdb/common/modules/usba/ |
H A D | prtusb.c | 794 char driver_name[STRLEN] = ""; in prt_usb_tree_node() local 817 mdb_devinfo2driver(paddr, driver_name, STRLEN); in prt_usb_tree_node() 818 mdb_printf("(driver name: %s)\n", driver_name); in prt_usb_tree_node() 832 mdb_snprintf(strbuf, STRLEN, "%s_statep", driver_name); in prt_usb_tree_node() 838 mdb_snprintf(strbuf, STRLEN, "%s_errlevel", driver_name); in prt_usb_tree_node() 843 if (strcmp(driver_name, "ehci") == 0) { in prt_usb_tree_node() 851 if (strcmp(driver_name, "ohci") == 0) { in prt_usb_tree_node() 859 if (strcmp(driver_name, "uhci") == 0) { in prt_usb_tree_node() 867 if (strcmp(driver_name, "hubd") == 0) { in prt_usb_tree_node() 875 if (strcmp(driver_name, "hid") == 0) { in prt_usb_tree_node()
|
/illumos-gate/usr/src/lib/libdevid/ |
H A D | libdevid.h | 45 extern int devid_scsi_encode(int version, char *driver_name, uchar_t *inq, 49 extern int devid_smp_encode(int version, char *driver_name,
|
/illumos-gate/usr/src/uts/sun4v/io/niumx/ |
H A D | niumx_tools.c | 80 char *driver_name, char *path_name, int instance); 244 niumxtool_fill_in_intr_devs(pcitool_intr_dev_t *dev, char *driver_name, in niumxtool_fill_in_intr_devs() argument 247 (void) strlcpy(dev->driver_name, driver_name, MAXMODCONFNAME); in niumxtool_fill_in_intr_devs()
|
/illumos-gate/usr/src/uts/common/io/ib/ibtl/ |
H A D | ibtl_ibnex.c | 653 char *driver_name, size_t driver_name_size, int *driver_instance, in ibtl_ibnex_query_hca_byguid() argument 661 hca_attrs, driver_name, (int)driver_name_size, driver_instance); in ibtl_ibnex_query_hca_byguid() 671 if (strlcpy(driver_name, in ibtl_ibnex_query_hca_byguid()
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_ioctl.h | 51 uint8_t driver_name[32]; member
|