Searched defs:cause (Results 1 - 23 of 23) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DNativeException.java46 NativeException(String file, int line, Throwable cause) argument
48 super(cause);
60 Throwable cause = getCause();
61 if (cause != null) {
62 String message = cause.getMessage();
65 buf.append(cause.getMessage());
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dulp.c76 u32 cause = t1_read_reg_4(ulp->adapter, A_ULP_INT_CAUSE); local
78 if (cause & F_HREG_PAR_ERR)
81 if (cause & F_EGRS_DATA_PAR_ERR)
84 if (cause & F_INGRS_DATA_PAR_ERR)
87 if (cause & F_PM_INTR)
90 if (cause & F_PM_E2C_SYNC_ERR)
93 if (cause & F_PM_C2E_SYNC_ERR)
96 if (cause & F_PM_E2C_EMPTY_ERR)
99 if (cause & F_PM_C2E_EMPTY_ERR)
102 if (G_PM_PAR_ERR(cause))
[all...]
H A Dmc3.c113 u32 cause; local
119 cause = t1_read_reg_4(adapter, cause_reg);
121 if (cause & F_MC3_CORR_ERR) {
134 if (cause & F_MC3_UNCORR_ERR) {
147 if (G_MC3_PARITY_ERR(cause)) {
150 G_MC3_PARITY_ERR(cause));
153 if (cause & F_MC3_ADDR_ERR) {
158 if (cause & MC3_INTR_FATAL)
166 t1_write_reg_4(adapter, A_MC3_INT_ENABLE, cause);
170 t1_write_reg_4(adapter, cause_reg, cause);
[all...]
H A Dmc4.c249 u32 cause = t1_read_reg_4(adapter, A_MC4_INT_CAUSE); local
251 if (cause & F_MC4_CORR_ERR) {
264 if (cause & F_MC4_UNCORR_ERR) {
277 if (cause & F_MC4_ADDR_ERR) {
282 if (cause & MC4_INT_FATAL)
285 t1_write_reg_4(mc4->adapter, A_MC4_INT_CAUSE, cause);
H A Dmv88e1xxx.c323 * Loop until cause reads zero. Need to handle bouncing interrupts.
327 u32 cause; local
330 &cause);
331 cause &= INTR_ENABLE_MASK;
332 if (!cause) break;
334 if (cause & MV88E1XXX_INTR_LINK_CHNG) {
348 if (cause & MV88E1XXX_INTR_AUTONEG_DONE)
H A Dtp.c248 * packets. Too big of a delay could cause Tx not to achieve
373 u32 cause; local
381 cause = t1_read_reg_4(tp->adapter, A_TP_INT_CAUSE);
382 t1_write_reg_4(tp->adapter, A_TP_INT_CAUSE, cause);
H A Dch_subr.c207 u32 cause = t1_read_reg_4(adapter, FPGA_GMAC_ADDR_INTERRUPT_CAUSE); local
210 if (cause & (1 << p)) {
217 t1_write_reg_4(adapter, FPGA_GMAC_ADDR_INTERRUPT_CAUSE, cause);
226 u32 cause = t1_read_reg_4(adapter, A_PL_CAUSE); local
228 cause &= ~F_PL_INTR_SGE_DATA;
229 if (cause & F_PL_INTR_SGE_ERR)
232 if (cause & FPGA_PCIX_INTERRUPT_GMAC)
235 if (cause & FPGA_PCIX_INTERRUPT_TP) {
251 if (cause & FPGA_PCIX_INTERRUPT_MC3)
254 if (cause
870 u32 cause; local
1106 u32 cause = t1_read_reg_4(adapter, A_PL_CAUSE); local
[all...]
H A Dmc5.c565 u32 cause = t1_read_reg_4(adap, A_MC5_INT_CAUSE); local
567 if (cause & F_MC5_INT_HIT_OUT_ACTIVE_REGION_ERR)
570 if (cause & F_MC5_INT_HIT_IN_ACTIVE_REGION_ERR)
573 if (cause & F_MC5_INT_HIT_IN_RT_REGION_ERR)
576 if (cause & F_MC5_INT_MISS_ERR)
579 if (cause & F_MC5_INT_LIP0_ERR)
582 if (cause & F_MC5_INT_LIP_MISS_ERR)
585 if ((cause & F_MC5_INT_PARITY_ERR) && mc5->parity_enabled) {
590 if (cause & F_MC5_INT_ACTIVE_REGION_FULL)
593 if (cause
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dwait.c93 stop_cause_t cause = RSTOP_EXIT; local
106 cause = RSTOP_ERR_CFG;
108 cause = RSTOP_ERR_EXIT;
145 (void) stop_instance_fmri(wait_hndl, wi->wi_fmri, cause);
H A Drestarter.c1022 * for the cause stated.
1030 stop_cause_t cause)
1042 switch (cause) {
1090 (void) fprintf(stderr, "Unknown cause %d at %s:%d.\n",
1091 cause, __FILE__, __LINE__);
1126 (cause == RSTOP_EXIT ||
1127 cause == RSTOP_ERR_CFG ||
1128 cause == RSTOP_ERR_EXIT)) {
1144 if (cause == RSTOP_ERR_EXIT) {
1146 * The RSTOP_ERR_EXIT cause i
1029 stop_instance(scf_handle_t *local_handle, restarter_inst_t *inst, stop_cause_t cause) argument
1262 unmaintain_instance(scf_handle_t *h, restarter_inst_t *rip, unmaint_cause_t cause) argument
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4/cpumem-diagnosis/
H A Dcmd_cpuerr.c390 * If it was, make sure to only process the cause of the train. If not,
398 cmd_errcl_t cause; local
424 fmd_hdl_debug(hdl, "cause already seen -- discarding\n");
429 if ((cause = cmd_train_match(trw->trw_mask, xr->xr_clcode)) == 0) {
439 fmd_hdl_debug(hdl, "found a match for train. cause is %llx, "
440 "this is %llx\n", cause, xr->xr_clcode);
443 * We've got a train match. If this event is the cause of the train,
446 if (cause == xr->xr_clcode) {
/illumos-gate/usr/src/cmd/fm/modules/sun4v/cpumem-diagnosis/
H A Dcmd_cpu_arch.c212 cmd_errcl_t cause = 0; local
220 cause = cmd_xxcu_train_match(train_mask);
221 if (cause) {
222 return (cause);
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_error.c101 char *cause; local
132 cause = (char *)data->b_rptr;
139 cause = NULL;
147 if ((len = sctp_link_abort(mp, SCTP_ERR_USER_ABORT, cause, len, 0,
611 /* no error cause given */
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/
H A Drevarp.c276 char *cause; local
285 cause = NULL;
288 cause = "short packet";
290 cause = "hardware type not Ethernet";
292 cause = "protocol type not IP";
294 cause = "unexpected hardware address length";
296 cause = "unexpected protocol address length";
297 if (cause != NULL) {
299 "but discarded (%s)\n", cause);
/illumos-gate/usr/src/cmd/latencytop/common/
H A Dtable.c35 * Structure that holds detail of a cause.
44 * Structure that represents a matched cause.
57 * This hash table maps a symbol to a cause.
82 free_cause(lt_cause_t *cause, void *user) argument
84 g_assert(cause != NULL && cause->lt_c_name != NULL);
86 free(cause->lt_c_name);
87 free(cause);
99 * Add a cause.
120 * Set a cause t
125 lt_cause_t *cause; local
233 lt_cause_t *cause; local
347 lt_cause_t *cause; local
614 lt_cause_t *cause; local
689 lt_cause_t *cause = NULL; local
760 lt_cause_t *cause; local
782 lt_cause_t *cause; local
[all...]
H A Dstat.c85 * We don't use normal "cause table" because this needs to be cleared
338 * Identify the cause of latency from the given stack trace.
346 int cause = INVALID_CAUSE; local
364 if (found && (cause == INVALID_CAUSE ||
366 cause = cause_temp;
378 *cause_id = cause;
490 /* Ignore this cause */
508 * The stack trace is mapped to a cause and lt_stat_update_cause() is called
543 * in pane 2. This makes it easier to find the cause.
/illumos-gate/usr/src/uts/common/io/chxge/
H A Dsge.c550 u32 cause = t1_read_reg_4(obj, A_SG_INT_CAUSE); local
552 if (cause & F_RESPQ_EXHAUSTED)
554 if (cause & F_RESPQ_OVERFLOW) {
559 if (cause & F_FL_EXHAUSTED) {
563 if (cause & F_PACKET_TOO_BIG) {
568 if (cause & F_PACKET_MISMATCH) {
573 if (cause & SGE_INT_FATAL)
576 t1_write_reg_4(obj, A_SG_INT_CAUSE, cause);
1577 * cause receive buffer to be put back on sa free list.
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c481 char *cause; local
517 cause = NULL;
520 cause = "short packet";
522 cause = "hardware type not Ethernet";
524 cause = "protocol type not IP";
526 cause = "unexpected hardware address length";
528 cause = "unexpected protocol address length";
529 if (cause != NULL) {
532 "discarded: %s", cause);
/illumos-gate/usr/src/uts/sun/io/
H A Dsocal.c3185 int cause = 0; local
3194 cause = (int)SOCAL_INTR_CAUSE(socalp, csr);
3197 "socal%d: intr: csr: 0x%x cause: 0x%x\n",
3198 instance, csr, cause));
3200 if (!cause) {
3207 while (cause) {
3215 if (cause & SOCAL_CSR_RSP_QUE_1) {
3220 if (cause & SOCAL_CSR_RSP_QUE_0) {
3227 * if (cause & SOCAL_CSR_RSP_QUE_0) {
3239 if ((request = (cause
[all...]
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c3056 * Return the current ISR setting and clear the cause.
3061 uint32_t cause; local
3063 cause = mwl_ctl_read4(sc, MACREG_REG_A2H_INTERRUPT_CAUSE);
3064 if (cause == 0xffffffff) { /* card removed */
3065 cause = 0;
3066 } else if (cause != 0) {
3067 /* clear cause bits */
3069 cause & ~sc->sc_hal_imask);
3071 cause &= sc->sc_hal_imask;
3073 *status = cause;
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_main.c2681 * cause problems with the tx recycling
4762 * No interrupt cause bits set: don't claim this interrupt.
4909 * Check "other" cause bits: any interrupt type other than tx/rx
5317 * cause:
5318 * -1 : other cause
5324 int8_t cause)
5332 if (cause == -1) {
5333 cause = 0;
5335 index = (((cause * 64) + intr_alloc_entry) >> 2) & 0x1F;
5347 if (cause
5323 ixgbe_setup_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, uint8_t msix_vector, int8_t cause) argument
5382 ixgbe_enable_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, int8_t cause) argument
5435 ixgbe_disable_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, int8_t cause) argument
[all...]
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c425 fcp_map_tag_t *map_tag, int cause);
428 int tgt_cnt, int cause);
429 static int fcp_handle_reportlun_changed(struct fcp_tgt *ptgt, int cause);
431 struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause);
433 int cause);
443 int nodma, int lcount, int tcount, int cause, uint32_t rscn_count);
454 int len, int lcount, int tcount, int cause, uint32_t rscn_count);
463 int link_cnt, int tgt_cnt, int cause);
466 int tgt_cnt, int cause);
492 fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause);
4615 fcp_handle_devices(struct fcp_port *pptr, fc_portmap_t devlist[], uint32_t dev_cnt, int link_cnt, fcp_map_tag_t *map_tag, int cause) argument
4855 fcp_handle_reportlun_changed(struct fcp_tgt *ptgt, int cause) argument
4931 fcp_handle_mapflags(struct fcp_port *pptr, struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause) argument
5143 fcp_send_els(struct fcp_port *pptr, struct fcp_tgt *ptgt, struct fcp_ipkt *icmd, uchar_t opcode, int lcount, int tcount, int cause) argument
5366 fcp_update_state(struct fcp_port *pptr, uint32_t state, int cause) argument
5389 fcp_offline_all(struct fcp_port *pptr, int lcount, int cause) argument
5729 fcp_icmd_alloc(struct fcp_port *pptr, struct fcp_tgt *ptgt, int cmd_len, int resp_len, int data_len, int nodma, int lcount, int tcount, int cause, uint32_t rscn_count) argument
6513 fcp_send_scsi(struct fcp_lun *plun, uchar_t opcode, int alloc_len, int lcount, int tcount, int cause, uint32_t rscn_count) argument
7943 fcp_finish_tgt(struct fcp_port *pptr, struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int cause) argument
8055 fcp_create_luns(struct fcp_tgt *ptgt, int link_cnt, int tgt_cnt, int cause) argument
9284 fcp_device_changed(struct fcp_port *pptr, struct fcp_tgt *ptgt, fc_portmap_t *map_entry, int link_cnt, int tgt_cnt, int cause) argument
14639 fcp_update_targets(struct fcp_port *pptr, fc_portmap_t *dev_list, uint32_t count, uint32_t state, int cause) argument
14666 fcp_call_finish_init(struct fcp_port *pptr, struct fcp_tgt *ptgt, int lcount, int tcount, int cause) argument
14680 fcp_call_finish_init_held(struct fcp_port *pptr, struct fcp_tgt *ptgt, int lcount, int tcount, int cause) argument
[all...]
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c157 /* Reset F_ENABLE to 0 so reads of PCIE_CFG_SPACE_DATA won't cause a
4326 * a result, a RESET of the adapter would cause that RAM to lose its
5628 u32 cause = raw_cause & enable; local
5630 if (!(cause & GLBL_INTR_MASK))
5637 if (cause & F_CIM)
5639 if (cause & F_MPS)
5641 if (cause & F_NCSI)
5643 if (cause & F_PL)
5645 if (cause & F_SMB)
5647 if (cause
[all...]

Completed in 391 milliseconds