Home
last modified time | relevance | path

Searched refs:device_path (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/cmd/boot/installboot/
H A Dinstallboot.c601 char *device_path = NULL; in handle_install() local
605 device_path = strdup(argv[1]); in handle_install()
607 if (!device_path || !bootblock) { in handle_install()
613 BOOT_DEBUG("device path: %s, bootblock file path: %s\n", device_path, in handle_install()
617 if (init_device(&install_data.device, device_path) != BC_SUCCESS) { in handle_install()
619 device_path); in handle_install()
644 device_path); in handle_install()
656 free(device_path); in handle_install()
679 char *device_path; in handle_getinfo() local
683 device_path = strdup(argv[0]); in handle_getinfo()
[all …]
/titanic_41/usr/src/cmd/mdb/common/modules/mr_sas/
H A Dmr_sas.c69 char device_path[PATH_MAX]; in display_targets() local
72 *device_path = 0; in display_targets()
73 if (construct_path((uintptr_t)m->dip, device_path) != DCMD_OK) { in display_targets()
74 strcpy(device_path, "couldn't determine device path"); in display_targets()
80 mdb_printf("%s\n", device_path); in display_targets()
/titanic_41/usr/src/lib/sun_sas/common/
H A Ddevtree_hba_disco.c162 (void) strlcpy(port_ptr->device_path, portDevpath, MAXPATHLEN + 1); in add_hba_port_info()
390 if ((strncmp(hba_ptr->device_path, hbaDevpath, in devtree_get_one_hba()
411 (void) strlcpy(new_hba->device_path, hbaDevpath, in devtree_get_one_hba()
412 sizeof (new_hba->device_path)); in devtree_get_one_hba()
417 "%s%s", DEVICES_DIR, new_hba->device_path); in devtree_get_one_hba()
456 "firmware-version", new_hba->device_path); in devtree_get_one_hba()
468 "hardware-version", new_hba->device_path); in devtree_get_one_hba()
480 "driver-version", new_hba->device_path); in devtree_get_one_hba()
508 new_hba->device_path); in devtree_get_one_hba()
522 new_hba->device_path); in devtree_get_one_hba()
H A DSun_sasGetPortType.c62 if (hba_ptr->device_path) { in Sun_sasGetPortType()
65 "data.", hba_ptr->device_path); in Sun_sasGetPortType()
H A DSun_sasGetAdapterPortAttributes.c70 if (hba_ptr->device_path) { in Sun_sasGetAdapterPortAttributes()
73 hba_ptr->device_path); in Sun_sasGetAdapterPortAttributes()
H A DSun_sasRefreshAdapterConfiguration.c117 wa.devpath = hba_ptr->device_path; in Sun_sasRefreshAdapterConfiguration()
137 hba_ptr->device_path); in Sun_sasRefreshAdapterConfiguration()
H A DSun_sasGetDiscoveredPortAttributes.c75 if (hba_ptr->device_path) { in Sun_sasGetDiscoveredPortAttributes()
78 hba_ptr->device_path); in Sun_sasGetDiscoveredPortAttributes()
H A DSun_sasGetPortAttributesByWWN.c74 if (hba_ptr->device_path) { in Sun_sasGetPortAttributesByWWN()
77 "no port data", hba_ptr->device_path); in Sun_sasGetPortAttributesByWWN()
H A Dverify.c49 (void) strlcpy(path, hba_ptr->device_path, sizeof (path)); in verifyAdapter()
H A Dsun_sas.c346 if (hba_ptr->device_path) { in getFirstAdapterPortWWN()
349 "port data", hba_ptr->device_path); in getFirstAdapterPortWWN()
H A Dsun_sas.h129 char device_path[MAXPATHLEN]; member
158 char device_path[MAXPATHLEN]; member
/titanic_41/usr/src/cmd/ibd_upgrade/
H A Dibd_upgrade.sh44 hca_path="/dev/`dirname $device_path`"
45 bname=`basename $device_path`
126 | while read x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 device_path
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dsysctrl_quiesce.c215 static char device_path[MAXPATHLEN]; variable
243 (void) ddi_pathname(dip, device_path); in sysctrl_suspend_devices()
244 DEBUGP(errp(" suspending device %s\n", device_path)); in sysctrl_suspend_devices()
247 device_path)); in sysctrl_suspend_devices()
249 (void) strncpy(pkt->errbuf, device_path, in sysctrl_suspend_devices()
287 (void) ddi_pathname(dip, device_path); in sysctrl_resume_devices()
288 DEBUGP(errp(" resuming device %s\n", device_path)); in sysctrl_resume_devices()
297 device_path); in sysctrl_resume_devices()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dndievents.c111 char device_path[MAXPATHLEN]; in ndi_callback_print() local
135 if (dip_to_pathname(&devi, device_path, sizeof (device_path)) in ndi_callback_print()
140 mdb_printf("\t\tCallback Registered By: %s\n", device_path); in ndi_callback_print()
/titanic_41/usr/src/cmd/boot/installgrub/
H A Dinstallgrub.c279 char *device_path = NULL; in handle_install() local
284 device_path = strdup(argv[2]); in handle_install()
288 if (!stage1_path || !stage2_path || !device_path) { in handle_install()
295 stage1_path, stage2_path, device_path); in handle_install()
297 if (init_device(&install_data.device, device_path) != BC_SUCCESS) { in handle_install()
299 "information for %s\n"), device_path); in handle_install()
329 device_path); in handle_install()
348 free(device_path); in handle_install()
370 char *device_path; in handle_getinfo() local
374 device_path = strdup(argv[0]); in handle_getinfo()
[all …]
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/ontario/common/
H A Dhuron.c297 char device_path[MAXSTRLEN]; in huron_hw_rev_callback() local
359 (void) strcpy(device_path, path); in huron_hw_rev_callback()
365 if (strlen(device_path) > 45) in huron_hw_rev_callback()
366 log_printf("%45.44s+", device_path); in huron_hw_rev_callback()
368 log_printf("%46s", device_path); in huron_hw_rev_callback()
H A Dpelton.c295 char device_path[MAXSTRLEN]; in pelton_hw_rev_callback() local
369 (void) strcpy(device_path, path); in pelton_hw_rev_callback()
375 if (strlen(device_path) > 38) in pelton_hw_rev_callback()
376 log_printf("%38.37s+", device_path); in pelton_hw_rev_callback()
378 log_printf("%39s", device_path); in pelton_hw_rev_callback()
H A Dstpaul.c252 char device_path[MAXSTRLEN]; in stpaul_hw_rev_callback() local
344 (void) strlcpy(device_path, path, sizeof (device_path)); in stpaul_hw_rev_callback()
350 if (strlen(device_path) > 38) in stpaul_hw_rev_callback()
351 log_printf("%38.37s+", device_path); in stpaul_hw_rev_callback()
353 log_printf("%39s", device_path); in stpaul_hw_rev_callback()
H A Dontario.c410 char device_path[MAXSTRLEN]; in ontario_hw_rev_callback() local
482 (void) strcpy(device_path, path); in ontario_hw_rev_callback()
488 if (strlen(device_path) > 38) in ontario_hw_rev_callback()
489 log_printf("%38.37s+", device_path); in ontario_hw_rev_callback()
491 log_printf("%39s", device_path); in ontario_hw_rev_callback()
/titanic_41/usr/src/uts/sun4v/io/
H A Dvds.c452 char device_path[MAXPATHLEN + 1]; /* vdisk device */ member
4082 ", rebooting the system", vd->device_path); in vd_reset_access()
4085 panic(VD_RESET_ACCESS_FAILURE_MSG, vd->device_path); in vd_reset_access()
4088 cmn_err(CE_WARN, VD_RESET_ACCESS_FAILURE_MSG, vd->device_path); in vd_reset_access()
4461 PR0("Retry setting up disk (%s)", vd->device_path); in vd_process_attr_msg()
5505 PR0("'variant' property exists for %s", vd->device_path); in vd_is_atapi_device()
5513 PR0("'atapi' property exists for %s", vd->device_path); in vd_is_atapi_device()
5536 vd->device_path, status); in vd_setup_full_disk()
5660 char *device_path = vd->device_path; in vd_setup_partition_vtoc() local
5666 PRN("%s geometry claims 0 sectors per track", device_path); in vd_setup_partition_vtoc()
[all …]
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/montoya/common/
H A Dmontoya.c345 char device_path[MAXSTRLEN]; in montoya_hw_rev_callback() local
410 (void) strcpy(device_path, path); in montoya_hw_rev_callback()
416 if (strlen(device_path) > 38) in montoya_hw_rev_callback()
417 log_printf("%38.37s+", device_path); in montoya_hw_rev_callback()
419 log_printf("%39s", device_path); in montoya_hw_rev_callback()
/titanic_41/usr/src/lib/libprtdiag_psr/sparc/monza/common/
H A Dmonza.c382 char device_path[MAXSTRLEN]; in monza_hw_rev_callback() local
457 (void) strcpy(device_path, path); in monza_hw_rev_callback()
463 if (strlen(device_path) > 38) in monza_hw_rev_callback()
464 log_printf("%38.37s+", device_path); in monza_hw_rev_callback()
466 log_printf("%39s", device_path); in monza_hw_rev_callback()
/titanic_41/usr/src/cmd/mdb/common/modules/mpt_sas/
H A Dmpt_sas.c660 char device_path[PATH_MAX]; in display_deviceinfo() local
662 *device_path = 0; in display_deviceinfo()
663 if (construct_path((uintptr_t)mp->m_dip, device_path) != DCMD_OK) { in display_deviceinfo()
664 strcpy(device_path, "couldn't determine device path"); in display_deviceinfo()
724 mdb_printf("%s\n", device_path); in display_deviceinfo()
/titanic_41/usr/src/lib/libdevinfo/
H A Ddevfsmap.c1977 devfs_walk_children_minors(const char *device_path, struct stat *st, in devfs_walk_children_minors() argument
1989 if ((dir = opendir(device_path)) == NULL) { in devfs_walk_children_minors()
2000 "%s/%s", device_path, dp->d_name); in devfs_walk_children_minors()
2038 devfs_walk_device_minors(const char *device_path, struct stat *st, in devfs_walk_device_minors() argument
2061 if (strlcpy(devpath, device_path, MAXPATHLEN) >= MAXPATHLEN) in devfs_walk_device_minors()
2122 devfs_walk_minor_nodes(const char *device_path, in devfs_walk_minor_nodes() argument
2129 rv = devfs_walk_device_minors(device_path, in devfs_walk_minor_nodes()
2132 rv = devfs_walk_children_minors(device_path, in devfs_walk_minor_nodes()
/titanic_41/usr/src/uts/i86pc/sys/
H A Dbiosdisk.h35 typedef union device_path { union

12