/illumos-gate/usr/src/uts/common/os/ |
H A D | errorq.c | 98 * allocates an errorq element from eqp->eq_bitmap and returns a valid 105 * eqp->eq_bitmap and reset the associated nv_alloc structure. 121 * Unused elements are kept in the free pool, managed by eqp->eq_bitmap. 126 * pointed to by eqp->eq_pend, and linked together using eqe_prev. This 130 * The processing list is a doubly-linked list pointed to by eqp->eq_phead 131 * (the oldest element) and eqp->eq_ptail (the newest element). The 280 errorq_intr(caddr_t eqp) argument 282 errorq_drain((errorq_t *)eqp); 297 errorq_t *eqp = kmem_alloc(sizeof (errorq_t), KM_SLEEP); local 315 &ibc, NULL, errorq_intr, (caddr_t)eqp) ! 396 errorq_t *eqp; local 426 errorq_destroy(errorq_t *eqp) argument 522 errorq_dispatch(errorq_t *eqp, const void *data, size_t len, uint_t flag) argument 585 errorq_drain(errorq_t *eqp) argument 706 errorq_t *eqp; local 743 errorq_t *eqp; local 865 errorq_reserve(errorq_t *eqp) argument 906 errorq_commit(errorq_t *eqp, errorq_elem_t *eqep, uint_t flag) argument 935 errorq_cancel(errorq_t *eqp, errorq_elem_t *eqep) argument 953 errorq_t *eqp; local 1004 errorq_elem_nvl(errorq_t *eqp, const errorq_elem_t *eqep) argument 1014 errorq_elem_nva(errorq_t *eqp, const errorq_elem_t *eqep) argument 1027 errorq_elem_dup(errorq_t *eqp, const errorq_elem_t *eqep, errorq_elem_t **neqep) argument [all...] |
H A D | evchannels.c | 419 evch_delivery_hold(evch_eventq_t *eqp, callb_cpr_t *cpip) argument 421 if (eqp->eq_tabortflag == 0) { 423 if (eqp->eq_holdmode) { 424 cv_signal(&eqp->eq_onholdcv); 427 cv_wait(&eqp->eq_thrsleepcv, &eqp->eq_queuemx); 428 CALLB_CPR_SAFE_END(cpip, &eqp->eq_queuemx); 429 } while (eqp->eq_holdmode); 438 evch_delivery_thr(evch_eventq_t *eqp) argument 449 (int)eqp 518 evch_evq_thrcreate(evch_eventq_t *eqp) argument 556 evch_evq_destroy(evch_eventq_t *eqp) argument 593 evch_evq_sub(evch_eventq_t *eqp, filter_f filter, void *fcookie, deliver_f callb, void *cbcookie) argument 615 evch_evq_unsub(evch_eventq_t *eqp, evch_evqsub_t *sp) argument 632 evch_evq_pub(evch_eventq_t *eqp, void *ev, int flags) argument 665 evch_evq_stop(evch_eventq_t *eqp) argument 680 evch_evq_continue(evch_eventq_t *eqp) argument 692 evch_evq_status(evch_eventq_t *eqp) argument 1205 evch_eventq_t *eqp = chp->ch_queue; local [all...] |
H A D | strsubr.c | 3924 esb_queue_t *eqp; local 3929 eqp = system_esbq_array; 3930 if (eqp != NULL) { 3931 eqp += qindex; 3938 eqp = system_esbq_array; 3939 if (eqp != NULL) 3940 eqp += qindex; 3942 eqp = &system_esbq; 3955 mutex_enter(&eqp->eq_lock); 3957 if (eqp 3975 esballoc_process_queue(esb_queue_t *eqp) argument 4045 esb_queue_t *eqp = arg; local 4059 esballoc_set_timer(esb_queue_t *eqp, clock_t eq_timeout) argument [all...] |
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_ev.c | 453 __in efx_qword_t *eqp, 460 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_TOBE_DISC) != 0) { 471 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_FRM_TRUNC) != 0) { 487 if ((EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_SOP) == 0) && 488 (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_JUMBO_CONT) == 0) && 489 (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_BYTE_CNT) == 0)) 494 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_ETH_CRC_ERR) != 0) { 501 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_PAUSE_FRM_ERR) != 0) { 508 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_BUF_OWNER_ID_ERR) != 0) { 514 if (EFX_QWORD_FIELD(*eqp, FSF_AZ_RX_EV_IP_HDR_CHKSUM_ER 451 siena_ev_rx_not_ok( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in uint32_t label, __in uint32_t id, __inout uint16_t *flagsp) argument 541 siena_ev_rx( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 695 siena_ev_tx( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 742 siena_ev_global( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 756 siena_ev_driver( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 885 siena_ev_drv_gen( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 913 siena_ev_mcdi( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument [all...] |
H A D | efx_sram.c | 207 __out efx_qword_t *eqp) 215 eqp->eq_u8[index] = offset + index; 222 __out efx_qword_t *eqp) 227 EFX_SET_QWORD(*eqp); 229 EFX_ZERO_QWORD(*eqp); 236 __out efx_qword_t *eqp) 240 EFX_POPULATE_QWORD_2(*eqp, 249 __out efx_qword_t *eqp) 253 EFX_POPULATE_QWORD_2(*eqp, 262 __out efx_qword_t *eqp) 204 efx_sram_byte_increment_set( __in size_t row, __in boolean_t negate, __out efx_qword_t *eqp) argument 219 efx_sram_all_the_same_set( __in size_t row, __in boolean_t negate, __out efx_qword_t *eqp) argument 233 efx_sram_bit_alternate_set( __in size_t row, __in boolean_t negate, __out efx_qword_t *eqp) argument 246 efx_sram_byte_alternate_set( __in size_t row, __in boolean_t negate, __out efx_qword_t *eqp) argument 259 efx_sram_byte_changing_set( __in size_t row, __in boolean_t negate, __out efx_qword_t *eqp) argument 280 efx_sram_bit_sweep_set( __in size_t row, __in boolean_t negate, __out efx_qword_t *eqp) argument [all...] |
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, 506 size = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_BYTES); 507 next_read_lbits = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_DSC_PTR_LBITS); 508 label = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_QLABEL); 509 eth_tag_class = EFX_QWORD_FIELD(*eqp, ESF_DZ_RX_ETH_TAG_CLAS 478 ef10_ev_rx( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 644 ef10_ev_tx( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 679 ef10_ev_driver( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 729 ef10_ev_drv_gen( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument 757 ef10_ev_mcdi( __in efx_evq_t *eep, __in efx_qword_t *eqp, __in const efx_ev_callbacks_t *eecp, __in_opt void *arg) argument [all...] |
H A D | mcdi_mon.h | 56 __in efx_qword_t *eqp,
|
H A D | ef10_phy.c | 119 __in efx_qword_t *eqp, 133 switch (MCDI_EV_FIELD(eqp, LINKCHANGE_SPEED)) { 151 link_flags = MCDI_EV_FIELD(eqp, LINKCHANGE_LINK_FLAGS); 153 MCDI_EV_FIELD(eqp, LINKCHANGE_FCNTL), 155 mcdi_phy_decode_cap(MCDI_EV_FIELD(eqp, LINKCHANGE_LP_CAP), 117 ef10_phy_link_ev( __in efx_nic_t *enp, __in efx_qword_t *eqp, __out efx_link_mode_t *link_modep) argument
|
H A D | mcdi_mon.c | 256 __in efx_qword_t *eqp, 273 sensor = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_MONITOR); 274 state = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_STATE); 275 value = (uint16_t)MCDI_EV_FIELD(eqp, SENSOREVT_VALUE); 254 mcdi_mon_ev( __in efx_nic_t *enp, __in efx_qword_t *eqp, __out efx_mon_stat_t *idp, __out efx_mon_stat_value_t *valuep) argument
|
H A D | siena_phy.c | 112 __in efx_qword_t *eqp, 126 switch (MCDI_EV_FIELD(eqp, LINKCHANGE_SPEED)) { 141 link_flags = MCDI_EV_FIELD(eqp, LINKCHANGE_LINK_FLAGS); 143 MCDI_EV_FIELD(eqp, LINKCHANGE_FCNTL), 145 siena_phy_decode_cap(MCDI_EV_FIELD(eqp, LINKCHANGE_LP_CAP), 110 siena_phy_link_ev( __in efx_nic_t *enp, __in efx_qword_t *eqp, __out efx_link_mode_t *link_modep) argument
|
H A D | ef10_tx.c | 323 efx_qword_t *eqp; local 343 eqp = (efx_qword_t *)buffer; 345 EFSYS_BAR_WC_WRITEQ(esbp, write_offset, eqp); 346 eqp++;
|
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; local 224 eqp = strchr(argv[i], '='); 225 if (eqp == NULL) 227 *eqp = '\0'; 229 value = eqp; 244 *eqp = '='; 252 if (eqp != NULL) 253 *eqp = '=';
|
/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) argument 156 dlp->dq_eventq = eqp; 168 fmd_eventq_t *eqp, int patc, char *patv[]) 187 fmd_dispq_delete_one(ep, eqp, patc - 1, patv + 1); 190 if (lp->dq_eventq != eqp) 213 fmd_dispq_delete(fmd_dispq_t *dqp, fmd_eventq_t *eqp, const char *pattern) argument 226 fmd_dispq_delete_one(dqp->dq_root, eqp, patc, patv); 167 fmd_dispq_delete_one(fmd_dispqelem_t *dep, fmd_eventq_t *eqp, int patc, char *patv[]) argument
|
/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, argument 180 errorq_t *eqp, uint_t flag) 179 cpu_errorq_dispatch(char *error_class, void *payload, size_t payload_sz, errorq_t *eqp, uint_t flag) argument
|
H A D | opl_olympus.c | 1589 errorq_t *eqp, uint_t flag) 1594 errorq_dispatch(eqp, payload, payload_sz, flag); 2357 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, argument 1588 cpu_errorq_dispatch(char *error_class, void *payload, size_t payload_sz, errorq_t *eqp, uint_t flag) argument
|
H A D | us3_common.c | 3237 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, argument 3287 if ((ndata = errorq_elem_dup(eqp, eqep, &neqep)) == NULL) { 3302 cbargp->lkycb_eqp = eqp; 6798 errorq_t *eqp, uint_t flag) 6803 errorq_dispatch(eqp, payload, payload_sz, flag); 6797 cpu_errorq_dispatch(char *error_class, void *payload, size_t payload_sz, errorq_t *eqp, uint_t flag) argument
|
H A D | spitfire.c | 944 ce_scrub_xdiag_recirc(struct async_flt *ecc, errorq_t *eqp, errorq_elem_t *eqep, argument 4109 errorq_t *eqp, uint_t flag) 4114 errorq_dispatch(eqp, payload, payload_sz, flag); 4108 cpu_errorq_dispatch(char *error_class, void *payload, size_t payload_sz, errorq_t *eqp, uint_t flag) argument
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | error.c | 489 errorq_t *eqp; local 492 eqp = ue_queue; 494 eqp = ce_queue; 496 errorq_dispatch(eqp, errh_fltp, sizeof (errh_async_flt_t),
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_solaris.c | 8805 EQ_DESC_t *eqp; local 8811 eqp = &hba->sli.sli4.eq[msi_id]; 8813 mutex_enter(&eqp->lastwq_lock); 8814 chan = eqp->lastwq; 8815 eqp->lastwq++; 8817 if (eqp->lastwq >= ((msi_id + 1) * num_wq)) { 8818 eqp->lastwq -= num_wq; 8820 mutex_exit(&eqp->lastwq_lock);
|