/illumos-gate/usr/src/lib/sun_fc/common/ |
H A D | Sun_fcAdapterReturnWWN.cc | 38 HBA_WWN *pwwn) { 36 Sun_fcAdapterReturnWWN(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn) argument
|
H A D | Sun_fcGetPortAttributesByWWN.cc | 40 * @param pwwn The wwn of the desired target 44 HBA_STATUS Sun_fcGetPortAttributesByWWN(HBA_HANDLE handle, HBA_WWN pwwn, argument 55 *attributes = myHandle->getPortAttributes(wwnConversion(pwwn.wwn));
|
H A D | Sun_fcAdapterCreateWWN.cc | 55 HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn, 63 if ((nwwn == NULL) || (pwwn == NULL)) { 98 memcpy(pwwn->wwn, randomwwn.wwn, sizeof(HBA_WWN)); 54 Sun_fcAdapterCreateWWN(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn, HBA_WWN *OUI, HBA_INT32 method) argument
|
H A D | TgtFCHBAPort.h | 111 virtual void sendReadCapacity(uint64_t pwwn, argument
|
H A D | FCHBAPort.cc | 477 // Get Port's NPIV port list ( include nwwn and pwwn and path) 1071 void FCHBAPort::sendReadCapacity(uint64_t pwwn, argument 1079 uint64_t targetWwn = htonll(pwwn);
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_fp.c | 51 la_wwn_t pwwn; local 131 if (cvt_dyncomp_to_lawwn(apidt.dyncomp, &pwwn)) { 139 ret = dev_change_state(state_change_cmd, &apidt, &pwwn,
|
H A D | cfga_cvt.c | 47 cvt_lawwn_to_dyncomp(const la_wwn_t *pwwn, char **dyncomp, int *l_errnop) argument 55 (wwnConversion((uchar_t *)pwwn->raw_wwn)));
|
H A D | cfga_cs.c | 72 la_wwn_t pwwn; local 80 if (cvt_dyncomp_to_lawwn(apidt->dyncomp, &pwwn)) { 87 pwwn.raw_wwn) == -1) { 677 dev_change_state(cfga_cmd_t state_change_cmd, apid_t *apidt, la_wwn_t *pwwn, argument 759 *((HBA_WWN *)(pwwn)), 787 *(HBA_WWN *)(pwwn), lun, 0, 0, &inq, &inquirySize, 812 *(HBA_WWN *)(pwwn), lun, 0, 0, &inq, &inquirySize, 884 status = getPortAttrsByWWN(handle, *((HBA_WWN *)(pwwn)), 944 status = getPortAttrsByWWN(handle, *((HBA_WWN *)(pwwn)), 1545 la_wwn_t pwwn; local [all...] |
H A D | cfga_list.c | 119 la_wwn_t *pwwn, void *scmdbuf, size_t scmdbuf_len, void *respbuf, 177 la_wwn_t pwwn; local 253 if (cvt_dyncomp_to_lawwn(apidp->dyncomp, &pwwn) != 0) { 268 *((HBA_WWN *)(&pwwn)), &discPortAttrs); 370 memcpy(&pwwn, &discPortAttrs.PortWWN, sizeof (la_wwn_t)); 371 cvt_lawwn_to_dyncomp(&pwwn, &dyncomp, &l_errno); 490 la_wwn_t pwwn; local 601 if (cvt_dyncomp_to_lawwn(larg.apidp->dyncomp, &pwwn) != 0) { 618 *((HBA_WWN *)(&pwwn)), &discPortAttrs); 715 memcpy(&pwwn, 841 init_fcp_scsi_cmd( struct fcp_scsi_cmd *fscsi, uchar_t *lun_num, la_wwn_t *pwwn, void *scmdbuf, size_t scmdbuf_len, void *respbuf, size_t respbuf_len, void *sensebuf, size_t sensebuf_len) argument 940 la_wwn_t pwwn; local 989 la_wwn_t pwwn; local 2873 init_ldata_for_mpath_dev(di_path_t path, char *pwwn, int *l_errnop, fpcfga_list_t *lap) argument [all...] |
/illumos-gate/usr/src/cmd/fcinfo/ |
H A D | fcoeadm.c | 108 FCOE_PORT_WWN pwwn, nwwn; local 117 bzero(&pwwn, 8); 137 memcpy(&pwwn, &portWWN, sizeof (portWWN)); 168 FCOE_PORTTYPE_INITIATOR, pwwn, nwwn, promiscuous);
|
H A D | fcadm-list.c | 512 char pwwn[17]; local 608 WWN2str(pwwn, &vportWWN); 610 NULL, pwwn, 0, NPIV_REMOVE); 626 char nwwn[17], pwwn[17]; local 767 WWN2str(pwwn, &vportWWN); 769 nwwn, pwwn, npivportIndex, NPIV_ADD);
|
/illumos-gate/usr/src/lib/sun_sas/common/ |
H A D | sun_sas.c | 319 HBA_WWN pwwn = {0, 0, 0, 0, 0, 0, 0, 0}; local 332 return (pwwn); /* zero WWN */ 341 return (pwwn); 357 return (pwwn); /* zero WWN */ 360 pwwn = hba_ptr->first_port->port_attributes.PortSpecificAttribute.\ 365 return (pwwn);
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/ |
H A D | pmcs_smhba.c | 130 uint64_t wwn, pwwn; local 137 pwwn = pmcs_barray2wwn(pphy->sas_address); 138 (void) scsi_wwn_to_wwnstr(pwwn, ua_form, paddr);
|
/illumos-gate/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 175 char *pwwn, char *nwwn, 199 "%s:%s:%s:%d:%d", mac_name, pwwn, nwwn, 476 FCOE_PORT_WWN pwwn, 524 if (!isWWNZero(pwwn)) { 526 bcopy(pwwn.wwn, param.fcp_pwwn, 8); 536 bcmp(&pwwn, &nwwn, 8) == 0) { 599 WWN2str(cpwwn, &pwwn); 174 fcoe_add_remove_scf_entry(char *mac_name, char *pwwn, char *nwwn, int is_target, int is_promiscuous, int addRemoveFlag) argument 473 FCOE_CreatePort( const FCOE_UINT8 *macLinkName, FCOE_UINT8 portType, FCOE_PORT_WWN pwwn, FCOE_PORT_WWN nwwn, FCOE_UINT8 promiscuous) argument
|
/illumos-gate/usr/src/lib/hbaapi/common/ |
H A D | HBAAPILIB-sun.c | 705 HBA_WWN *pwwn, 719 portindex, nwwn, pwwn, OUI, method)); 731 HBA_WWN *pwwn) 743 portindex, nwwn, pwwn)); 701 Sun_HBA_AdapterCreateWWN( HBA_HANDLE handle, HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn, HBA_WWN *OUI, HBA_INT32 method) argument 727 Sun_HBA_AdapterReturnWWN( HBA_HANDLE handle, HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn) argument
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/ |
H A D | fc_fcaif.h | 106 la_wwn_t port_nwwn; /* virtual port pwwn */ 141 la_wwn_t pwwn; /* Remote port PWWN */ member in struct:fc_fca_p2p_info
|
H A D | fcgs2.h | 305 la_wwn_t pwwn; member in struct:ns_req_gid_pn 317 la_wwn_t pwwn; member in struct:ns_resp_gpn_id
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fchba.c | 85 int find_supported_inq_page(HBA_HANDLE handle, HBA_WWN hwwn, HBA_WWN pwwn, 410 fetch_mappings(HBA_HANDLE handle, HBA_WWN pwwn, HBA_FCPTARGETMAPPINGV2 **map) { argument 422 status = HBA_GetFcpTargetMappingV2(handle, pwwn, *map); 441 wwnConversion(pwwn.wwn)); 1452 HBA_WWN pwwn, char *path) 1477 (void) memcpy(&cmp->hba_pwwn, &pwwn, 1492 (void) memcpy(&tmp->hba_pwwn, &pwwn, 2126 find_supported_inq_page(HBA_HANDLE handle, HBA_WWN hwwn, HBA_WWN pwwn, argument 2138 status = HBA_ScsiInquiryV2(handle, hwwn, pwwn, lun, 1, 0x00, 1451 add_lun_path(struct lun_tracking *head, HBA_FCPSCSIENTRYV2 *map, HBA_WWN pwwn, char *path) argument
|
H A D | g_adm.c | 122 static int get_host_controller_pwwn(char *hba_path, uchar_t *pwwn); 126 static int get_FC4_host_controller_pwwn(char *hba_path, uchar_t *pwwn); 2977 /* matching input pwwn */ 6382 * pwwn: ptr to a uchar_t array of size WWN_SIZE 6385 get_host_controller_pwwn(char *hba_path, uchar_t *pwwn) argument 6400 if (hba_path == NULL || pwwn == NULL) { 6413 if ((err = get_FC4_host_controller_pwwn(hba_path, pwwn)) != 0) { 6434 (void) memcpy(pwwn, &hba_port.dev_pwwn.raw_wwn[0], 6471 (void) memcpy(pwwn, port_wwn_data, WWN_SIZE); 6490 (void) memcpy(pwwn, promdat 6515 get_FC4_host_controller_pwwn(char *hba_path, uchar_t *pwwn) argument [all...] |
/illumos-gate/usr/src/uts/common/io/fcoe/ |
H A D | fcoe.c | 1245 * Check whether the pwwn or nwwn already exist or not 1255 uint8_t *nwwn, *pwwn, *cnwwn, *cpwwn; local 1267 pwwn = mac->fm_eport.eport_portwwn; 1273 if (memcmp(pwwn, cpwwn, 8) == 0) {
|
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 2488 char pwwn[WWN_S_LEN]; local 2544 (void) strncpy(pwwn, pathlist.path_info[i].path_addr, 2546 pwwn[L_WWN_LENGTH] = '\0'; 2548 if (pwwn[1] == '1') { 2555 pwwn) == NULL)) { 2560 pwwn) == NULL)) { 2572 g_disk_state.port_a_wwn_s, pwwn); 2579 g_disk_state.port_b_wwn_s, pwwn);
|
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/ |
H A D | fct.c | 335 fct_get_iport_per_wwn(uint8_t *pwwn) argument 341 if (bcmp(iport->iport_port->port_pwwn, pwwn, 8) == 0) 348 fct_get_adapter_attr(uint8_t *pwwn, fc_tgt_hba_adapter_attributes_t *hba_attr, argument 355 iport = fct_get_iport_per_wwn(pwwn); 405 fct_get_adapter_port_attr(fct_i_local_port_t *ilport, uint8_t *pwwn, argument 416 iport = fct_get_iport_per_wwn(pwwn);
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 294 * device path AND pwwn 432 * searches wwn_list_found for the pwwn passed in 437 search_wwn_entry(struct wwn_list_found_struct *wwn_list_found, uchar_t *pwwn, argument 444 if (memcmp(pwwn, wwn_list_s->port_wwn, WWN_SIZE) == 0) { 453 * adds a nwwn, pwwn entry to the next entry in wwn_list_found list 456 add_wwn_entry(struct wwn_list_found_struct **wwn_list_found, uchar_t *pwwn, argument 468 memcpy(new_wwn->port_wwn, pwwn, WWN_SIZE); 1341 g_get_inq_dtype(char *fcapath, la_wwn_t pwwn, uchar_t *inq_dtype) argument 1371 if (((err = g_get_dev_port_state(fcapath, pwwn, &state)) 1374 if ((err = g_dev_login(fcapath, pwwn)) ! 1429 get_fca_inq_dtype(char *fcapath, la_wwn_t pwwn, uchar_t *inq_dtype) argument 3755 unsigned long long pwwn; local 5540 uchar_t *nwwn = NULL, *pwwn = NULL; local 5695 get_wwn_data(di_node_t node, uchar_t **nwwn, uchar_t **pwwn) argument 5847 uchar_t *pwwn = NULL; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcip.c | 206 la_wwn_t *pwwn, int matchflag); 231 static int fcip_set_wwn(la_wwn_t *pwwn); 274 static struct fcip_dest *fcip_do_farp(struct fcip *fptr, la_wwn_t *pwwn, 1367 "added entry for pwwn %s and d_id 0x%x", 1402 "logging into pwwn %s, d_id 0x%x", 1408 "new wwn in rt", pwwn, 1929 la_wwn_t *pwwn; local 1942 pwwn = &frp->fcipr_pwwn; 1949 hash_bucket = FCIP_DEST_HASH(pwwn->raw_wwn); 1956 if (fcip_wwn_compare(pwwn, 5703 fcip_set_wwn(la_wwn_t *pwwn) argument 5917 fcip_get_dest(struct fcip *fptr, la_wwn_t *pwwn) argument 6119 la_wwn_t *pwwn; local 6203 fcip_do_farp(struct fcip *fptr, la_wwn_t *pwwn, char *ip_addr, size_t ip_addr_len, int flags) argument 7423 la_wwn_t *pwwn; local [all...] |
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/ |
H A D | fctl.c | 1155 fc_ulp_get_remote_port(opaque_t port_handle, la_wwn_t *pwwn, int *error, argument 1163 pd = fctl_get_remote_port_by_pwwn(port, pwwn); 1200 ((ns_req_gid_pn_t *)(ns_cmd->ns_cmd_buf))->pwwn = *pwwn; 1245 pd = fctl_get_remote_port_by_pwwn(port, pwwn); 1596 fc_ulp_linkreset(opaque_t port_handle, la_wwn_t *pwwn, int sleep) argument 1636 job->job_private = (void *)pwwn; 1659 job->job_private = (void *)pwwn; 1784 fc_ulp_get_pwwn_by_did(opaque_t port_handle, fc_portid_t d_id, la_wwn_t *pwwn) argument 1793 *pwwn 1881 fc_ulp_disable_relogin(opaque_t *fc_port, la_wwn_t *pwwn) argument 1895 fc_ulp_enable_relogin(opaque_t *fc_port, la_wwn_t *pwwn) argument 3048 la_wwn_t pwwn; local 3803 la_wwn_t pwwn; local 3949 fctl_get_remote_port_by_pwwn(fc_local_port_t *port, la_wwn_t *pwwn) argument 3984 fctl_get_remote_port_by_pwwn_mutex_held(fc_local_port_t *port, la_wwn_t *pwwn) argument 4022 fctl_hold_remote_port_by_pwwn(fc_local_port_t *port, la_wwn_t *pwwn) argument 5394 fc_get_npiv_port(fc_local_port_t *phyport, la_wwn_t *pwwn) argument 5449 fc_delete_npiv_port(fc_local_port_t *port, la_wwn_t *pwwn) argument 5617 la_wwn_t pwwn; local 5654 la_wwn_t pwwn; local 5695 fctl_remove_if_orphan(fc_local_port_t *port, la_wwn_t *pwwn) argument 5730 la_wwn_t pwwn; local [all...] |