Searched defs:port_wwn (Results 1 - 18 of 18) sorted by relevance

/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_state.h161 uchar_t port_wwn[WWN_SIZE]; member in struct:wwn_list_found_struct
/illumos-gate/usr/src/cmd/luxadm/
H A Dfabric_conf.c246 * "string" is Input and "port_wwn" has the output
252 * port_wwn[0] = 0x22,
253 * port_wwn[1] = 0x00,
254 * port_wwn[2] = 0x00,
255 * port_wwn[3] = 0x20,
256 * port_wwn[4] = 0x37,
257 * port_wwn[5] = 0x07,
258 * port_wwn[6] = 0xF4, and
259 * port_wwn[7] = 0xF1
262 string_to_wwn(const uchar_t *string, uchar_t *port_wwn) argument
[all...]
H A Dlux_util.c718 print_fabric_dtype_prop(uchar_t *hba_port_wwn, uchar_t *port_wwn, argument
731 if (wwnConversion(hba_port_wwn) != wwnConversion(port_wwn)) {
H A Dhotplug.c490 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
715 if ((err = g_get_wwn(dev_path, port_wwn,
758 if ((err = g_get_wwn(ses_path, port_wwn,
1730 uchar_t port_wwn[WWN_SIZE], node_wwn[WWN_SIZE]; local
1769 if ((err = g_get_wwn(ses_path, port_wwn,
H A Dg_adm.c1860 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
1928 if (err = g_get_wwn(path_phys, port_wwn, node_wwn, &al_pa,
2321 (*fc_stats->port_wwn[port] != NULL)) {
2326 fc_stats->port_wwn[port]);
2402 uchar_t port_wwn[WWN_SIZE]; local
2443 if (err = g_get_wwn(path_phys, port_wwn, node_wwn, &al_pa,
2513 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
2617 (*ifp_stats.port_wwn != NULL)) {
2622 ifp_stats.port_wwn);
2674 if (err = g_get_wwn(path_phys, port_wwn,
2886 print_fabric_prop(int pos, uchar_t *port_wwn, uchar_t *node_wwn, int port_addr, int hard_addr) argument
2899 print_private_loop_prop(int pos, uchar_t *port_wwn, uchar_t *node_wwn, int port_addr, int hard_addr) argument
2929 uchar_t *hba_port_wwn, *port_wwn, *node_wwn, *dtype_prop; local
3862 uchar_t port_wwn[WWN_SIZE], *pg_buf; local
4100 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE], *pg_buf = NULL; local
6651 print_private_loop_dtype_prop(uchar_t *hba_port_wwn, uchar_t *port_wwn, uchar_t dtype_prop) argument
[all...]
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.h100 FCOE_PORT_WWN port_wwn; member in struct:fcoe_port_attr
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cvt.c60 cvt_dyncomp_to_lawwn(const char *dyncomp, la_wwn_t *port_wwn) argument
66 wwnp = port_wwn->raw_wwn;
198 char port_wwn[WWN_SIZE*2+1]; local
299 (void) sprintf(port_wwn,
305 if (!(strncmp(port_wwn, dyncomp,
338 (void) sprintf(port_wwn,
346 if (!(strncmp(port_wwn, dyncomp, WWN_SIZE*2))) {
712 char *devfs_path, path_name[MAXPATHLEN], *lun_guid, *port_wwn; local
755 if ((port_wwn = calloc(1, WWN_SIZE*2 + 1))
761 (void) sprintf(port_wwn, "
[all...]
H A Dcfga_cs.c1042 * This function copies a port_wwn got by reading the property on a device
1068 char port_wwn[WWN_SIZE*2+1], pathname[MAXPATHLEN]; local
1100 copy_pwwn_data_to_str(port_wwn, port_wwn_data);
1132 ++ptr, port_wwn, *lunnump);
1210 strlen(port_wwn) + 1)) == NULL) {
1218 sprintf(update_str, "%s%s%s", xport_phys, DYN_SEP, port_wwn);
1246 char port_wwn[WWN_SIZE*2+1]; local
1295 copy_pwwn_data_to_str(port_wwn, port_wwn_data);
1303 port_wwn, *lunnump);
1376 strlen(port_wwn)
1544 char port_wwn[WWN_S_LEN]; local
[all...]
H A Dcfga_list.c93 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]; local
1264 (void) sprintf(port_wwn, "%016llx",
1270 if (strncmp(port_wwn, la
1344 char port_wwn[WWN_SIZE*2+1]; local
1936 char port_wwn[WWN_SIZE*2+1]; local
2130 char *port_wwn = NULL, *nodepath = NULL; local
2460 char *port_wwn = NULL; local
2749 is_dyn_ap_on_ldata_list(const char *port_wwn, const ldata_list_t *listp, ldata_list_t **matchldpp, int *l_errnop) argument
2793 is_FCP_dev_ap_on_ldata_list(const char *port_wwn, const int lun_num, ldata_list_t *ldatap, ldata_list_t **matchldpp) argument
3038 init_ldata_for_accessible_FCP_dev( const char *port_wwn, int num_luns, struct report_lun_resp *resp_buf, fpcfga_list_t *lap, int *l_errnop) argument
3525 insert_ldata_to_ldatalist( const char *port_wwn, int *lun_nump, ldata_list_t *listp, ldata_list_t **ldatapp) argument
3544 insert_fc_dev_ldata( const char *port_wwn, ldata_list_t *listp, ldata_list_t **ldatapp) argument
3594 insert_FCP_dev_ldata( const char *port_wwn, int lun_num, ldata_list_t *listp, ldata_list_t **ldatapp) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfc_linkapp.h125 la_wwn_t port_wwn; member in struct:la_els_adisc
/illumos-gate/usr/src/uts/common/sys/fc4/
H A Dfcio.h223 char port_wwn[2][17]; /* Port WWN \0 */ member in struct:socal_stats
248 char port_wwn[17]; /* Port WWN \0 */ member in struct:ifp_stats
H A Dfcal_linkapp.h270 uchar_t port_wwn[8]; member in struct:la_els_adisc
/illumos-gate/usr/src/uts/common/sys/
H A Dfctio.h70 uint8_t port_wwn[1][8]; member in struct:fc_tgt_hba_list
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dmon.c1487 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
1614 status = g_get_wwn(result, port_wwn, node_wwn,
1619 port_wwn[0], port_wwn[1], port_wwn[2],
1620 port_wwn[3], port_wwn[4], port_wwn[5],
1621 port_wwn[6], port_wwn[
2483 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
3818 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
4858 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
[all...]
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h326 uchar_t port_wwn[FC_WWN_SIZE]; member in struct:sf_els_hdr
/illumos-gate/usr/src/uts/common/io/comstar/port/fct/
H A Dfct.c527 uint8_t *port_wwn, uint32_t index, fc_tgt_hba_port_attributes_t *port_attr,
536 iport = fct_get_iport_per_wwn(port_wwn);
603 fct_get_port_attr(uint8_t *port_wwn, argument
610 iport = fct_get_iport_per_wwn(port_wwn);
612 return (fct_get_adapter_port_attr(iport, port_wwn,
622 port_wwn, 8) == 0 &&
641 fct_get_port_stats(uint8_t *port_wwn, argument
645 fct_i_local_port_t *iport = fct_get_iport_per_wwn(port_wwn);
686 fct_get_link_status(uint8_t *port_wwn, uint64_t *dest_id, argument
689 fct_i_local_port_t *iport = fct_get_iport_per_wwn(port_wwn);
526 fct_get_discovered_port_attr(fct_i_remote_port_t *remote_port, uint8_t *port_wwn, uint32_t index, fc_tgt_hba_port_attributes_t *port_attr, uint32_t *error_detail) argument
752 fct_forcelip(uint8_t *port_wwn, uint32_t *fctio_errno) argument
818 uint8_t *port_wwn = (uint8_t *)ibuf; local
838 uint8_t *port_wwn = (uint8_t *)ibuf; local
856 uint8_t *port_wwn = (uint8_t *)ibuf; local
876 uint8_t *port_wwn = (uint8_t *)ibuf; local
896 uint8_t *port_wwn = (uint8_t *)ibuf; local
906 uint8_t *port_wwn = (uint8_t *)ibuf; local
[all...]
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dmap.c386 get_scsi_vhci_port_wwn(char *phys_path, uchar_t *port_wwn) argument
425 return (string_to_wwn((uchar_t *)pwwn1, port_wwn));
444 if (memcmp(pwwn, wwn_list_s->port_wwn, WWN_SIZE) == 0) {
468 memcpy(new_wwn->port_wwn, pwwn, WWN_SIZE);
503 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
533 port_wwn)) == 0) {
534 if ((search_wwn_entry(wwn_list_found, port_wwn,
538 port_wwn,
549 port_wwn, node_wwn, &al_pa, 0)) != 0) {
592 copy_wwn_data_to_str(wwn_list_p->port_wwn_s, port_wwn);
1906 update_map_dev_fc_prop(impl_map_dev_prop_t **prop_list, uint32_t map_topo, uchar_t *port_wwn, uchar_t *node_wwn, int port_addr, int hard_addr) argument
2075 handle_map_dev_FCP_prop(minor_t fp_xport_minor, la_wwn_t port_wwn, impl_map_dev_prop_t **prop_list) argument
3329 la_wwn_t port_wwn; local
3748 get_wwns(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[], int *al_pa, struct wwn_list_found_struct **wwn_list_found) argument
3919 g_get_wwn(char *path_phys, uchar_t port_wwn[], uchar_t node_wwn[], int *al_pa, int verbose) argument
5174 g_dev_login(char *port_path, la_wwn_t port_wwn) argument
5191 g_dev_logout(char *port_path, la_wwn_t port_wwn) argument
5212 g_dev_log_in_out(char *port_path, la_wwn_t port_wwn, uint16_t cmd) argument
5350 g_get_dev_port_state(char *fca_path, la_wwn_t port_wwn, uint32_t *state) argument
5541 uchar_t node_wwn[WWN_SIZE], port_wwn[WWN_SIZE]; local
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c3454 fctl_alloc_remote_port(fc_local_port_t *port, la_wwn_t *port_wwn, argument
3471 pd->pd_port_name = *port_wwn;
4504 * Create the fc_remote_port_t struct for the given port_wwn and d_id.
4514 * struct(s). The d_id and pwwn hash tables in the port_wwn are updated.
4519 la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep)
4554 pd = fctl_get_remote_port_by_pwwn_mutex_held(port, port_wwn);
4574 if ((pd = fctl_alloc_remote_port(port, port_wwn, d_id,
4622 char string[(FCTL_WWN_SIZE(port_wwn) << 1) + 1];
4625 fc_wwn_to_str(port_wwn, string);
4518 fctl_create_remote_port(fc_local_port_t *port, la_wwn_t *node_wwn, la_wwn_t *port_wwn, uint32_t d_id, uchar_t recepient, int sleep) argument

Completed in 131 milliseconds