/titanic_44/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_eventq.c | 55 fmd_eventqelem_t *eqe; in fmd_eventq_destroy() local 57 while ((eqe = fmd_list_next(&eq->eq_list)) != NULL) { in fmd_eventq_destroy() 58 fmd_list_delete(&eq->eq_list, eqe); in fmd_eventq_destroy() 59 fmd_event_rele(eqe->eqe_event); in fmd_eventq_destroy() 60 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_destroy() 68 fmd_eventq_drop(fmd_eventq_t *eq, fmd_eventqelem_t *eqe) in fmd_eventq_drop() argument 74 fmd_event_rele(eqe->eqe_event); in fmd_eventq_drop() 75 fmd_free(eqe, sizeof (fmd_eventqelem_t)); in fmd_eventq_drop() 81 fmd_eventqelem_t *eqe, *tmp; in fmd_eventq_drop_topo() local 91 eqe = fmd_list_prev(&eq->eq_list); in fmd_eventq_drop_topo() [all …]
|
H A D | fmd_mdb.c | 1632 fmd_eventqelem_t eqe; in mq_walk_step() local 1637 if (mdb_vread(&eqe, sizeof (eqe), addr) != sizeof (eqe)) { in mq_walk_step() 1642 wsp->walk_addr = (uintptr_t)eqe.eqe_list.l_next; in mq_walk_step() 1643 return (wsp->walk_callback(addr, &eqe, wsp->walk_cbdata)); in mq_walk_step()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_event.c | 54 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe)); 56 static void tavor_eqe_sync(tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe, uint_t flag, 59 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 61 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 63 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 65 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 67 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 69 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 71 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); 73 tavor_eqhdl_t eq, tavor_hw_eqe_t *eqe); [all …]
|
H A D | tavor_cq.c | 1053 tavor_hw_eqe_t *eqe) in tavor_cq_handler() argument 1061 eqe_evttype = TAVOR_EQE_EVTTYPE_GET(eq, eqe); in tavor_cq_handler() 1069 tavor_eq_overflow_handler(state, eq, eqe); in tavor_cq_handler() 1077 cqnum = TAVOR_EQE_CQNUM_GET(eq, eqe); in tavor_cq_handler() 1127 tavor_hw_eqe_t *eqe) in tavor_cq_err_handler() argument 1137 eqe_evttype = TAVOR_EQE_EVTTYPE_GET(eq, eqe); in tavor_cq_err_handler() 1145 tavor_eq_overflow_handler(state, eq, eqe); in tavor_cq_err_handler() 1154 cqnum = TAVOR_EQE_CQNUM_GET(eq, eqe); in tavor_cq_err_handler()
|
H A D | tavor_cmd.c | 317 tavor_hw_eqe_t *eqe) in tavor_cmd_complete_handler() argument 324 eqe_evttype = TAVOR_EQE_EVTTYPE_GET(eq, eqe); in tavor_cmd_complete_handler() 332 tavor_eq_overflow_handler(state, eq, eqe); in tavor_cmd_complete_handler() 342 cmdp = &state->ts_cmd_list.cml_cmd[TAVOR_EQE_CMDTOKEN_GET(eq, eqe)]; in tavor_cmd_complete_handler() 346 cmdp->cmd_outparm = ((uint64_t)TAVOR_EQE_CMDOUTP0_GET(eq, eqe) << 32) | in tavor_cmd_complete_handler() 347 TAVOR_EQE_CMDOUTP1_GET(eq, eqe); in tavor_cmd_complete_handler() 348 cmdp->cmd_status = TAVOR_EQE_CMDSTATUS_GET(eq, eqe); in tavor_cmd_complete_handler()
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_event.c | 53 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe)); 56 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 58 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 60 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 62 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 64 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 66 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 68 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 70 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); 72 hermon_eqhdl_t eq, hermon_hw_eqe_t *eqe); [all …]
|
H A D | hermon_cq.c | 1058 hermon_hw_eqe_t *eqe) in hermon_cq_handler() argument 1064 cqnum = HERMON_EQE_CQNUM_GET(eq, eqe); in hermon_cq_handler() 1104 hermon_hw_eqe_t *eqe) in hermon_cq_err_handler() argument 1113 cqnum = HERMON_EQE_CQNUM_GET(eq, eqe); in hermon_cq_err_handler()
|
H A D | hermon_cmd.c | 404 hermon_hw_eqe_t *eqe) in hermon_cmd_complete_handler() argument 412 cmdp = &state->hs_cmd_list.cml_cmd[HERMON_EQE_CMDTOKEN_GET(eq, eqe)]; in hermon_cmd_complete_handler() 416 cmdp->cmd_outparm = ((uint64_t)HERMON_EQE_CMDOUTP0_GET(eq, eqe) << 32) | in hermon_cmd_complete_handler() 417 HERMON_EQE_CMDOUTP1_GET(eq, eqe); in hermon_cmd_complete_handler() 418 cmdp->cmd_status = HERMON_EQE_CMDSTATUS_GET(eq, eqe); in hermon_cmd_complete_handler()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_intr.c | 307 struct oce_eqe *eqe; in oce_isr() local 319 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); in oce_isr() 321 while (eqe->u0.dw0) { in oce_isr() 323 eqe->u0.dw0 = LE_32(eqe->u0.dw0); in oce_isr() 326 if (EQ_MAJOR_CODE_COMPLETION != eqe->u0.s.major_code) { in oce_isr() 329 eqe->u0.s.major_code); in oce_isr() 333 cq_id = eqe->u0.s.resource_id % OCE_MAX_CQ; in oce_isr() 340 eqe->u0.dw0 = 0; in oce_isr() 342 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); in oce_isr()
|
H A D | oce_queue.c | 1106 struct oce_eqe *eqe; in oce_drain_eq() local 1112 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); in oce_drain_eq() 1114 while (eqe->u0.dw0) { in oce_drain_eq() 1115 eqe->u0.dw0 = LE_32(eqe->u0.dw0); in oce_drain_eq() 1118 eqe->u0.dw0 = 0; in oce_drain_eq() 1123 eqe = RING_GET_CONSUMER_ITEM_VA(eq->ring, struct oce_eqe); in oce_drain_eq()
|
/titanic_44/usr/src/uts/common/sys/ib/adapters/tavor/ |
H A D | tavor_hw.h | 1242 #define TAVOR_EQE_EVTTYPE_GET(eq, eqe) \ argument 1244 &((uint32_t *)(eqe))[0]) & TAVOR_EQE_EVTTYPE_MASK) >> \ 1246 #define TAVOR_EQE_EVTSUBTYPE_GET(eq, eqe) \ argument 1248 &((uint32_t *)(eqe))[0]) & TAVOR_EQE_EVTSUBTYPE_MASK) >> \ 1250 #define TAVOR_EQE_CQNUM_GET(eq, eqe) \ argument 1252 &((uint32_t *)(eqe))[1]) & TAVOR_EQE_CQNUM_MASK) >> \ 1254 #define TAVOR_EQE_QPNUM_GET(eq, eqe) \ argument 1256 &((uint32_t *)(eqe))[1]) & TAVOR_EQE_QPNUM_MASK) >> \ 1258 #define TAVOR_EQE_PORTNUM_GET(eq, eqe) \ argument 1260 &((uint32_t *)(eqe))[3]) & TAVOR_EQE_PORTNUM_MASK) >> \ [all …]
|
H A D | tavor_event.h | 240 tavor_hw_eqe_t *eqe); 252 tavor_hw_eqe_t *eqe);
|
H A D | tavor_cq.h | 270 tavor_hw_eqe_t *eqe); 272 tavor_hw_eqe_t *eqe);
|
H A D | tavor_cmd.h | 612 tavor_hw_eqe_t *eqe);
|
/titanic_44/usr/src/uts/common/sys/ib/adapters/hermon/ |
H A D | hermon_hw.h | 2384 #define HERMON_EQE_EVTTYPE_GET(eq, eqe) \ argument 2385 (((uint8_t *)(eqe))[1]) 2386 #define HERMON_EQE_EVTSUBTYPE_GET(eq, eqe) \ argument 2387 (((uint8_t *)(eqe))[3]) 2388 #define HERMON_EQE_CQNUM_GET(eq, eqe) \ argument 2389 ((htonl(((uint32_t *)(eqe))[1]) & HERMON_EQE_CQNUM_MASK) >> \ 2391 #define HERMON_EQE_QPNUM_GET(eq, eqe) \ argument 2392 ((htonl(((uint32_t *)(eqe))[1]) & HERMON_EQE_QPNUM_MASK) >> \ 2394 #define HERMON_EQE_PORTNUM_GET(eq, eqe) \ argument 2395 (((((uint8_t *)(eqe))[12]) & HERMON_EQE_PORTNUM_MASK) >> \ [all …]
|
H A D | hermon_event.h | 287 hermon_hw_eqe_t *eqe); 299 hermon_hw_eqe_t *eqe);
|
H A D | hermon_cq.h | 284 hermon_hw_eqe_t *eqe); 286 hermon_hw_eqe_t *eqe);
|
H A D | hermon_cmd.h | 682 hermon_hw_eqe_t *eqe);
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 3555 errorq_elem_t eqe; in eqd_push_list() local 3558 if (mdb_vread(&eqe, sizeof (eqe), addr) != sizeof (eqe)) { in eqd_push_list() 3569 eqdp->eqd_stack[eqdp->eqd_qpos++] = (uintptr_t)eqe.eqe_data; in eqd_push_list() 3570 addr = (uintptr_t)eqe.eqe_prev; in eqd_push_list() 3578 errorq_elem_t eqe, *addr; in eqd_walk_init() local 3588 mdb_vread(&eqe, sizeof (eqe), (uintptr_t)eq.eq_ptail) == -1) { in eqd_walk_init() 3615 if (eqdp->eqd_stack[i] == (uintptr_t)eqe.eqe_data) { in eqd_walk_init() 3627 for (addr = eq.eq_phead; addr != NULL && mdb_vread(&eqe, sizeof (eqe), in eqd_walk_init() 3628 (uintptr_t)addr) == sizeof (eqe); addr = eqe.eqe_next) in eqd_walk_init()
|
/titanic_44/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_sli4.c | 4901 EQE_u eqe; in emlxs_sli4_read_eq() local 4918 eqe.word = *ptr; in emlxs_sli4_read_eq() 4919 eqe.word = BE_SWAP32(eqe.word); in emlxs_sli4_read_eq() 4921 if (eqe.word & EQE_VALID) { in emlxs_sli4_read_eq() 6911 EQE_u eqe; in emlxs_sli4_process_eq() local 6933 eqe.word = *ptr; in emlxs_sli4_process_eq() 6934 eqe.word = BE_SWAP32(eqe.word); in emlxs_sli4_process_eq() 6936 if (!(eqe.word & EQE_VALID)) { in emlxs_sli4_process_eq() 6942 "EQE00: %08x", eqe.word); in emlxs_sli4_process_eq() 6955 cqi = emlxs_sli4_cqid_to_index(hba, eqe.entry.CQId); in emlxs_sli4_process_eq() [all …]
|
/titanic_44/usr/src/uts/i86pc/cpu/generic_cpu/ |
H A D | gcpu_mca.c | 940 gcpu_mca_drain(void *ignored, const void *data, const errorq_elem_t *eqe) in gcpu_mca_drain() argument
|
/titanic_44/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nb5000.c | 2159 nb_drain(void *ignored, const void *data, const errorq_elem_t *eqe) in nb_drain() argument
|