Home
last modified time | relevance | path

Searched refs:portAttrs (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/luxadm/
H A Dfchba.c278 HBA_PORTATTRIBUTES portAttrs; in fchba_display_port() local
315 &portAttrs)) { in fchba_display_port()
319 portAttrs.OSDeviceName, in fchba_display_port()
335 (void) printf("%-65s ", portAttrs.OSDeviceName); in fchba_display_port()
337 if (portAttrs.NumberofDiscoveredPorts > 0) { in fchba_display_port()
519 HBA_PORTATTRIBUTES portAttrs; in fchba_non_encl_probe() local
564 &portAttrs)) { in fchba_non_encl_probe()
568 if (fetch_mappings(handle, portAttrs.PortWWN, &map)) { in fchba_non_encl_probe()
613 portAttrs.PortWWN, in fchba_non_encl_probe()
681 HBA_PORTATTRIBUTES portAttrs; in fchba_inquiry() local
[all …]
H A Dx86_adm.c259 HBA_PORTATTRIBUTES portAttrs; in adm_forcelip() local
317 &portAttrs)) { in adm_forcelip()
324 portAttrs.NodeWWN.wwn) || in adm_forcelip()
326 portAttrs.PortWWN.wwn)) { in adm_forcelip()
331 portAttrs.OSDeviceName, STANDARD_DEVNAME_HANDLING); in adm_forcelip()
346 if (!fetch_mappings(handle, portAttrs.PortWWN, &map)) { in adm_forcelip()
361 if ((fd = open(portAttrs.OSDeviceName, in adm_forcelip()
364 portAttrs.OSDeviceName); in adm_forcelip()
405 portAttrs.OSDeviceName); in adm_forcelip()
414 portAttrs.OSDeviceName); in adm_forcelip()
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c679 HBA_PORTATTRIBUTES portAttrs) in dev_change_state() argument
786 status = HBA_ScsiInquiryV2(handle, portAttrs.PortWWN, in dev_change_state()
811 status = HBA_ScsiInquiryV2(handle, portAttrs.PortWWN, in dev_change_state()
846 if (portAttrs.PortType != HBA_PORTTYPE_NLPORT && in dev_change_state()
847 portAttrs.PortType != HBA_PORTTYPE_NPORT) { in dev_change_state()
938 if (portAttrs.PortType != HBA_PORTTYPE_NLPORT && in dev_change_state()
939 portAttrs.PortType != HBA_PORTTYPE_NPORT) { in dev_change_state()
1541 HBA_PORTATTRIBUTES portAttrs) in handle_devs() argument
1559 num_devs = portAttrs.NumberofDiscoveredPorts; in handle_devs()
1560 for (discIndex = 0; discIndex < portAttrs.NumberofDiscoveredPorts; in handle_devs()
[all …]
H A Dcfga_utils.c1246 HBA_PORTATTRIBUTES portAttrs; in findMatchingAdapterPort() local
1291 &portAttrs)) != HBA_STATUS_OK) { in findMatchingAdapterPort()
1306 if (strncmp(portAttrs.OSDeviceName, in findMatchingAdapterPort()
1309 tmpPtr = strstr(portAttrs.OSDeviceName, in findMatchingAdapterPort()
1313 portAttrs.OSDeviceName, in findMatchingAdapterPort()
1314 strlen(portAttrs.OSDeviceName) - in findMatchingAdapterPort()
1324 portAttrs; in findMatchingAdapterPort()
1337 if (strlen(portAttrs.OSDeviceName) < in findMatchingAdapterPort()
1340 cfg_ptr = portAttrs.OSDeviceName + in findMatchingAdapterPort()
1369 portAttrs; in findMatchingAdapterPort()
H A Dcfga_fp.c56 HBA_PORTATTRIBUTES portAttrs; in cfga_change_state() local
137 &handle, &portIndex, &portAttrs, errstring)) == in cfga_change_state()
140 flags, errstring, handle, portAttrs); in cfga_change_state()
H A Dcfga_list.c80 HBA_PORTATTRIBUTES portAttrs);
124 HBA_PORTATTRIBUTES *portAttrs, HBA_PORTATTRIBUTES *discPortAttrs);
180 HBA_PORTATTRIBUTES portAttrs; in do_list() local
205 &portIndex, &portAttrs, errstring)) != FPCFGA_OK) { in do_list()
227 portAttrs)) != FPCFGA_OK) { in do_list()
291 apidp->dyncomp, handle, &portAttrs, &discPortAttrs); in do_list()
363 discIndex < portAttrs.NumberofDiscoveredPorts; in do_list()
381 handle, &portAttrs, &discPortAttrs); in do_list()
495 HBA_PORTATTRIBUTES portAttrs; in do_list_FCP_dev() local
557 &portIndex, &portAttrs, errstring)) != FPCFGA_OK) { in do_list_FCP_dev()
[all …]
H A Dcfga_fp.h452 HBA_HANDLE handle, HBA_PORTATTRIBUTES portAttrs);