/illumos-gate/usr/src/uts/common/os/ |
H A D | errorq.c | 280 errorq_intr(caddr_t eqp) in errorq_intr() argument 282 errorq_drain((errorq_t *)eqp); in errorq_intr() 297 errorq_t *eqp = kmem_alloc(sizeof (errorq_t), KM_SLEEP); in errorq_create() local 315 &ibc, NULL, errorq_intr, (caddr_t)eqp) != DDI_SUCCESS) { in errorq_create() 318 kmem_free(eqp, sizeof (errorq_t)); in errorq_create() 322 if ((eqp->eq_ksp = kstat_create("unix", 0, name, "errorq", in errorq_create() 329 kmem_free(eqp, sizeof (errorq_t)); in errorq_create() 333 bcopy(&errorq_kstat_template, &eqp->eq_kstat, in errorq_create() 335 eqp->eq_ksp->ks_data = &eqp->eq_kstat; in errorq_create() 336 eqp->eq_ksp->ks_private = eqp; in errorq_create() [all …]
|
H A D | evchannels.c | 423 evch_delivery_hold(evch_eventq_t *eqp, callb_cpr_t *cpip) in evch_delivery_hold() argument 425 if (eqp->eq_tabortflag == 0) { in evch_delivery_hold() 427 if (eqp->eq_holdmode) { in evch_delivery_hold() 428 cv_signal(&eqp->eq_onholdcv); in evch_delivery_hold() 431 cv_wait(&eqp->eq_thrsleepcv, &eqp->eq_queuemx); in evch_delivery_hold() 432 CALLB_CPR_SAFE_END(cpip, &eqp->eq_queuemx); in evch_delivery_hold() 433 } while (eqp->eq_holdmode); in evch_delivery_hold() 442 evch_delivery_thr(evch_eventq_t *eqp) in evch_delivery_thr() argument 453 (int)eqp->eq_thrid); in evch_delivery_thr() 454 CALLB_CPR_INIT(&cprinfo, &eqp->eq_queuemx, callb_generic_cpr, thnam); in evch_delivery_thr() [all …]
|
H A D | strsubr.c | 3948 esb_queue_t *eqp; in freebs_enqueue() local 3953 eqp = system_esbq_array; in freebs_enqueue() 3954 if (eqp != NULL) { in freebs_enqueue() 3955 eqp += qindex; in freebs_enqueue() 3962 eqp = system_esbq_array; in freebs_enqueue() 3963 if (eqp != NULL) in freebs_enqueue() 3964 eqp += qindex; in freebs_enqueue() 3966 eqp = &system_esbq; in freebs_enqueue() 3979 mutex_enter(&eqp->eq_lock); in freebs_enqueue() 3981 if (eqp->eq_head == NULL) { in freebs_enqueue() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | ef10_ev.c | 53 __in efx_qword_t *eqp, 60 __in efx_qword_t *eqp, 67 __in efx_qword_t *eqp, 74 __in efx_qword_t *eqp, 81 __in efx_qword_t *eqp, 480 __in efx_qword_t *eqp, in ef10_ev_rx() argument 506 size = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_BYTES); in ef10_ev_rx() 507 next_read_lbits = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_DSC_PTR_LBITS); in ef10_ev_rx() 508 label = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_QLABEL); in ef10_ev_rx() 509 eth_tag_class = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_ETH_TAG_CLASS); in ef10_ev_rx() [all …]
|
H A D | efx_ev.c | 453 __in efx_qword_t *eqp, in siena_ev_rx_not_ok() argument 460 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_TOBE_DISC) != 0) { in siena_ev_rx_not_ok() 471 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_FRM_TRUNC) != 0) { in siena_ev_rx_not_ok() 487 if ((EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_SOP) == 0) && in siena_ev_rx_not_ok() 488 (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_JUMBO_CONT) == 0) && in siena_ev_rx_not_ok() 489 (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_BYTE_CNT) == 0)) in siena_ev_rx_not_ok() 494 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_ETH_CRC_ERR) != 0) { in siena_ev_rx_not_ok() 501 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_PAUSE_FRM_ERR) != 0) { in siena_ev_rx_not_ok() 508 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_BUF_OWNER_ID_ERR) != 0) { in siena_ev_rx_not_ok() 514 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_IP_HDR_CHKSUM_ERR) != 0) { in siena_ev_rx_not_ok() [all …]
|
H A D | efx_sram.c | 207 __out efx_qword_t *eqp) in efx_sram_byte_increment_set() argument 215 eqp->eq_u8[index] = offset + index; in efx_sram_byte_increment_set() 222 __out efx_qword_t *eqp) in efx_sram_all_the_same_set() argument 227 EFX_SET_QWORD(*eqp); in efx_sram_all_the_same_set() 229 EFX_ZERO_QWORD(*eqp); in efx_sram_all_the_same_set() 236 __out efx_qword_t *eqp) in efx_sram_bit_alternate_set() argument 240 EFX_POPULATE_QWORD_2(*eqp, in efx_sram_bit_alternate_set() 249 __out efx_qword_t *eqp) in efx_sram_byte_alternate_set() argument 253 EFX_POPULATE_QWORD_2(*eqp, in efx_sram_byte_alternate_set() 262 __out efx_qword_t *eqp) in efx_sram_byte_changing_set() argument [all …]
|
H A D | ef10_phy.c | 119 __in efx_qword_t *eqp, in ef10_phy_link_ev() argument 133 switch (MCDI_EV_FIELD(eqp, LINKCHANGE_SPEED)) { in ef10_phy_link_ev() 151 link_flags = MCDI_EV_FIELD(eqp, LINKCHANGE_LINK_FLAGS); in ef10_phy_link_ev() 153 MCDI_EV_FIELD(eqp, LINKCHANGE_FCNTL), in ef10_phy_link_ev() 155 mcdi_phy_decode_cap(MCDI_EV_FIELD(eqp, LINKCHANGE_LP_CAP), in ef10_phy_link_ev()
|
H A D | mcdi_mon.c | 256 __in efx_qword_t *eqp, in mcdi_mon_ev() argument 273 sensor = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_MONITOR); in mcdi_mon_ev() 274 state = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_STATE); in mcdi_mon_ev() 275 value = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_VALUE); in mcdi_mon_ev()
|
H A D | siena_phy.c | 112 __in efx_qword_t *eqp, in siena_phy_link_ev() argument 126 switch (MCDI_EV_FIELD(eqp, LINKCHANGE_SPEED)) { in siena_phy_link_ev() 141 link_flags = MCDI_EV_FIELD(eqp, LINKCHANGE_LINK_FLAGS); in siena_phy_link_ev() 143 MCDI_EV_FIELD(eqp, LINKCHANGE_FCNTL), in siena_phy_link_ev() 145 siena_phy_decode_cap(MCDI_EV_FIELD(eqp, LINKCHANGE_LP_CAP), in siena_phy_link_ev()
|
H A D | mcdi_mon.h | 56 __in efx_qword_t *eqp,
|
H A D | ef10_tx.c | 323 efx_qword_t *eqp; in ef10_tx_qpio_write() local 343 eqp = (efx_qword_t *)buffer; in ef10_tx_qpio_write() 345 EFSYS_BAR_WC_WRITEQ(esbp, write_offset, eqp); in ef10_tx_qpio_write() 346 eqp++; in ef10_tx_qpio_write()
|
H A D | siena_impl.h | 306 __in efx_qword_t *eqp,
|
H A D | ef10_impl.h | 560 __in efx_qword_t *eqp,
|
H A D | efx.h | 1465 __out efx_qword_t *eqp);
|
/illumos-gate/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 212 char *eqp, *name, *value; in parse_argv_attr() local 224 eqp = strchr(argv[i], '='); in parse_argv_attr() 225 if (eqp == NULL) in parse_argv_attr() 227 *eqp = '\0'; in parse_argv_attr() 229 value = eqp; in parse_argv_attr() 244 *eqp = '='; in parse_argv_attr() 252 if (eqp != NULL) in parse_argv_attr() 253 *eqp = '='; in parse_argv_attr()
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_dispq.c | 141 fmd_dispq_insert(fmd_dispq_t *dqp, fmd_eventq_t *eqp, const char *pattern) in fmd_dispq_insert() argument 156 dlp->dq_eventq = eqp; in fmd_dispq_insert() 168 fmd_eventq_t *eqp, int patc, char *patv[]) in fmd_dispq_delete_one() argument 187 fmd_dispq_delete_one(ep, eqp, patc - 1, patv + 1); in fmd_dispq_delete_one() 190 if (lp->dq_eventq != eqp) in fmd_dispq_delete_one() 213 fmd_dispq_delete(fmd_dispq_t *dqp, fmd_eventq_t *eqp, const char *pattern) in fmd_dispq_delete() argument 226 fmd_dispq_delete_one(dqp->dq_root, eqp, patc, patv); in fmd_dispq_delete()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | mach_cpu_module.c | 94 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, in ce_scrub_xdiag_recirc() argument 180 errorq_t *eqp, uint_t flag) in cpu_errorq_dispatch() argument
|
H A D | opl_olympus.c | 1589 errorq_t *eqp, uint_t flag) argument 1594 errorq_dispatch(eqp, payload, payload_sz, flag); 2357 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, argument
|
H A D | us3_common.c | 3238 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, in ce_scrub_xdiag_recirc() argument 3288 if ((ndata = errorq_elem_dup(eqp, eqep, &neqep)) == NULL) { in ce_scrub_xdiag_recirc() 3303 cbargp->lkycb_eqp = eqp; in ce_scrub_xdiag_recirc() 6799 errorq_t *eqp, uint_t flag) argument 6804 errorq_dispatch(eqp, payload, payload_sz, flag);
|
H A D | spitfire.c | 944 ce_scrub_xdiag_recirc(struct async_flt *ecc, errorq_t *eqp, errorq_elem_t *eqep, in ce_scrub_xdiag_recirc() argument 4109 errorq_t *eqp, uint_t flag) in cpu_errorq_dispatch() argument 4114 errorq_dispatch(eqp, payload, payload_sz, flag); in cpu_errorq_dispatch()
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 489 errorq_t *eqp; in cpu_queue_one_event() local 492 eqp = ue_queue; in cpu_queue_one_event() 494 eqp = ce_queue; in cpu_queue_one_event() 496 errorq_dispatch(eqp, errh_fltp, sizeof (errh_async_flt_t), in cpu_queue_one_event()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_solaris.c | 8828 EQ_DESC_t *eqp; in emlxs_msiid_to_chan() local 8834 eqp = &hba->sli.sli4.eq[msi_id]; in emlxs_msiid_to_chan() 8836 mutex_enter(&eqp->lastwq_lock); in emlxs_msiid_to_chan() 8837 chan = eqp->lastwq; in emlxs_msiid_to_chan() 8838 eqp->lastwq++; in emlxs_msiid_to_chan() 8840 if (eqp->lastwq >= ((msi_id + 1) * num_wq)) { in emlxs_msiid_to_chan() 8841 eqp->lastwq -= num_wq; in emlxs_msiid_to_chan() 8843 mutex_exit(&eqp->lastwq_lock); in emlxs_msiid_to_chan()
|