Home
last modified time | relevance | path

Searched refs:vpi (Results 1 – 20 of 20) sorted by relevance

/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_msg.c172 (entry->vpi == port->vpi) && in emlxs_msg_log()
221 entry2->vpi = port->vpi; in emlxs_msg_log()
251 entry->vpi = port->vpi; in emlxs_msg_log()
444 if (port->vpi == 0) { in emlxs_msg_printf()
449 DRIVER_NAME, hba->ddiinst, port->vpi); in emlxs_msg_printf()
645 if (entry->vpi == 0) { in emlxs_msg_sprintf()
650 entry->instance, entry->vpi); in emlxs_msg_sprintf()
H A Demlxs_mbox.c2581 port->vpi, mb->mbxStatus); in emlxs_reg_vpi_mbcmpl()
2591 port->vpi); in emlxs_reg_vpi_mbcmpl()
2614 port->vpi); in emlxs_mb_reg_vpi()
2621 port->vpi); in emlxs_mb_reg_vpi()
2633 port->vpi); in emlxs_mb_reg_vpi()
2643 port->vpi); in emlxs_mb_reg_vpi()
2652 port->vpi); in emlxs_mb_reg_vpi()
2664 "reg_vpi:%d", port->vpi); in emlxs_mb_reg_vpi()
2666 mb->un.varRegVpi.vpi = port->vpi; in emlxs_mb_reg_vpi()
2680 port->vpi); in emlxs_mb_reg_vpi()
[all …]
H A Demlxs_solaris.c1547 (caddr_t)hba->spn, port->vpi); in emlxs_fca_bind_port()
1591 ((port->vpi > 0) && (!(port->flag & EMLXS_PORT_ENABLED) || in emlxs_fca_bind_port()
1660 if (vport->vpi == 0) { in emlxs_fca_bind_port()
1873 port_info->pi_attrs.hba_fru_details.port_index = port->vpi; in emlxs_fca_bind_port()
7059 port->vpi = 0; in emlxs_hba_attach()
7951 uint32_t vpi; in emlxs_set_parm() local
8011 for (vpi = 1; vpi < MAX_VPORTS; vpi++) { in emlxs_set_parm()
8012 vport = &VPORT(vpi); in emlxs_set_parm()
8022 "0x%x.", cfg->string, vpi, in emlxs_set_parm()
8044 for (vpi = 1; vpi < MAX_VPORTS; vpi++) { in emlxs_set_parm()
[all …]
H A Demlxs_fct.c890 uint32_t vpi; local
901 for (vpi = 1; vpi <= hba->vpi_high; vpi++) {
902 port = &VPORT(vpi);
965 "fct_unbind_port: port=%d", port->vpi);
1025 hba->ddiinst, port->vpi);
1056 "fct_bind_port: port=%d", port->vpi);
1061 if (port->vpi == 0) {
1066 "%s%d.%d", DRIVER_NAME, hba->ddiinst, port->vpi);
1139 hba->ddiinst, port->vpi);
1496 if ((port->vpi == 0) &&
[all …]
H A Demlxs_dfc.c807 uint32_t vpi; in emlxs_fcio_manage() local
810 vpi = (dfc->data4 < MAX_VPORTS)? dfc->data4:0; in emlxs_fcio_manage()
811 port = &VPORT(vpi); in emlxs_fcio_manage()
2919 uint32_t vpi; in emlxs_dfc_create_vport() local
2966 for (vpi = 1; vpi <= hba->vpi_max; vpi++) { in emlxs_dfc_create_vport()
2967 vport = &VPORT(vpi); in emlxs_dfc_create_vport()
2975 dfc_vport->vpi = vpi; in emlxs_dfc_create_vport()
2991 if (dfc_vport->vpi == 0) { in emlxs_dfc_create_vport()
2993 for (vpi = 1; vpi <= hba->vpi_max; vpi++) { in emlxs_dfc_create_vport()
2994 vport = &VPORT(vpi); in emlxs_dfc_create_vport()
[all …]
H A Demlxs_fcp.c1006 if (port->vpi == 0) { in emlxs_port_offline()
1021 if (port->vpi == 0) { in emlxs_port_offline()
1061 if (port->vpi == 0) { in emlxs_port_offline()
1076 if (port->vpi == 0) { in emlxs_port_offline()
1486 if ((vport->vpi > 0) && in emlxs_port_online()
1571 if ((vport->vpi > 0) && !(hba->flag & FC_NPIV_LINKUP)) { in emlxs_port_online()
1581 if (vport->vpi == 0) { in emlxs_port_online()
1600 if (vport->vpi == 0) { in emlxs_port_online()
1612 if (vport->vpi == 0) { in emlxs_port_online()
H A Demlxs_sli3.c1992 vport->vpi = i; in emlxs_sli3_hba_init()
3942 iocb->ULPCONTEXT = port->vpi; in emlxs_sli3_prep_ip_iocb()
4040 iocb->ULPCONTEXT = port->vpi; in emlxs_sli3_prep_els_iocb()
5057 uint32_t vpi = 0; in emlxs_handle_rcv_seq() local
5217 vpi = iocb->unsli3.ext_rcv.vpi; in emlxs_handle_rcv_seq()
5218 if (vpi >= hba->vpi_max) { in emlxs_handle_rcv_seq()
5220 "Invalid VPI=%d:", vpi); in emlxs_handle_rcv_seq()
5224 port = &VPORT(vpi); in emlxs_handle_rcv_seq()
6841 mb->un.varUnregLogin.vpi = lvpi; in emlxs_sli3_reg_did_mbcmpl()
6990 mb->un.varRegLogin.vpi = port->vpi; in emlxs_sli3_reg_did()
[all …]
H A Demlxs_els.c657 (port->vpi == 0 || cfg[CFG_AUTH_NPIV].current)) { in emlxs_handle_sol_flogi()
847 (port->vpi == 0 || cfg[CFG_AUTH_NPIV].current)) { in emlxs_handle_sol_plogi()
1105 if (port->vpi == 0) { in emlxs_handle_unsol_rscn()
1223 (port->vpi == 0 || cfg[CFG_AUTH_NPIV].current)) { in emlxs_process_unsol_flogi()
1366 else if (port->vpi && ((sid & FABRIC_DID_MASK) != in emlxs_process_unsol_plogi()
1404 (port->vpi == 0 || cfg[CFG_AUTH_NPIV].current)) { in emlxs_process_unsol_plogi()
H A Demlxs_dhchap.c6835 if (port->vpi != 0 && cfg[CFG_AUTH_NPIV].current == 0) { in emlxs_dhc_auth_start()
7341 if (port->vpi != 0 && cfg[CFG_AUTH_NPIV].current == 0) { in emlxs_dhc_init_sp()
7412 if (port->vpi != 0 && cfg[CFG_AUTH_NPIV].current == 0) { in emlxs_dhc_verify_login()
9049 uint32_t vpi; in emlxs_dhc_init_auth() local
9061 for (vpi = 0; vpi < MAX_VPORTS; vpi++) { in emlxs_dhc_init_auth()
9062 port = &VPORT(vpi); in emlxs_dhc_init_auth()
9072 if (vpi == MAX_VPORTS) { in emlxs_dhc_init_auth()
H A Demlxs_sli4.c2203 vport->vpi = i; in emlxs_sli4_hba_init()
6523 iocb->unsli3.ext_rcv.vpi = port->vpip->VPI; in emlxs_sli4_process_unsol_rcv()
6591 iocb->unsli3.ext_rcv.vpi = port->VPIobj.VPI; in emlxs_sli4_process_unsol_rcv()
6683 iocb->unsli3.ext_rcv.vpi = port->vpip->VPI; in emlxs_sli4_process_unsol_rcv()
9429 uint32_t vpi; in emlxs_sli4_index_to_vpi() local
9433 vpi = hba->sli.sli4.VPIBase[i] + j; in emlxs_sli4_index_to_vpi()
9435 return (vpi); in emlxs_sli4_index_to_vpi()
9441 emlxs_sli4_vpi_to_index(emlxs_hba_t *hba, uint32_t vpi) in emlxs_sli4_vpi_to_index() argument
9452 if ((vpi < hi) && (vpi >= lo)) { in emlxs_sli4_vpi_to_index()
9453 index = (i * hba->sli.sli4.VPIExtSize) + (vpi - lo); in emlxs_sli4_vpi_to_index()
H A Demlxs_fcf.c2300 emlxs_fcf_cvl_notify(emlxs_port_t *port, uint32_t vpi) in emlxs_fcf_cvl_notify() argument
2325 (void *)((unsigned long)vpi)); in emlxs_fcf_cvl_notify()
4928 uint32_t vpi; in emlxs_fcoe_fcftab_cvl_evt_action() local
4943 vpi = (uint32_t)((unsigned long)arg1); in emlxs_fcoe_fcftab_cvl_evt_action()
4944 vport = &VPORT(vpi); in emlxs_fcoe_fcftab_cvl_evt_action()
10919 mb4->un.varRegVFI4.vpi = vfip->flogi_vpip->VPI; in emlxs_vfi_reg_action()
11308 if (port->vpi == 0) { in emlxs_vpi_port_bind_notify()
12397 mb4->un.varInitVPI4.vpi = vpip->VPI; in emlxs_vpi_init_action()
12569 if (SLI4_FC_MODE && (port->vpi == 0)) { in emlxs_vpi_port_online_action()
13728 mb->un.varRegVpi.vpi = vpip->VPI; in emlxs_vpi_reg_action()
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_msg.h81 uint32_t vpi; member
H A Demlxs_mbox.h1269 uint16_t vpi; member
1272 uint16_t vpi; member
1319 uint16_t vpi; member
1322 uint16_t vpi; member
1464 uint16_t vpi; member
1467 uint16_t vpi; member
1953 uint16_t vpi; member
1962 uint16_t vpi; member
1974 uint16_t vpi; member
1977 uint16_t vpi; member
[all …]
H A Demlxs_iocb.h562 uint16_t vpi; /* word 9 */ member
574 uint16_t vpi; member
H A Demlxs_dfc.h773 uint32_t vpi; member
H A Demlxs_extern.h649 uint32_t vpi);
933 extern uint32_t emlxs_fcf_cvl_notify(emlxs_port_t *port, uint32_t vpi);
H A Demlxs_fc.h995 uint32_t vpi; /* Legacy vpi == vpip->index */ member
/titanic_50/usr/src/cmd/mdb/common/modules/emlxs/
H A Demlxs.c242 if (entry.vpi == 0) { in emlxs_msgbuf()
247 DRIVER_NAME, entry.instance, entry.vpi); in emlxs_msgbuf()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_vnops.c777 vnode_t *vpi = *vpp; in nfs4open_otw() local
883 vpi = NULL; in nfs4open_otw()
893 VTOR4(vpi)->r_deleg_type == OPEN_DELEGATE_READ) in nfs4open_otw()
894 (void) nfs4delegreturn(VTOR4(vpi), NFS4_DR_REOPEN); in nfs4open_otw()
901 if (VTOR4(vpi)->r_deleg_type != OPEN_DELEGATE_NONE) { in nfs4open_otw()
903 nfs4_access(vpi, VREAD, 0, cr, NULL) == 0) in nfs4open_otw()
906 nfs4_access(vpi, VWRITE, 0, cr, NULL) == 0) in nfs4open_otw()
921 e.error = nfs4_start_op(VTOMI4(dvp), dvp, vpi, &recov_state); in nfs4open_otw()
993 nfs4_end_op(VTOMI4(dvp), dvp, vpi, in nfs4open_otw()
1043 nfs4_end_op(VTOMI4(dvp), dvp, vpi, &recov_state, TRUE); in nfs4open_otw()
[all …]
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h1194 uint32_t vpi :1; member
1221 uint32_t vpi :1; member