Home
last modified time | relevance | path

Searched refs:nexus_path (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dhot.c221 char nexus_path[MAXPATHLEN], *nexus_path_ptr; in g_force_lip() local
307 (void) strcpy(nexus_path, nexus_path_ptr); in g_force_lip()
310 " Path %s\n", nexus_path); in g_force_lip()
313 if ((fd = g_object_open(nexus_path, in g_force_lip()
322 "\n on loop at: %s\n"), nexus_path); in g_force_lip()
H A Dmap.c2157 char *char_ptr, *nexus_path; in g_dev_map_init() local
2639 if ((err = g_get_nexus_path(drvr_path, &nexus_path)) != 0) { in g_dev_map_init()
2646 g_object_open(nexus_path, O_NDELAY | O_RDONLY)) == -1) { in g_dev_map_init()
2648 S_FREE(nexus_path); in g_dev_map_init()
2658 S_FREE(nexus_path); in g_dev_map_init()
2663 S_FREE(nexus_path); in g_dev_map_init()
3325 char nexus_path[MAXPATHLEN], *nexus_path_ptr; in g_rdls() local
3427 (void) strcpy(nexus_path, nexus_path_ptr); in g_rdls()
3431 if ((fd = g_object_open(nexus_path, in g_rdls()
3483 (void) strcpy(c1->driver_path, nexus_path); in g_rdls()
[all …]
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c868 char *nexus_path = di_devfs_minor_path(minor); in process_nexus_node() local
870 if (nexus_path == NULL) { in process_nexus_node()
882 ((strstr(nexus_path, pathname) != nexus_path) || in process_nexus_node()
883 (strlen(nexus_path) != in process_nexus_node()
885 di_devfs_path_free(nexus_path); in process_nexus_node()
889 if ((fd = open_node(nexus_path, walk_args_p->input_args_p)) >= 0) { in process_nexus_node()
892 if ((trunc = strstr(nexus_path, PCI_MINOR_REG)) != NULL) { in process_nexus_node()
901 "**********\n", nexus_path); in process_nexus_node()
912 nexus_path, strerror(errno)); in process_nexus_node()
917 di_devfs_path_free(nexus_path); in process_nexus_node()
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus.h78 char *nexus_path; /* Pathname of Nexus */ member
H A Dcardbus_hp.c123 cbp->nexus_path = kmem_alloc(strlen(tbuf) + 1, KM_SLEEP); in cardbus_init_hotplug()
124 (void) strcpy(cbp->nexus_path, tbuf); in cardbus_init_hotplug()
126 "cardbus_init_hotplug: nexus_path set to %s", cbp->nexus_path); in cardbus_init_hotplug()
149 if (hpc_slot_register(cbp->cb_dip, cbp->nexus_path, &slot_info, in cardbus_init_hotplug()
H A Dcardbus.c558 if (cbp->nexus_path) in cardbus_detach()
559 kmem_free(cbp->nexus_path, strlen(cbp->nexus_path) + 1); in cardbus_detach()
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsghsc.h124 char nexus_path[MAXPATHLEN]; member
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_util.c1686 char nexus_path[MAXPATHLEN]; member
1855 (void) snprintf(dln->nexus_path, MAXPATHLEN, in mac_get_nexus_node()
1885 dln.nexus_path[0] = '\0'; in mac_check_interrupt_binding()
1908 err = ldi_open_by_name(dln.nexus_path, FREAD|FWRITE, kcred, &lh, li); in mac_check_interrupt_binding()
/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsghsc.c638 nexuspath = sghsc->sghsc_slot_table[i].nexus_path; in sghsc_register_slots()