/illumos-gate/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);
|
/illumos-gate/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 …]
|
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 1488 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in l_get_box_list() local 1615 status = g_get_wwn(result, port_wwn, node_wwn, in l_get_box_list() 1620 port_wwn[0], port_wwn[1], port_wwn[2], in l_get_box_list() 1621 port_wwn[3], port_wwn[4], port_wwn[5], in l_get_box_list() 1622 port_wwn[6], port_wwn[7]); in l_get_box_list() 1623 bcopy((void *)port_wwn, in l_get_box_list() 2484 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; in l_get_disk_status() local 2619 port_wwn, node_wwn, in l_get_disk_status() 2626 port_wwn[0], port_wwn[1], port_wwn[2], port_wwn[3], in l_get_disk_status() 2627 port_wwn[4], port_wwn[5], port_wwn[6], port_wwn[7]); in l_get_disk_status() [all …]
|
/illumos-gate/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] != '\0')) { 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 != '\0')) { 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 | 258 string_to_wwn(const uchar_t *string, uchar_t *port_wwn) in string_to_wwn() argument 264 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 | 715 print_fabric_dtype_prop(uchar_t *hba_port_wwn, uchar_t *port_wwn, in print_fabric_dtype_prop() argument 728 if (wwnConversion(hba_port_wwn) != wwnConversion(port_wwn)) { in print_fabric_dtype_prop()
|
/illumos-gate/usr/src/uts/common/sys/fc4/ |
H A D | fcio.h | 221 char port_wwn[2][17]; /* Port WWN \0 */ member 246 char port_wwn[17]; /* Port WWN \0 */ member
|
H A D | fcal_linkapp.h | 268 uchar_t port_wwn[8]; member
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 541 uint8_t *port_wwn, uint32_t index, fc_tgt_hba_port_attributes_t *port_attr, in fct_get_discovered_port_attr() argument 550 iport = fct_get_iport_per_wwn(port_wwn); in fct_get_discovered_port_attr() 617 fct_get_port_attr(uint8_t *port_wwn, in fct_get_port_attr() argument 624 iport = fct_get_iport_per_wwn(port_wwn); in fct_get_port_attr() 626 return (fct_get_adapter_port_attr(iport, port_wwn, in fct_get_port_attr() 636 port_wwn, 8) == 0 && in fct_get_port_attr() 655 fct_get_port_stats(uint8_t *port_wwn, in fct_get_port_stats() argument 659 fct_i_local_port_t *iport = fct_get_iport_per_wwn(port_wwn); in fct_get_port_stats() 700 fct_get_link_status(uint8_t *port_wwn, uint64_t *dest_id, in fct_get_link_status() argument 703 fct_i_local_port_t *iport = fct_get_iport_per_wwn(port_wwn); in fct_get_link_status() [all …]
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.h | 100 FCOE_PORT_WWN port_wwn; member
|
/illumos-gate/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
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/ |
H A D | g_state.h | 161 uchar_t port_wwn[WWN_SIZE]; member
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fctio.h | 71 uint8_t port_wwn[1][8]; member
|
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcoeadm.c | 80 wwnconvert((unsigned char *)&attr->port_wwn)); in printFCOEPortInfo()
|
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | sfvar.h | 326 uchar_t port_wwn[FC_WWN_SIZE]; member
|
/illumos-gate/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()
|
/illumos-gate/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()
|
H A D | fcoei_lv.c | 1539 bcopy(&els_adisc->port_wwn, FPLD + offset, 8); in fcoei_fill_els_adisc_cmd() 1714 bcopy(&els_adisc->port_wwn, FPLD + offset, FC_WWN_SIZE); in fcoei_fill_els_adisc_resp()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 3455 fctl_alloc_remote_port(fc_local_port_t *port, la_wwn_t *port_wwn, in fctl_alloc_remote_port() argument 3472 pd->pd_port_name = *port_wwn; in fctl_alloc_remote_port() 4520 la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep) in fctl_create_remote_port() argument 4555 pd = fctl_get_remote_port_by_pwwn_mutex_held(port, port_wwn); in fctl_create_remote_port() 4575 if ((pd = fctl_alloc_remote_port(port, port_wwn, d_id, in fctl_create_remote_port() 4623 char string[(FCTL_WWN_SIZE(port_wwn) << 1) + 1]; in fctl_create_remote_port() 4626 fc_wwn_to_str(port_wwn, string); in fctl_create_remote_port()
|