Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_eth.c424 xch->xch_ss = FRM2SS(frm); in fcoet_create_unsol_exchange()
439 &xch->xch_ss->ss_next_unsol_rxid, 1); in fcoet_create_unsol_exchange()
442 &xch->xch_ss->ss_next_unsol_rxid, 1); in fcoet_create_unsol_exchange()
450 (void) mod_hash_insert(xch->xch_ss->ss_unsol_rxid_hash, in fcoet_create_unsol_exchange()
473 if (mod_hash_remove(xch->xch_ss->ss_unsol_rxid_hash, in fcoet_clear_unsol_exchange()
498 (void) mod_hash_remove(xch->xch_ss->ss_sol_oxid_hash, in fcoet_clear_sol_exchange()
530 ss = xch->xch_ss; in fcoet_process_sol_fcp_data()
635 (xch->xch_ss->ss_flags & SS_FLAG_DELAY_PLOGI)) { in fcoet_process_unsol_els_req()
640 (xch->xch_ss->ss_flags & SS_FLAG_DELAY_PLOGI)) { in fcoet_process_unsol_els_req()
641 atomic_and_32(&xch->xch_ss->ss_flags, in fcoet_process_unsol_els_req()
[all …]
H A Dfcoet_fc.c424 xch->xch_ss = ss; in fcoet_send_sol_flogi()
437 (void) mod_hash_insert(xch->xch_ss->ss_sol_oxid_hash, in fcoet_send_sol_flogi()
501 fcoet_soft_state_t *ss = xch->xch_ss; in fcoet_send_sol_abts()
649 xch->xch_ss = CMD2SS(cmd); in fcoet_send_sol_els()
656 xch->xch_oxid = atomic_add_16_nv(&xch->xch_ss->ss_next_sol_oxid, 1); in fcoet_send_sol_els()
659 atomic_add_16_nv(&xch->xch_ss->ss_next_sol_oxid, 1); in fcoet_send_sol_els()
698 xch->xch_ss = CMD2SS(cmd); in fcoet_send_sol_ct()
705 xch->xch_oxid = atomic_add_16_nv(&xch->xch_ss->ss_next_sol_oxid, 1); in fcoet_send_sol_ct()
708 atomic_add_16_nv(&xch->xch_ss->ss_next_sol_oxid, 1); in fcoet_send_sol_ct()
H A Dfcoet.h202 fcoet_soft_state_t *xch_ss; member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei.h216 fcoei_soft_state_t *xch_ss; member
307 if (++xch->xch_ss->ss_next_sol_oxid == 0xFFFF) { \
308 ++xch->xch_ss->ss_next_sol_oxid; \
310 } while (mod_hash_find(xch->xch_ss->ss_sol_oxid_hash, \
311 (mod_hash_key_t)(intptr_t)xch->xch_ss->ss_next_sol_oxid, \
313 xch->xch_oxid = xch->xch_ss->ss_next_sol_oxid; \
315 (void) mod_hash_insert(xch->xch_ss->ss_sol_oxid_hash, \
336 (void) mod_hash_insert(xch->xch_ss->ss_unsol_rxid_hash, \
H A Dfcoei_lv.c243 xch->xch_ss = ss; in fcoei_init_pkt()
854 frm = xch->xch_ss->ss_eport->eport_alloc_frame(xch->xch_ss->ss_eport, in fcoei_initiate_ct_req()
862 xch->xch_cnt = xch->xch_ss->ss_sol_cnt; in fcoei_initiate_ct_req()
1021 xch->xch_ss->ss_eport->eport_tx_frame(frm); in fcoei_initiate_ct_req()
1046 frm = xch->xch_ss->ss_eport->eport_alloc_frame(xch->xch_ss->ss_eport, in fcoei_initiate_fcp_cmd()
1058 xch->xch_cnt = xch->xch_ss->ss_sol_cnt; in fcoei_initiate_fcp_cmd()
1126 xch->xch_ss->ss_eport->eport_tx_frame(frm); in fcoei_initiate_fcp_cmd()
1150 frm = xch->xch_ss->ss_eport->eport_alloc_frame(xch->xch_ss->ss_eport, in fcoei_initiate_els_req()
1162 xch->xch_cnt = xch->xch_ss->ss_sol_cnt; in fcoei_initiate_els_req()
1174 xch->xch_ss->ss_flags &= ~SS_FLAG_FLOGI_FAILED; in fcoei_initiate_els_req()
[all …]
H A Dfcoei.c904 ASSERT(xch->xch_ss == arg); in fcoei_xch_check()
906 (xch->xch_ss->ss_link_state != FC_STATE_OFFLINE)) { in fcoei_xch_check()
918 xch->xch_ss->ss_flags |= SS_FLAG_FLOGI_FAILED; in fcoei_xch_check()
927 list_insert_tail(&xch->xch_ss->ss_comp_xch_list, xch); in fcoei_xch_check()
928 } else if (xch->xch_ss->ss_link_state == FC_STATE_OFFLINE) { in fcoei_xch_check()
934 list_insert_tail(&xch->xch_ss->ss_comp_xch_list, xch); in fcoei_xch_check()
1044 frm = xch->xch_ss->ss_eport->eport_alloc_frame(xch->xch_ss->ss_eport, in fcoei_abts_exchange()
1059 xch->xch_ss->ss_eport->eport_tx_frame(frm); in fcoei_abts_exchange()
1100 xch->xch_ss->ss_eport->eport_free_netb(frm->frm_netb); in fcoei_complete_xch()
1101 xch->xch_ss->ss_eport->eport_release_frame(frm); in fcoei_complete_xch()
[all …]
H A Dfcoei_eth.c278 xch->xch_ss->ss_eport->eport_tx_frame(nfrm); in fcoei_process_unsol_xfer_rdy()
291 nfrm = xch->xch_ss->ss_eport->eport_alloc_frame( in fcoei_process_unsol_xfer_rdy()
292 xch->xch_ss->ss_eport, data_size + FCFH_SIZE, NULL); in fcoei_process_unsol_xfer_rdy()
327 xch->xch_ss->ss_eport->eport_tx_frame(nfrm); in fcoei_process_unsol_xfer_rdy()