Home
last modified time | relevance | path

Searched refs:eqp (Results 1 – 22 of 22) sorted by relevance

/illumos-gate/usr/src/uts/common/os/
H A Derrorq.c335 eqp->eq_ksp->ks_data = &eqp->eq_kstat; in errorq_create()
336 eqp->eq_ksp->ks_private = eqp; in errorq_create()
464 kmem_free(eqp->eq_bitmap, BT_SIZEOFMAP(eqp->eq_qlen)); in errorq_destroy()
465 kmem_free(eqp->eq_data, eqp->eq_qlen * eqp->eq_size); in errorq_destroy()
526 if (eqp == NULL || !(eqp->eq_flags & ERRORQ_ACTIVE)) { in errorq_dispatch()
667 eqp->eq_func(eqp->eq_private, eep->eqe_data, eep); in errorq_drain()
714 for (eqp = errorq_list; eqp != NULL; eqp = eqp->eq_next) { in errorq_init()
724 "for queue %s", eqp->eq_ipl, eqp->eq_name); in errorq_init()
749 for (eqp = errorq_list; eqp != NULL; eqp = eqp->eq_next) { in errorq_panic_drain()
802 eqp->eq_func(eqp->eq_private, eep->eqe_data, eep); in errorq_panic_drain()
[all …]
H A Devchannels.c431 cv_wait(&eqp->eq_thrsleepcv, &eqp->eq_queuemx); in evch_delivery_hold()
453 (int)eqp->eq_thrid); in evch_delivery_thr()
457 while (eqp->eq_holdmode == 0 && eqp->eq_tabortflag == 0 && in evch_delivery_thr()
466 eqp->eq_dactive = 1; in evch_delivery_thr()
470 eqp->eq_dactive = 0; in evch_delivery_thr()
569 eqp->eq_holdmode = 0; in evch_evq_destroy()
624 if (eqp->eq_dactive) { in evch_evq_unsub()
625 cv_wait(&eqp->eq_dactivecv, &eqp->eq_queuemx); in evch_evq_unsub()
672 eqp->eq_holdmode = 1; in evch_evq_stop()
675 cv_wait(&eqp->eq_onholdcv, &eqp->eq_queuemx); in evch_evq_stop()
[all …]
H A Dstrsubr.c3949 esb_queue_t *eqp; in freebs_enqueue() local
3955 if (eqp != NULL) { in freebs_enqueue()
3956 eqp += qindex; in freebs_enqueue()
3964 if (eqp != NULL) in freebs_enqueue()
3965 eqp += qindex; in freebs_enqueue()
3983 eqp->eq_head = eqp->eq_tail = mp; in freebs_enqueue()
3988 eqp->eq_len++; in freebs_enqueue()
4014 eqp->eq_head = eqp->eq_tail = NULL; in esballoc_process_queue()
4015 eqp->eq_len = 0; in esballoc_process_queue()
4023 } while ((eqp->eq_len >= esbq_max_qlen) && (eqp->eq_len > 0)); in esballoc_process_queue()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Def10_ev.c53 __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
646 __in efx_qword_t *eqp, in ef10_ev_tx() argument
681 __in efx_qword_t *eqp, in ef10_ev_driver() argument
731 __in efx_qword_t *eqp, in ef10_ev_drv_gen() argument
759 __in efx_qword_t *eqp, in ef10_ev_mcdi() argument
[all …]
H A Defx_ev.c453 __in efx_qword_t *eqp, in siena_ev_rx_not_ok() argument
543 __in efx_qword_t *eqp, in siena_ev_rx() argument
697 __in efx_qword_t *eqp, in siena_ev_tx() argument
744 __in efx_qword_t *eqp, in siena_ev_global() argument
748 _NOTE(ARGUNUSED(eqp, eecp, arg)) in siena_ev_global()
758 __in efx_qword_t *eqp, in siena_ev_driver() argument
887 __in efx_qword_t *eqp, in siena_ev_drv_gen() argument
915 __in efx_qword_t *eqp, in siena_ev_mcdi() argument
944 MCDI_EV_FIELD(eqp, CMDDONE_SEQ), in siena_ev_mcdi()
967 MCDI_EV_FIELD(eqp, DATA)); in siena_ev_mcdi()
[all …]
H A Defx_sram.c207 __out efx_qword_t *eqp) in efx_sram_byte_increment_set() argument
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
262 __out efx_qword_t *eqp) in efx_sram_byte_changing_set() argument
283 __out efx_qword_t *eqp) in efx_sram_bit_sweep_set() argument
288 EFX_SET_QWORD(*eqp); in efx_sram_bit_sweep_set()
[all …]
H A Def10_phy.c119 __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 Dmcdi_mon.c256 __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 Dsiena_phy.c112 __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 Dmcdi_mon.h56 __in efx_qword_t *eqp,
H A Def10_tx.c323 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 Dsiena_impl.h306 __in efx_qword_t *eqp,
H A Def10_impl.h560 __in efx_qword_t *eqp,
H A Defx.h1465 __out efx_qword_t *eqp);
/illumos-gate/usr/src/cmd/pcidr/
H A Dpcidr.c212 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 Dfmd_dispq.c141 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 Dmach_cpu_module.c94 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 Dopl_olympus.c1589 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 Dus3_common.c3238 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 Dspitfire.c944 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 Derror.c489 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 Demlxs_solaris.c8828 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()