Searched refs:xch (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/uts/common/io/comstar/port/fcoet/
H A Dfcoet_eth.c124 static int fcoet_process_unsol_flogi_req(fcoet_exchange_t *xch);
250 fcoet_exchange_t *xch = FRM2TFM(frm)->tfm_xch; local
258 if (xch && xch->xch_flags & XCH_FLAG_FCT_CALLED_ABORT) {
259 FCOET_RELE_XCHG(xch);
271 if (xch && xch->xch_flags & XCH_FLAG_FCT_CALLED_ABORT) {
272 FCOET_RELE_XCHG(xch);
282 if (xch && xch
377 fcoet_exchange_t *xch, *xch_tmp; local
469 fcoet_clear_unsol_exchange(fcoet_exchange_t *xch) argument
493 fcoet_clear_sol_exchange(fcoet_exchange_t *xch) argument
508 fcoet_exchange_t *xch = NULL; local
561 fcoet_exchange_t *xch; local
611 fcoet_exchange_t *xch; local
669 fcoet_exchange_t *xch = NULL; local
717 fcoet_exchange_t *xch = NULL; local
767 fcoet_exchange_t *xch = NULL; local
796 fcoet_exchange_t *xch = NULL; local
849 fcoet_exchange_t *xch = NULL; local
884 fcoet_exchange_t *xch = FRM2TFM(frm)->tfm_xch; local
919 fcoet_exchange_t *xch = FRM2TFM(frm)->tfm_xch; local
945 fcoet_exchange_t *xch = FRM2TFM(frm)->tfm_xch; local
1055 fcoet_process_unsol_flogi_req(fcoet_exchange_t *xch) argument
1131 fcoet_exchange_t *xch = FRM2TFM(frm)->tfm_xch; local
[all...]
H A Dfcoet_eth.h37 int fcoet_clear_unsol_exchange(fcoet_exchange_t *xch);
38 void fcoet_clear_sol_exchange(fcoet_exchange_t *xch);
H A Dfcoet_fc.c221 fcoet_exchange_t *xch = CMD2XCH(cmd); local
223 ASSERT(!xch->xch_dbufs[dbuf->db_relative_offset/FCOET_MAX_DBUF_LEN]);
224 xch->xch_dbufs[dbuf->db_relative_offset/FCOET_MAX_DBUF_LEN] = dbuf;
228 xch->xch_left_data_size =
229 XCH2TASK(xch)->task_expected_xfer_length;
306 FFM_SEQ_CNT(xch->xch_sequence_no, frm);
307 atomic_inc_8(&xch->xch_sequence_no);
329 FCOET_LOG("fcoet_abort_cmd", "cmd=%p, xch=%p, cmd_specific=%p",
403 fcoet_exchange_t *xch; local
414 xch
498 fcoet_send_sol_abts(fcoet_exchange_t *xch) argument
645 fcoet_exchange_t *xch = NULL; local
694 fcoet_exchange_t *xch; local
[all...]
H A Dfcoet.h226 #define FCOET_BUSY_XCHG(xch) atomic_inc_8(&(xch)->xch_ref)
227 #define FCOET_RELE_XCHG(xch) atomic_dec_8(&(xch)->xch_ref)
265 void fcoet_init_tfm(fcoe_frame_t *frm, fcoet_exchange_t *xch);
H A Dfcoet_fc.h51 void fcoet_send_sol_abts(fcoet_exchange_t *xch);
H A Dfcoet.c996 fcoet_init_tfm(fcoe_frame_t *frm, fcoet_exchange_t *xch) argument
999 FRM2TFM(frm)->tfm_xch = xch;
1010 FCOET_LOG("fcoet_sol_oxid_hash_empty", "one ongoing xch: %p", val);
1021 FCOET_LOG("fcoet_unsol_rxid_hash_empty", "one ongoing xch: %p", val);
1030 fcoet_exchange_t *xch = (fcoet_exchange_t *)val; local
1031 FCOET_BUSY_XCHG(xch);
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/fcoei/
H A Dfcoei_lv.c76 static void fcoei_initiate_ct_req(fcoei_exchange_t *xch);
77 static void fcoei_initiate_fcp_cmd(fcoei_exchange_t *xch);
78 static void fcoei_initiate_els_req(fcoei_exchange_t *xch);
79 static void fcoei_initiate_els_resp(fcoei_exchange_t *xch);
240 fcoei_exchange_t *xch = FPKT2XCH(fpkt); local
243 xch->xch_ss = ss;
244 xch->xch_fpkt = fpkt;
245 xch->xch_flags = 0;
672 fcoei_exchange_t *xch = FPKT2XCH(fpkt); local
675 xch
721 fcoei_exchange_t *xch = FPKT2XCH(fpkt); local
836 fcoei_initiate_ct_req(fcoei_exchange_t *xch) argument
1038 fcoei_initiate_fcp_cmd(fcoei_exchange_t *xch) argument
1143 fcoei_initiate_els_req(fcoei_exchange_t *xch) argument
1251 fcoei_initiate_els_resp(fcoei_exchange_t *xch) argument
1819 fcoei_exchange_t *xch; local
1891 fcoei_exchange_t *xch = FPKT2XCH(fpkt); local
1921 fcoei_exchange_t *xch = (fcoei_exchange_t *)val; local
2014 fcoei_exchange_t *xch = (fcoei_exchange_t *)ae->ae_obj; local
[all...]
H A Dfcoei.h304 #define FCOEI_INIT_SOL_ID_HASH(xch, xch_tmp) \
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; \
314 xch->xch_rxid = 0xFFFF; \
315 (void) mod_hash_insert(xch->xch_ss->ss_sol_oxid_hash, \
316 FMHK(xch
[all...]
H A Dfcoei_eth.c113 static void fcoei_fill_els_fpkt_resp(fcoe_frame_t *frm, fcoei_exchange_t *xch,
215 fcoei_exchange_t *xch; local
226 FMHK(sol_oxid), (mod_hash_val_t *)&xch) != 0) {
235 xch->xch_rxid = FRM_RXID(frm);
238 ASSERT(xch->xch_resid >= rcv_buf_size);
261 bcopy(offset + (uint8_t *)xch->xch_fpkt->pkt_data,
267 FFM_OXID(xch->xch_oxid, nfrm);
268 FFM_RXID(xch->xch_rxid, nfrm);
273 fcoei_init_ifm(nfrm, xch);
278 xch
444 fcoei_exchange_t *xch = (fcoei_exchange_t *)val; local
471 fcoei_exchange_t *xch = NULL; local
568 fcoei_exchange_t *xch = NULL; local
668 fcoei_exchange_t *xch; local
736 fcoei_exchange_t *xch; local
842 fcoei_fill_els_fpkt_resp(fcoe_frame_t *frm, fcoei_exchange_t *xch, int size) argument
1157 fcoei_exchange_t *xch; local
1251 fcoei_exchange_t *xch = FRM2IFM(frm)->ifm_xch; local
[all...]
H A Dfcoei.c72 static void fcoei_abts_exchange(fcoei_exchange_t *xch);
858 * Complete every exchange in the timed-out xch list of the soft state
873 fcoei_exchange_t *xch = NULL; local
875 while ((xch = list_remove_head(&ss->ss_comp_xch_list)) != NULL) {
876 fcoei_complete_xch(xch, NULL, xch->xch_fpkt->pkt_state,
877 xch->xch_fpkt->pkt_reason);
902 fcoei_exchange_t *xch = (fcoei_exchange_t *)val; local
904 ASSERT(xch->xch_ss == arg);
905 if ((xch
956 fcoei_init_ifm(fcoe_frame_t *frm, fcoei_exchange_t *xch) argument
1036 fcoei_abts_exchange(fcoei_exchange_t *xch) argument
1079 fcoei_complete_xch(fcoei_exchange_t *xch, fcoe_frame_t *frm, uint8_t pkt_state, uint8_t pkt_reason) argument
[all...]
/illumos-gate/usr/src/common/mpi/
H A Dmpmontg.c142 const mp_int *xch = b; /* switch a and b, to do fewer outer loops */ local
144 a = xch;
H A Dmpi.c848 const mp_int *xch = b; /* switch a and b, to do fewer outer loops */ local
850 a = xch;
3595 const mp_int *xch = a; local
3597 b = xch;
4604 int val, xch; local
4607 xch = ch;
4609 xch = toupper(ch);
4611 if(isdigit(xch))
4612 val = xch - '0';
4613 else if(isupper(xch))
[all...]
H A Dmp_gf2m.c310 const mp_int *xch = b; /* switch a and b if b longer */ local
312 a = xch;
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_xprt.c219 fmd_xprt_class_hash_create(fmd_xprt_class_hash_t *xch, fmd_eventq_t *eq) argument
223 xch->xch_queue = eq;
224 xch->xch_hashlen = hashlen;
225 xch->xch_hash = fmd_zalloc(sizeof (void *) * hashlen, FMD_SLEEP);
229 fmd_xprt_class_hash_destroy(fmd_xprt_class_hash_t *xch) argument
231 fmd_eventq_t *eq = xch->xch_queue;
235 for (i = 0; i < xch->xch_hashlen; i++) {
236 for (xcp = xch->xch_hash[i]; xcp != NULL; xcp = ncp) {
247 fmd_free(xch->xch_hash, sizeof (void *) * xch
256 fmd_xprt_class_hash_insert(fmd_xprt_impl_t *xip, fmd_xprt_class_hash_t *xch, const char *class) argument
287 fmd_xprt_class_hash_delete(fmd_xprt_impl_t *xip, fmd_xprt_class_hash_t *xch, const char *class) argument
[all...]
H A Dfmd_mdb.c1479 fmd_xprt_class_hash_t xch; local
1481 if (mdb_vread(&xch, sizeof (xch), wsp->walk_addr) != sizeof (xch)) {
1487 return (hash_walk_init(wsp, (uintptr_t)xch.xch_hash, xch.xch_hashlen,

Completed in 106 milliseconds