/titanic_41/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_list.c | 93 static fpcfga_ret_t init_ldata_for_accessible_FCP_dev(const char *port_wwn, 96 static fpcfga_ret_t is_dyn_ap_on_ldata_list(const char *port_wwn, 98 static fpcfga_ret_t is_FCP_dev_ap_on_ldata_list(const char *port_wwn, 101 static fpcfga_ret_t init_ldata_for_mpath_dev(di_path_t path, char *port_wwn, 103 static fpcfga_ret_t insert_ldata_to_ldatalist(const char *port_wwn, 105 static fpcfga_ret_t insert_fc_dev_ldata(const char *port_wwn, 107 static fpcfga_ret_t insert_FCP_dev_ldata(const char *port_wwn, int lun_num, 1196 char port_wwn[WWN_SIZE*2+1]; in stat_fc_dev() local 1264 (void) sprintf(port_wwn, "%016llx", in stat_fc_dev() 1270 if (strncmp(port_wwn, lap->apidp->dyncomp, in stat_fc_dev() [all …]
|
H A D | cfga_cvt.c | 60 cvt_dyncomp_to_lawwn(const char *dyncomp, la_wwn_t *port_wwn) in cvt_dyncomp_to_lawwn() argument 66 wwnp = port_wwn->raw_wwn; in cvt_dyncomp_to_lawwn() 198 char port_wwn[WWN_SIZE*2+1]; in is_apid_configured() local 299 (void) sprintf(port_wwn, in is_apid_configured() 305 if (!(strncmp(port_wwn, dyncomp, in is_apid_configured() 338 (void) sprintf(port_wwn, in is_apid_configured() 346 if (!(strncmp(port_wwn, dyncomp, WWN_SIZE*2))) { in is_apid_configured() 712 char *devfs_path, path_name[MAXPATHLEN], *lun_guid, *port_wwn; in construct_nodepath_from_dinode() local 755 if ((port_wwn = calloc(1, WWN_SIZE*2 + 1)) in construct_nodepath_from_dinode() 761 (void) sprintf(port_wwn, "%016llx", in construct_nodepath_from_dinode() [all …]
|
H A D | cfga_cs.c | 1068 char port_wwn[WWN_SIZE*2+1], pathname[MAXPATHLEN]; in unconf_vhci_nodes() local 1100 copy_pwwn_data_to_str(port_wwn, port_wwn_data); in unconf_vhci_nodes() 1132 ++ptr, port_wwn, *lunnump); in unconf_vhci_nodes() 1210 strlen(port_wwn) + 1)) == NULL) { in unconf_vhci_nodes() 1218 sprintf(update_str, "%s%s%s", xport_phys, DYN_SEP, port_wwn); in unconf_vhci_nodes() 1246 char port_wwn[WWN_SIZE*2+1]; in unconf_non_vhci_nodes() local 1295 copy_pwwn_data_to_str(port_wwn, port_wwn_data); in unconf_non_vhci_nodes() 1303 port_wwn, *lunnump); in unconf_non_vhci_nodes() 1376 strlen(port_wwn) + 1)) == NULL) { in unconf_non_vhci_nodes() 1384 sprintf(update_str, "%s%s%s", xport_phys, DYN_SEP, port_wwn); in unconf_non_vhci_nodes() [all …]
|
H A D | cfga_fp.h | 484 int cvt_dyncomp_to_lawwn(const char *dyncomp, la_wwn_t *port_wwn);
|
/titanic_41/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 386 get_scsi_vhci_port_wwn(char *phys_path, uchar_t *port_wwn) in get_scsi_vhci_port_wwn() argument 425 return (string_to_wwn((uchar_t *)pwwn1, port_wwn)); in get_scsi_vhci_port_wwn() 444 if (memcmp(pwwn, wwn_list_s->port_wwn, WWN_SIZE) == 0) { in search_wwn_entry() 468 memcpy(new_wwn->port_wwn, pwwn, WWN_SIZE); in add_wwn_entry() 503 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in g_get_wwn_list() local 533 port_wwn)) == 0) { in g_get_wwn_list() 534 if ((search_wwn_entry(wwn_list_found, port_wwn, in g_get_wwn_list() 538 port_wwn, in g_get_wwn_list() 549 port_wwn, node_wwn, &al_pa, 0)) != 0) { in g_get_wwn_list() 592 copy_wwn_data_to_str(wwn_list_p->port_wwn_s, port_wwn); in g_get_wwn_list() [all …]
|
/titanic_41/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 1487 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in l_get_box_list() local 1614 status = g_get_wwn(result, port_wwn, node_wwn, in l_get_box_list() 1619 port_wwn[0], port_wwn[1], port_wwn[2], in l_get_box_list() 1620 port_wwn[3], port_wwn[4], port_wwn[5], in l_get_box_list() 1621 port_wwn[6], port_wwn[7]); in l_get_box_list() 1622 bcopy((void *)port_wwn, in l_get_box_list() 2483 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in l_get_disk_status() local 2618 port_wwn, node_wwn, in l_get_disk_status() 2625 port_wwn[0], port_wwn[1], port_wwn[2], port_wwn[3], in l_get_disk_status() 2626 port_wwn[4], port_wwn[5], port_wwn[6], port_wwn[7]); in l_get_disk_status() [all …]
|
/titanic_41/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 1860 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in up_encl_name() local 1928 if (err = g_get_wwn(path_phys, port_wwn, node_wwn, &al_pa, in up_encl_name() 2321 (*fc_stats->port_wwn[port] != NULL)) { in display_socal_stats() 2326 fc_stats->port_wwn[port]); in display_socal_stats() 2402 uchar_t port_wwn[WWN_SIZE]; in display_sf_stats() local 2443 if (err = g_get_wwn(path_phys, port_wwn, node_wwn, &al_pa, in display_sf_stats() 2513 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in adm_display_err() local 2617 (*ifp_stats.port_wwn != NULL)) { in adm_display_err() 2622 ifp_stats.port_wwn); in adm_display_err() 2674 if (err = g_get_wwn(path_phys, port_wwn, in adm_display_err() [all …]
|
H A D | fabric_conf.c | 262 string_to_wwn(const uchar_t *string, uchar_t *port_wwn) in string_to_wwn() argument 268 wwnp = port_wwn; in string_to_wwn()
|
H A D | common.h | 459 void print_fabric_dtype_prop(uchar_t *hba_port_wwn, uchar_t *port_wwn, 461 void print_private_loop_dtype_prop(uchar_t *hba_port_wwn, uchar_t *port_wwn,
|
H A D | hotplug.c | 490 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in hotplug() local 715 if ((err = g_get_wwn(dev_path, port_wwn, in hotplug() 758 if ((err = g_get_wwn(ses_path, port_wwn, in hotplug() 1730 uchar_t port_wwn[WWN_SIZE], node_wwn[WWN_SIZE]; in h_post_hotplug_sena() local 1769 if ((err = g_get_wwn(ses_path, port_wwn, in h_post_hotplug_sena()
|
H A D | lux_util.c | 718 print_fabric_dtype_prop(uchar_t *hba_port_wwn, uchar_t *port_wwn, in print_fabric_dtype_prop() argument 731 if (wwnConversion(hba_port_wwn) != wwnConversion(port_wwn)) { in print_fabric_dtype_prop()
|
/titanic_41/usr/src/uts/common/sys/fc4/ |
H A D | fcio.h | 223 char port_wwn[2][17]; /* Port WWN \0 */ member 248 char port_wwn[17]; /* Port WWN \0 */ member
|
H A D | fcal_linkapp.h | 270 uchar_t port_wwn[8]; member
|
/titanic_41/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 522 uint8_t *port_wwn, uint32_t index, fc_tgt_hba_port_attributes_t *port_attr, in fct_get_discovered_port_attr() argument 531 iport = fct_get_iport_per_wwn(port_wwn); in fct_get_discovered_port_attr() 598 fct_get_port_attr(uint8_t *port_wwn, in fct_get_port_attr() argument 605 iport = fct_get_iport_per_wwn(port_wwn); in fct_get_port_attr() 607 return (fct_get_adapter_port_attr(iport, port_wwn, in fct_get_port_attr() 617 port_wwn, 8) == 0 && in fct_get_port_attr() 636 fct_get_port_stats(uint8_t *port_wwn, in fct_get_port_stats() argument 640 fct_i_local_port_t *iport = fct_get_iport_per_wwn(port_wwn); in fct_get_port_stats() 681 fct_get_link_status(uint8_t *port_wwn, uint64_t *dest_id, in fct_get_link_status() argument 684 fct_i_local_port_t *iport = fct_get_iport_per_wwn(port_wwn); in fct_get_link_status() [all …]
|
/titanic_41/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.h | 100 FCOE_PORT_WWN port_wwn; member
|
/titanic_41/usr/src/lib/storage/libg_fc/common/hdrs/ |
H A D | g_state.h | 161 uchar_t port_wwn[WWN_SIZE]; member
|
/titanic_41/usr/src/uts/common/sys/fibre-channel/impl/ |
H A D | fc_portif.h | 362 la_wwn_t *node_wwn, la_wwn_t *port_wwn, uint32_t d_id, 366 la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep);
|
H A D | fc_linkapp.h | 125 la_wwn_t port_wwn; member
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | fctio.h | 70 uint8_t port_wwn[1][8]; member
|
/titanic_41/usr/src/cmd/fcinfo/ |
H A D | fcoeadm.c | 80 wwnconvert((unsigned char *)&attr->port_wwn)); in printFCOEPortInfo()
|
/titanic_41/usr/src/lib/sun_fc/common/ |
H A D | TgtFCHBA.cc | 319 uint64_t tmp = ntohll(*((uint64_t *)&tgthbaList->port_wwn[i][0])); in loadAdapters()
|
/titanic_41/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | sfvar.h | 326 uchar_t port_wwn[FC_WWN_SIZE]; member
|
/titanic_41/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 2963 bcopy((caddr_t)&ptr->nport_ww_name, (caddr_t)&privp->port_wwn, in sf_do_prli() 2964 sizeof (privp->port_wwn)); in sf_do_prli() 2992 (caddr_t)&adisc->port_wwn, sizeof (adisc->port_wwn)); in sf_do_adisc() 3235 target = sf_lookup_target(sf, privp->port_wwn, lun); in sf_create_target() 3241 if ((ptarget = sf_lookup_target(sf, privp->port_wwn, in sf_create_target() 3290 bcopy((caddr_t)&privp->port_wwn, in sf_create_target() 3291 (caddr_t)&ntarget->sft_port_wwn, sizeof (privp->port_wwn)); in sf_create_target() 3303 hash = SF_HASH(privp->port_wwn, lun); in sf_create_target() 3360 if (bcmp((caddr_t)&privp->port_wwn, (caddr_t)&otarget-> in sf_create_target() 3361 sft_port_wwn, sizeof (privp->port_wwn))) { in sf_create_target() [all …]
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/fcoei/ |
H A D | fcoei_eth.c | 1016 offset = offsetof(la_els_adisc_t, port_wwn); in fcoei_fill_els_fpkt_resp() 1017 bcopy(src + offset, &els_adisc->port_wwn, 8); in fcoei_fill_els_fpkt_resp()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 3454 fctl_alloc_remote_port(fc_local_port_t *port, la_wwn_t *port_wwn, in fctl_alloc_remote_port() argument 3471 pd->pd_port_name = *port_wwn; in fctl_alloc_remote_port() 4519 la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep) in fctl_create_remote_port() argument 4554 pd = fctl_get_remote_port_by_pwwn_mutex_held(port, port_wwn); in fctl_create_remote_port() 4574 if ((pd = fctl_alloc_remote_port(port, port_wwn, d_id, in fctl_create_remote_port() 4622 char string[(FCTL_WWN_SIZE(port_wwn) << 1) + 1]; in fctl_create_remote_port() 4625 fc_wwn_to_str(port_wwn, string); in fctl_create_remote_port()
|