Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 1694) sorted by relevance

12345678910>>...68

/netbsd-src/sys/arch/mips/mips/
H A Dmips_emul.c188 mips_emul_inst(uint32_t status, uint32_t cause, vaddr_t opc, in mips_emul_inst() argument
198 if (cause & MIPS_CR_BR_DELAY) in mips_emul_inst()
205 mips_emul_ll(inst, tf, cause); in mips_emul_inst()
208 mips_emul_sc(inst, tf, cause); in mips_emul_inst()
211 mips_emul_special(inst, tf, cause); in mips_emul_inst()
214 mips_emul_special3(inst, tf, cause); in mips_emul_inst()
218 mips_emul_fp(inst, tf, cause); in mips_emul_inst()
223 mips_emul_lwc1(inst, tf, cause); in mips_emul_inst()
228 mips_emul_ldc1(inst, tf, cause); in mips_emul_inst()
233 mips_emul_swc1(inst, tf, cause); in mips_emul_inst()
[all …]
H A Dtrap.c170 trap(uint32_t status, uint32_t cause, vaddr_t vaddr, vaddr_t pc, in trap() argument
192 type = TRAPTYPE(cause); in trap()
238 cpu_number(), trap_names[TRAPTYPE(cause)], in trap()
244 status, cause, pc, vaddr); in trap()
267 (void)(*mips_locoresw.lsw_bus_error)(cause); in trap()
276 kgdb_cause = cause; in trap()
427 trap_names[TRAPTYPE(cause)], in trap()
434 pfi->pfi_faulttype = TRAPTYPE(cause); in trap()
442 pfi->pfi_faulttype = TRAPTYPE(cause); in trap()
570 kgdb_cause = cause; in trap()
[all …]
/netbsd-src/external/bsd/tmux/dist/
H A Dcmd-set-option.c76 __unused char **cause) in cmd_set_option_args_parse() argument
93 char *cause; in cmd_set_option_exec() local
132 &cause); in cmd_set_option_exec()
136 cmdq_error(item, "%s", cause); in cmd_set_option_exec()
137 free(cause); in cmd_set_option_exec()
173 if (options_remove_or_default(po, idx, &cause) != 0) { in cmd_set_option_exec()
174 cmdq_error(item, "%s", cause); in cmd_set_option_exec()
175 free(cause); in cmd_set_option_exec()
183 if (options_remove_or_default(o, idx, &cause) != 0) { in cmd_set_option_exec()
184 cmdq_error(item, "%s", cause); in cmd_set_option_exec()
[all …]
H A Dcmd-resize-window.c55 char *cause; in cmd_resize_window_exec() local
73 &cause); in cmd_resize_window_exec()
74 if (cause != NULL) { in cmd_resize_window_exec()
75 cmdq_error(item, "width %s", cause); in cmd_resize_window_exec()
76 free(cause); in cmd_resize_window_exec()
82 &cause); in cmd_resize_window_exec()
83 if (cause != NULL) { in cmd_resize_window_exec()
84 cmdq_error(item, "height %s", cause); in cmd_resize_window_exec()
85 free(cause); in cmd_resize_window_exec()
H A Dpaste.c217 paste_rename(const char *oldname, const char *newname, char **cause) in paste_rename() argument
221 if (cause != NULL) in paste_rename()
222 *cause = NULL; in paste_rename()
225 if (cause != NULL) in paste_rename()
226 *cause = xstrdup("no buffer"); in paste_rename()
230 if (cause != NULL) in paste_rename()
231 *cause = xstrdup("new name is empty"); in paste_rename()
237 if (cause != NULL) in paste_rename()
238 xasprintf(cause, "no buffer %s", oldname); in paste_rename()
268 paste_set(char *data, size_t size, const char *name, char **cause) in paste_set() argument
[all …]
H A Dcmd-display-message.c70 char *msg, *cause; in cmd_display_message_exec() local
79 switch (window_pane_start_input(wp, item, &cause)) { in cmd_display_message_exec()
81 cmdq_error(item, "%s", cause); in cmd_display_message_exec()
82 free(cause); in cmd_display_message_exec()
97 delay = args_strtonum(args, 'd', 0, UINT_MAX, &cause); in cmd_display_message_exec()
98 if (cause != NULL) { in cmd_display_message_exec()
99 cmdq_error(item, "delay %s", cause); in cmd_display_message_exec()
100 free(cause); in cmd_display_message_exec()
H A Dcmd-capture-pane.c115 char *cause, *buf, *line; in cmd_capture_pane_history() local
137 item, &cause); in cmd_capture_pane_history()
138 if (cause != NULL) { in cmd_capture_pane_history()
140 free(cause); in cmd_capture_pane_history()
154 item, &cause); in cmd_capture_pane_history()
155 if (cause != NULL) { in cmd_capture_pane_history()
157 free(cause); in cmd_capture_pane_history()
204 char *buf, *cause; in cmd_capture_pane_exec() local
244 if (paste_set(buf, len, bufname, &cause) != 0) { in cmd_capture_pane_exec()
245 cmdq_error(item, "%s", cause); in cmd_capture_pane_exec()
[all …]
H A Dcmd-set-buffer.c61 char *bufdata, *cause; in cmd_set_buffer_exec() local
99 if (paste_rename(bufname, args_get(args, 'n'), &cause) != 0) { in cmd_set_buffer_exec()
100 cmdq_error(item, "%s", cause); in cmd_set_buffer_exec()
101 free(cause); in cmd_set_buffer_exec()
127 if (paste_set(bufdata, bufsize, bufname, &cause) != 0) { in cmd_set_buffer_exec()
128 cmdq_error(item, "%s", cause); in cmd_set_buffer_exec()
130 free(cause); in cmd_set_buffer_exec()
H A Dcmd-join-pane.c73 char *cause = NULL; in cmd_join_pane_exec() local
119 item, &cause); in cmd_join_pane_exec()
122 &cause); in cmd_join_pane_exec()
123 if (cause == NULL) in cmd_join_pane_exec()
126 if (cause != NULL) { in cmd_join_pane_exec()
127 cmdq_error(item, "size %s", cause); in cmd_join_pane_exec()
128 free(cause); in cmd_join_pane_exec()
H A Dspawn.c75 spawn_window(struct spawn_context *sc, char **cause) in spawn_window() argument
100 xasprintf(cause, "window %s:%d still active", in spawn_window()
127 xasprintf(cause, "index %d in use", idx); in spawn_window()
152 xasprintf(cause, "couldn't add window %d", idx); in spawn_window()
159 xasprintf(cause, "couldn't create window %d", idx); in spawn_window()
172 wp = spawn_pane(sc, cause); in spawn_window()
203 spawn_pane(struct spawn_context *sc, char **cause) in spawn_pane() argument
250 xasprintf(cause, "pane %s:%d.%u still active", in spawn_pane()
371 xasprintf(cause, "fork failed: %s", strerror(errno)); in spawn_pane()
390 if (systemd_move_pid_to_new_cgroup(new_wp->pid, cause) < 0) { in spawn_pane()
[all …]
H A Dcmd-show-options.c82 char *argument, *name = NULL, *cause; in cmd_show_options_exec() local
90 &cause); in cmd_show_options_exec()
94 cmdq_error(item, "%s", cause); in cmd_show_options_exec()
95 free(cause); in cmd_show_options_exec()
113 &cause); in cmd_show_options_exec()
117 cmdq_error(item, "%s", cause); in cmd_show_options_exec()
118 free(cause); in cmd_show_options_exec()
H A Dcmd-respawn-window.c56 char *cause = NULL; in cmd_respawn_window_exec() local
80 if (spawn_window(&sc, &cause) == NULL) { in cmd_respawn_window_exec()
81 cmdq_error(item, "respawn window failed: %s", cause); in cmd_respawn_window_exec()
82 free(cause); in cmd_respawn_window_exec()
H A Dcmd-break-pane.c61 char *name, *cause, *cp; in cmd_break_pane_exec() local
78 !args_has(args, 'd'), &cause) != 0) { in cmd_break_pane_exec()
79 cmdq_error(item, "%s", cause); in cmd_break_pane_exec()
80 free(cause); in cmd_break_pane_exec()
122 wl = session_attach(dst_s, w, idx, &cause); /* can't fail */ in cmd_break_pane_exec()
H A Dcmd-respawn-pane.c56 char *cause = NULL; in cmd_respawn_pane_exec() local
81 if (spawn_pane(&sc, &cause) == NULL) { in cmd_respawn_pane_exec()
82 cmdq_error(item, "respawn pane failed: %s", cause); in cmd_respawn_pane_exec()
83 free(cause); in cmd_respawn_pane_exec()
/netbsd-src/sys/arch/riscv/riscv/
H A Dtrap.c261 cause_name(register_t cause) in cause_name()
263 if (CAUSE_INTERRUPT_P(cause)) in cause_name()
266 if (cause < __arraycount(causenames) && causenames[cause] != NULL) in cause_name()
267 name = causenames[cause]; in cause_name()
288 "(cause=%d (%s), status=%#x, pc=%#18" PRIxREGISTER in dump_trapframe()
304 register_t cause) in trap_ksi_init()
310 ksi->ksi_trap = cause;
323 get_faulttype(register_t cause) in get_faulttype()
325 if (cause in get_faulttype()
259 cause_name(register_t cause) cause_name() argument
302 trap_ksi_init(ksiginfo_t * ksi,int signo,int code,vaddr_t addr,register_t cause) trap_ksi_init() argument
321 get_faulttype(register_t cause) get_faulttype() argument
332 trap_pagefault_fixup(struct trapframe * tf,struct pmap * pmap,register_t cause,intptr_t addr) trap_pagefault_fixup() argument
409 trap_pagefault(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_pagefault() argument
527 trap_instruction(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_instruction() argument
543 trap_misalignment(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_misalignment() argument
554 trap_breakpoint(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval,bool usertrap_p,ksiginfo_t * ksi) trap_breakpoint() argument
574 cpu_trap(struct trapframe * tf,register_t epc,register_t status,register_t cause,register_t tval) cpu_trap() argument
[all...]
H A Dinterrupt.c54 register_t status, register_t cause) in riscv_intr_default_handler() argument
60 const int code = CAUSE_CODE(cause); in riscv_intr_default_handler()
62 KASSERT(CAUSE_INTERRUPT_P(cause)); in riscv_intr_default_handler()
109 register_t cause) in cpu_intr() argument
111 _riscv_intr_handler(tf, epc, status, cause); in cpu_intr()
/netbsd-src/sys/arch/powerpc/marvell/
H A Dpic_discovery.c135 uint32_t cause; in discovery_get_irq() local
138 cause = discovery_mic_low(pic->pic_cookie) & discovery->enable_mask_low; in discovery_get_irq()
139 if (cause) in discovery_get_irq()
142 cause = discovery_mic_high(pic->pic_cookie); in discovery_get_irq()
143 cause &= discovery->enable_mask_high; in discovery_get_irq()
144 if (!cause) in discovery_get_irq()
148 for (irq = base, msk = 0x00000001; !(cause & msk); irq++, msk <<= 1); in discovery_get_irq()
215 uint32_t cause, mask; in discovery_gpp_get_irq() local
218 cause = discovery_gpp_cause(discovery->pic.pic_cookie); in discovery_gpp_get_irq()
222 cause &= (mask & (0xff << base)); in discovery_gpp_get_irq()
[all …]
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/frv/interrupts/
H A Dprivileged_instruction.cgs22 bad1: rett 0 ; cause interrupt
25 bad2: rei 0 ; cause interrupt
28 bad3: witlb gr0,@(gr0,gr0) ; cause interrupt
31 bad4: wdtlb gr0,@(gr0,gr0) ; cause interrupt
34 bad5: itlbi @(gr0,gr0) ; cause interrupt
37 bad6: dtlbi @(gr0,gr0) ; cause interrupt
H A Dreset.cgs18 ; set_mem_immed 0x3,gr10 ; cause hardware reset
25 ; set_mem_immed 0x2,gr10 ; cause hardware reset
32 set_mem_immed 0x1,gr10 ; cause software reset
53 ; set_mem_immed 0x3,gr10 ; cause hardware reset
59 ; set_mem_immed 0x2,gr10 ; cause hardware reset
66 set_mem_immed 0x1,gr10 ; cause software reset
/netbsd-src/sys/dev/marvell/
H A Dgt.c524 u_int32_t cause; in gt_devbus_intr() local
527 cause = gt_read(gt, GT_DEVBUS_ICAUSE); in gt_devbus_intr()
531 if (cause & GT_DEVBUS_DBurstErr) { in gt_devbus_intr()
534 if ((cause & GT_DEVBUS_Sel) == 0) in gt_devbus_intr()
538 if (cause & GT_DEVBUS_DRdyErr) { in gt_devbus_intr()
541 if ((cause & GT_DEVBUS_Sel) != 0) in gt_devbus_intr()
546 return cause != 0; in gt_devbus_intr()
659 uint32_t cause, addr; in gt_comm_intr() local
663 cause = gt_read(gt, GT_CommUnitIntr_Cause); in gt_comm_intr()
664 gt_write(gt, GT_CommUnitIntr_Cause, ~cause); in gt_comm_intr()
[all …]
/netbsd-src/sys/netinet/
H A Dsctp.h205 struct sctp_error_cause cause; /* code=SCTP_ERROR_INVALID_STREAM */ member
211 struct sctp_error_cause cause; /* code=SCTP_ERROR_MISSING_PARAM */ member
217 struct sctp_error_cause cause; /* code=SCTP_ERROR_STALE_COOKIE */ member
222 struct sctp_error_cause cause; /* code=SCTP_ERROR_OUT_OF_RESOURCES */ member
226 struct sctp_error_cause cause; /* code=SCTP_ERROR_UNRESOLVABLE_ADDR */ member
231 struct sctp_error_cause cause; /* code=SCTP_ERROR_UNRECOG_CHUNK */ member
/netbsd-src/sys/arch/arm/marvell/
H A Ddove.c256 uint32_t cause = read_dbreg(DOVE_DB_MICR); in dove_find_pending_irqs() local
258 pending &= cause; in dove_find_pending_irqs()
431 uint32_t cause, mask; in dove_pmu_intr() local
434 cause = READ_PMUREG(sc, DOVE_PMU_PMUICR); in dove_pmu_intr()
435 printf("dove pmu intr: cause 0x%x, mask 0x%x\n", cause, mask); in dove_pmu_intr()
437 cause &= mask; in dove_pmu_intr()
439 if (cause & DOVE_PMU_PMUI_BATTFAULT) { in dove_pmu_intr()
442 if (cause & DOVE_PMU_PMUI_RTCALARM) { in dove_pmu_intr()
445 if (cause & DOVE_PMU_PMUI_THERMOVERHEAT) { in dove_pmu_intr()
451 if (cause & DOVE_PMU_PMUI_THERMCOOLING) { in dove_pmu_intr()
[all …]
/netbsd-src/sys/dev/pci/cxgb/
H A Dcxgb_mc5.c434 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler() local
436 if ((cause & F_PARITYERR) && mc5->parity_enabled) { in t3_mc5_intr_handler()
441 if (cause & F_REQQPARERR) { in t3_mc5_intr_handler()
446 if (cause & F_DISPQPARERR) { in t3_mc5_intr_handler()
451 if (cause & F_ACTRGNFULL) in t3_mc5_intr_handler()
453 if (cause & F_NFASRCHFAIL) in t3_mc5_intr_handler()
455 if (cause & F_UNKNOWNCMD) in t3_mc5_intr_handler()
457 if (cause & F_DELACTEMPTY) in t3_mc5_intr_handler()
459 if (cause & MC5_INT_FATAL) in t3_mc5_intr_handler()
462 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); in t3_mc5_intr_handler()
/netbsd-src/sbin/mount_portal/
H A Dpt_tcp.c75 const char *cause = "unknown"; in portal_tcp() local
116 cause = "socket"; in portal_tcp()
121 cause = "connect"; in portal_tcp()
133 syslog(LOG_WARNING, "%s: %m", cause); in portal_tcp()
/netbsd-src/external/mpl/bind/dist/doc/notes/
H A Dnotes-9.18.24.rst

12345678910>>...68