Searched refs:pwwn (Results 1 - 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/lib/sun_fc/common/
H A DSun_fcAdapterReturnWWN.cc38 HBA_WWN *pwwn) {
36 Sun_fcAdapterReturnWWN(HBA_HANDLE handle, HBA_UINT32 portindex, HBA_WWN *nwwn, HBA_WWN *pwwn) argument
H A DSun_fcGetPortAttributesByWWN.cc40 * @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 DSun_fcAdapterCreateWWN.cc55 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 DFCHBAPort.h114 virtual void sendReadCapacity(uint64_t pwwn,
H A DHBAPort.h99 virtual void sendReadCapacity(uint64_t pwwn,
H A DTgtFCHBAPort.h111 virtual void sendReadCapacity(uint64_t pwwn, argument
/illumos-gate/usr/src/lib/hbaapi/common/
H A Dhbaapi-sun.h118 HBA_WWN *pwwn,
127 HBA_WWN *pwwn
H A DHBAAPILIB-sun.c705 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/lib/sun_sas/common/
H A Dsun_sas.c319 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/sys/fibre-channel/impl/
H A Dfc_ulpif.h156 opaque_t fc_ulp_get_remote_port(opaque_t port_handle, la_wwn_t *pwwn,
168 int fc_ulp_linkreset(opaque_t port_handle, la_wwn_t *pwwn, int sleep);
179 la_wwn_t *pwwn);
184 void fc_ulp_disable_relogin(opaque_t *fc_port, la_wwn_t *pwwn);
185 void fc_ulp_enable_relogin(opaque_t *fc_port, la_wwn_t *pwwn);
H A Dfc_portif.h399 la_wwn_t *pwwn);
401 la_wwn_t *pwwn);
404 la_wwn_t *pwwn);
434 int fctl_remove_if_orphan(fc_local_port_t *port, la_wwn_t *pwwn);
H A Dfctl_private.h689 * Struct for the pwwn hash table in the fc_local_port_t struct. The code
706 dev_info_t *phydip, char *nwwn, char *pwwn, uint32_t *vindex);
742 fc_local_port_t *fc_get_npiv_port(fc_local_port_t *phyport, la_wwn_t *pwwn);
743 fc_local_port_t *fc_delete_npiv_port(fc_local_port_t *phyport, la_wwn_t *pwwn);
H A Dfcgs2.h305 la_wwn_t pwwn; member in struct:ns_req_gid_pn
317 la_wwn_t pwwn; member in struct:ns_resp_gpn_id
H A Dfc_fcaif.h106 la_wwn_t port_nwwn; /* virtual port pwwn */
141 la_wwn_t pwwn; /* Remote port PWWN */ member in struct:fc_fca_p2p_info
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcoeadm.c108 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 Dfcadm-list.c512 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/libfcoe/common/
H A Dlibfcoe.h131 * pwwn: Port WWN
138 FCOE_PORT_WWN pwwn,
H A Dlibfcoe.c175 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/cfgadm_plugins/fp/common/
H A Dcfga_fp.c51 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 Dcfga_cs.c72 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 Dcfga_list.c119 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/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_smhba.c130 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/uts/common/io/fibre-channel/impl/
H A Dfctl.c1155 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...]
H A Dfp.c927 char pwwn[17], nwwn[17]; local
996 fc_wwn_to_str(&phyport->fp_service_params.nport_ww_name, pwwn);
1016 * Allocate the d_id and pwwn hash tables for all remote ports
2849 la_wwn_t *pwwn; local
2852 pwwn = (la_wwn_t *)job->job_private;
2853 ASSERT(pwwn != NULL);
2858 if (fctl_is_wwn_zero(pwwn) == FC_SUCCESS ||
2870 rval = fp_remote_lip(port, pwwn,
2974 &p2p_info.pwwn) < 0 ?
2979 &p2p_info.pwwn,
4659 la_wwn_t pwwn; local
4811 la_wwn_t pwwn; local
6021 la_wwn_t pwwn; local
8494 la_wwn_t pwwn; local
8658 la_wwn_t pwwn; local
8743 la_wwn_t pwwn; local
9106 la_wwn_t pwwn; local
9306 la_wwn_t pwwn; local
9834 fp_send_rnid(fc_local_port_t *port, intptr_t data, int mode, fcio_t *fcio, la_wwn_t *pwwn) argument
10248 la_wwn_t *pwwn; local
12649 fp_remote_lip(fc_local_port_t *port, la_wwn_t *pwwn, int sleep, job_request_t *job) argument
13185 la_wwn_t pwwn; local
14167 la_wwn_t *pwwn; local
14459 la_wwn_t *pwwn; local
14879 la_wwn_t pwwn; local
15041 la_wwn_t pwwn; local
15179 la_wwn_t pwwn; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcip.c206 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...]

Completed in 162 milliseconds

12