Searched refs:cause (Results 1 - 25 of 33) sorted by relevance

12

/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 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...]
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 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);
/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 Dlatencytop.d89 this string cause;
193 this->cause = self->lt_stackp > 0 ?
198 @lt_call_count[pid, tid, stack(), this->cause,
200 @lt_call_sum[pid, tid, stack(), this->cause,
202 @lt_call_max[pid, tid, stack(), this->cause,
355 this->cause = self->lt_stackp > 0 ?
360 @lt_call_count[pid, tid, stack(), this->cause,
362 @lt_call_sum[pid, tid, stack(), this->cause,
364 @lt_call_max[pid, tid, stack(), this->cause,
377 this->cause
[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/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/svc/startd/
H A Dwait.c92 stop_cause_t cause = RSTOP_EXIT; local
105 cause = RSTOP_ERR_CFG;
107 cause = RSTOP_ERR_EXIT;
144 (void) stop_instance_fmri(wait_hndl, wi->wi_fmri, cause);
H A Drestarter.c1020 * for the cause stated.
1028 stop_cause_t cause)
1040 switch (cause) {
1088 (void) fprintf(stderr, "Unknown cause %d at %s:%d.\n",
1089 cause, __FILE__, __LINE__);
1124 (cause == RSTOP_EXIT ||
1125 cause == RSTOP_ERR_CFG ||
1126 cause == RSTOP_ERR_EXIT)) {
1142 if (cause == RSTOP_ERR_EXIT) {
1144 * The RSTOP_ERR_EXIT cause i
1027 stop_instance(scf_handle_t *local_handle, restarter_inst_t *inst, stop_cause_t cause) argument
1260 unmaintain_instance(scf_handle_t *h, restarter_inst_t *rip, unmaint_cause_t cause) argument
[all...]
/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/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/sun4/ml/
H A Dproc_init.s154 restore ! WILL cause underflow
/illumos-gate/usr/src/uts/common/io/cxgbe/common/
H A Dt4_hw.c2194 u32 cause = t4_read_reg(adapter, A_PL_INT_CAUSE); local
2196 if (!(cause & GLBL_INTR_MASK))
2198 if (cause & F_CIM)
2200 if (cause & F_MPS)
2202 if (cause & F_NCSI)
2204 if (cause & F_PL)
2206 if (cause & F_SMB)
2208 if (cause & F_XGMAC0)
2210 if (cause & F_XGMAC1)
2212 if (cause
[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/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/uts/common/io/ixgbe/
H A Dixgbe_main.c2618 * cause problems with the tx recycling
4718 * No interrupt cause bits set: don't claim this interrupt.
4864 * Check "other" cause bits: any interrupt type other than tx/rx
5269 * cause:
5270 * -1 : other cause
5276 int8_t cause)
5284 if (cause == -1) {
5285 cause = 0;
5287 index = (((cause * 64) + intr_alloc_entry) >> 2) & 0x1F;
5298 if (cause
5275 ixgbe_setup_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, uint8_t msix_vector, int8_t cause) argument
5333 ixgbe_enable_ivar(ixgbe_t *ixgbe, uint16_t intr_alloc_entry, int8_t cause) argument
5385 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/chxge/
H A Dsge.c551 u32 cause = t1_read_reg_4(obj, A_SG_INT_CAUSE); local
553 if (cause & F_RESPQ_EXHAUSTED)
555 if (cause & F_RESPQ_OVERFLOW) {
560 if (cause & F_FL_EXHAUSTED) {
564 if (cause & F_PACKET_TOO_BIG) {
569 if (cause & F_PACKET_MISMATCH) {
574 if (cause & SGE_INT_FATAL)
577 t1_write_reg_4(obj, A_SG_INT_CAUSE, cause);
1579 * cause receive buffer to be put back on sa free list.
/illumos-gate/usr/src/tools/scripts/
H A Dxref.mk103 # not really source files and thus can cause problems.
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c3052 * Return the current ISR setting and clear the cause.
3057 uint32_t cause; local
3059 cause = mwl_ctl_read4(sc, MACREG_REG_A2H_INTERRUPT_CAUSE);
3060 if (cause == 0xffffffff) { /* card removed */
3061 cause = 0;
3062 } else if (cause != 0) {
3063 /* clear cause bits */
3065 cause & ~sc->sc_hal_imask);
3067 cause &= sc->sc_hal_imask;
3069 *status = cause;
[all...]

Completed in 366 milliseconds

12