Home
last modified time | relevance | path

Searched refs:driver_name (Results 1 – 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/cmd/modload/
H A Dupdate_drv.c46 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 Dadd_drv.c57 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 Drem_drv.c59 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 Ddrvsubr.c83 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 Ddevinfo_acpi.c66 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 Ddevinfo_usb.c45 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 Ddevinfo_ieee1394.c51 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 Ddevinfo_misc.c201 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 Ddevinfo_storage.c206 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 Ddevinfo_cpu.c57 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 Dsysevent.c449 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 Ddevinfo.c88 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 Denvctrltwo.c133 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 Dsdevinfo.c70 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 DSUNWudaplt.conf26 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 Ddevid_smp.c89 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 Ddevid_scsi.c119 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 Dth_manage.c344 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 Dconfig.c117 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 DSun_sasGetPhyStatistics.c49 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 Dprtusb.c794 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 Dlibdevid.h45 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 Dniumx_tools.c80 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 Dibtl_ibnex.c653 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 Doce_ioctl.h51 uint8_t driver_name[32]; member

123