/titanic_41/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 | 419 evch_delivery_hold(evch_eventq_t *eqp, callb_cpr_t *cpip) in evch_delivery_hold() argument 421 if (eqp->eq_tabortflag == 0) { in evch_delivery_hold() 423 if (eqp->eq_holdmode) { in evch_delivery_hold() 424 cv_signal(&eqp->eq_onholdcv); in evch_delivery_hold() 427 cv_wait(&eqp->eq_thrsleepcv, &eqp->eq_queuemx); in evch_delivery_hold() 428 CALLB_CPR_SAFE_END(cpip, &eqp->eq_queuemx); in evch_delivery_hold() 429 } while (eqp->eq_holdmode); in evch_delivery_hold() 438 evch_delivery_thr(evch_eventq_t *eqp) in evch_delivery_thr() argument 449 (int)eqp->eq_thrid); in evch_delivery_thr() 450 CALLB_CPR_INIT(&cprinfo, &eqp->eq_queuemx, callb_generic_cpr, thnam); in evch_delivery_thr() [all …]
|
H A D | strsubr.c | 3924 esb_queue_t *eqp; in freebs_enqueue() local 3929 eqp = system_esbq_array; in freebs_enqueue() 3930 if (eqp != NULL) { in freebs_enqueue() 3931 eqp += qindex; in freebs_enqueue() 3938 eqp = system_esbq_array; in freebs_enqueue() 3939 if (eqp != NULL) in freebs_enqueue() 3940 eqp += qindex; in freebs_enqueue() 3942 eqp = &system_esbq; in freebs_enqueue() 3955 mutex_enter(&eqp->eq_lock); in freebs_enqueue() 3957 if (eqp->eq_head == NULL) { in freebs_enqueue() [all …]
|
/titanic_41/usr/src/cmd/pcidr/ |
H A D | pcidr.c | 214 char *eqp, *name, *value; in parse_argv_attr() local 226 eqp = strchr(argv[i], '='); in parse_argv_attr() 227 if (eqp == NULL) in parse_argv_attr() 229 *eqp = '\0'; in parse_argv_attr() 231 value = eqp; in parse_argv_attr() 246 *eqp = '='; in parse_argv_attr() 254 if (eqp != NULL) in parse_argv_attr() 255 *eqp = '='; in parse_argv_attr()
|
/titanic_41/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()
|
/titanic_41/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 | 3237 ce_scrub_xdiag_recirc(struct async_flt *aflt, errorq_t *eqp, in ce_scrub_xdiag_recirc() argument 3287 if ((ndata = errorq_elem_dup(eqp, eqep, &neqep)) == NULL) { in ce_scrub_xdiag_recirc() 3302 cbargp->lkycb_eqp = eqp; in ce_scrub_xdiag_recirc() 6798 errorq_t *eqp, uint_t flag) argument 6803 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()
|
/titanic_41/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()
|
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_solaris.c | 8805 EQ_DESC_t *eqp; in emlxs_msiid_to_chan() local 8811 eqp = &hba->sli.sli4.eq[msi_id]; in emlxs_msiid_to_chan() 8813 mutex_enter(&eqp->lastwq_lock); in emlxs_msiid_to_chan() 8814 chan = eqp->lastwq; in emlxs_msiid_to_chan() 8815 eqp->lastwq++; in emlxs_msiid_to_chan() 8817 if (eqp->lastwq >= ((msi_id + 1) * num_wq)) { in emlxs_msiid_to_chan() 8818 eqp->lastwq -= num_wq; in emlxs_msiid_to_chan() 8820 mutex_exit(&eqp->lastwq_lock); in emlxs_msiid_to_chan()
|