Home
last modified time | relevance | path

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

12345678910>>...64

/netbsd/sys/arch/mips/mips/
H A Dmips_emul.c265 uint32_t cause) in send_sigsegv() argument
268 cause = (cause & ~0xFF) | (exccode << MIPS_CR_EXC_CODE_SHIFT); in send_sigsegv()
273 ksi.ksi_trap = cause; in send_sigsegv()
321 update_pc(tf, cause); in mips_emul_ll()
364 tf, cause); in mips_emul_sc()
375 update_pc(tf, cause); in mips_emul_sc()
400 update_pc(tf, cause); in mips_emul_special()
483 update_pc(tf, cause); in mips_emul_special3()
517 update_pc(tf, cause); in mips_emul_lwc1()
577 update_pc(tf, cause); in mips_emul_ldc1()
[all …]
H A Dtrap.c192 type = TRAPTYPE(cause); in trap()
245 status, cause, pc, vaddr); in trap()
277 kgdb_cause = cause; in trap()
428 trap_names[TRAPTYPE(cause)], in trap()
435 pfi->pfi_faulttype = TRAPTYPE(cause); in trap()
443 pfi->pfi_faulttype = TRAPTYPE(cause); in trap()
571 kgdb_cause = cause; in trap()
584 trap_names[TRAPTYPE(cause)]); in trap()
691 mips_emul_inst(status, cause, pc, utf); in trap()
693 utf->tf_regs[_R_CAUSE] = cause; in trap()
[all …]
/netbsd/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()
175 free(cause); in cmd_set_option_exec()
185 free(cause); in cmd_set_option_exec()
200 free(cause); in cmd_set_option_exec()
215 free(cause); in cmd_set_option_exec()
219 &cause) != 0) { in cmd_set_option_exec()
[all …]
H A Dpaste.c209 if (cause != NULL) in paste_rename()
210 *cause = NULL; in paste_rename()
213 if (cause != NULL) in paste_rename()
214 *cause = xstrdup("no buffer"); in paste_rename()
218 if (cause != NULL) in paste_rename()
219 *cause = xstrdup("new name is empty"); in paste_rename()
225 if (cause != NULL) in paste_rename()
232 if (cause != NULL) in paste_rename()
260 if (cause != NULL) in paste_set()
261 *cause = NULL; in paste_set()
[all …]
H A Dcmd-split-window.c70 char *cause, *cp, *copy; in cmd_split_window_exec() local
103 if (cause != NULL) { in cmd_split_window_exec()
104 cmdq_error(item, "lines %s", cause); in cmd_split_window_exec()
105 free(cause); in cmd_split_window_exec()
111 if (cause != NULL) { in cmd_split_window_exec()
113 free(cause); in cmd_split_window_exec()
172 if ((new_wp = spawn_pane(&sc, &cause)) == NULL) { in cmd_split_window_exec()
173 cmdq_error(item, "create pane failed: %s", cause); in cmd_split_window_exec()
174 free(cause); in cmd_split_window_exec()
186 cmdq_error(item, "%s", cause); in cmd_split_window_exec()
[all …]
H A Doptions.c423 int append, char **cause) in options_array_set() argument
431 if (cause != NULL) in options_array_set()
432 *cause = xstrdup("not an array"); in options_array_set()
447 if (cause != NULL) in options_array_set()
448 *cause = pr->error; in options_array_set()
493 if (cause != NULL) in options_array_set()
786 char **cause) in options_scope_from_name() argument
945 const char *value, char **cause) in options_from_string_check() argument
970 const char *value, char **cause) in options_from_string_flag() argument
994 char **cause) in options_find_choice() argument
[all …]
H A Dcmd-resize-window.c55 char *cause; in cmd_resize_window_exec() local
74 &cause); in cmd_resize_window_exec()
75 if (cause != NULL) { in cmd_resize_window_exec()
76 cmdq_error(item, "width %s", cause); in cmd_resize_window_exec()
77 free(cause); in cmd_resize_window_exec()
83 &cause); in cmd_resize_window_exec()
84 if (cause != NULL) { in cmd_resize_window_exec()
85 cmdq_error(item, "height %s", cause); in cmd_resize_window_exec()
86 free(cause); in cmd_resize_window_exec()
H A Dcmd-display-message.c70 char *msg, *cause; in cmd_display_message_exec() local
78 switch (window_pane_start_input(wp, item, &cause)) { in cmd_display_message_exec()
80 cmdq_error(item, "%s", cause); in cmd_display_message_exec()
81 free(cause); in cmd_display_message_exec()
96 delay = args_strtonum(args, 'd', 0, UINT_MAX, &cause); in cmd_display_message_exec()
97 if (cause != NULL) { in cmd_display_message_exec()
98 cmdq_error(item, "delay %s", cause); in cmd_display_message_exec()
99 free(cause); in cmd_display_message_exec()
H A Dcmd-capture-pane.c115 char *cause, *buf, *line; in cmd_capture_pane_history() local
136 n = args_strtonum(args, 'S', INT_MIN, SHRT_MAX, &cause); in cmd_capture_pane_history()
137 if (cause != NULL) { in cmd_capture_pane_history()
139 free(cause); in cmd_capture_pane_history()
152 n = args_strtonum(args, 'E', INT_MIN, SHRT_MAX, &cause); in cmd_capture_pane_history()
153 if (cause != NULL) { in cmd_capture_pane_history()
155 free(cause); in cmd_capture_pane_history()
198 char *buf, *cause; in cmd_capture_pane_exec() local
236 if (paste_set(buf, len, bufname, &cause) != 0) { in cmd_capture_pane_exec()
237 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
89 if (paste_rename(bufname, args_get(args, 'n'), &cause) != 0) { in cmd_set_buffer_exec()
90 cmdq_error(item, "%s", cause); in cmd_set_buffer_exec()
91 free(cause); in cmd_set_buffer_exec()
117 if (paste_set(bufdata, bufsize, bufname, &cause) != 0) { in cmd_set_buffer_exec()
118 cmdq_error(item, "%s", cause); in cmd_set_buffer_exec()
120 free(cause); in cmd_set_buffer_exec()
H A Dcmd-join-pane.c73 char *cause = NULL; in cmd_join_pane_exec() local
104 dst_wp->sy, &cause); in cmd_join_pane_exec()
107 dst_wp->sx, &cause); in cmd_join_pane_exec()
110 percentage = args_strtonum(args, 'p', 0, 100, &cause); in cmd_join_pane_exec()
111 if (cause == NULL) { in cmd_join_pane_exec()
118 if (cause != NULL) { in cmd_join_pane_exec()
119 cmdq_error(item, "size %s", cause); in cmd_join_pane_exec()
120 free(cause); in cmd_join_pane_exec()
H A Darguments.c128 u_int count, char **cause) in args_parse() argument
194 xasprintf(cause, in args_parse()
201 xasprintf(cause, in args_parse()
242 xasprintf(cause, in args_parse()
255 xasprintf(cause, in args_parse()
268 xasprintf(cause, in args_parse()
275 xasprintf(cause, in args_parse()
843 *cause = xstrdup(errstr); in args_strtonum()
847 *cause = NULL; in args_strtonum()
884 *cause = xstrdup(errstr); in args_string_percentage()
[all …]
H A Dcmd-resize-pane.c61 char *cause; in cmd_resize_pane_exec() local
109 x = args_percentage(args, 'x', 0, INT_MAX, w->sx, &cause); in cmd_resize_pane_exec()
110 if (cause != NULL) { in cmd_resize_pane_exec()
111 cmdq_error(item, "width %s", cause); in cmd_resize_pane_exec()
112 free(cause); in cmd_resize_pane_exec()
118 y = args_percentage(args, 'y', 0, INT_MAX, w->sy, &cause); in cmd_resize_pane_exec()
119 if (cause != NULL) { in cmd_resize_pane_exec()
120 cmdq_error(item, "height %s", cause); in cmd_resize_pane_exec()
121 free(cause); in cmd_resize_pane_exec()
H A Dtmux.c187 make_label(const char *label, char **cause) in make_label() argument
194 *cause = NULL; in make_label()
201 xasprintf(cause, "no suitable socket path"); in make_label()
212 xasprintf(cause, "couldn't create directory %s (%s)", base, in make_label()
217 xasprintf(cause, "couldn't read directory %s (%s)", base, in make_label()
222 xasprintf(cause, "%s is not a directory", base); in make_label()
335 char *cause, **var; in main() local
506 if ((path = make_label(label, &cause)) == NULL) { in main()
507 if (cause != NULL) { in main()
508 fprintf(stderr, "%s\n", cause); in main()
[all …]
H A Dlayout-set.c190 char *cause; in layout_set_main_h() local
206 mainh = args_string_percentage(s, 0, sy, sy, &cause); in layout_set_main_h()
207 if (cause != NULL) { in layout_set_main_h()
209 free(cause); in layout_set_main_h()
222 if (cause != NULL || otherh == 0) { in layout_set_main_h()
224 free(cause); in layout_set_main_h()
288 char *cause; in layout_set_main_v() local
305 if (cause != NULL) { in layout_set_main_v()
307 free(cause); in layout_set_main_v()
320 if (cause != NULL || otherw == 0) { in layout_set_main_v()
[all …]
H A Dcmd-display-menu.c360 char *cwd, *cause = NULL, **argv = NULL, *title; in cmd_display_popup_exec() local
379 if (cause != NULL) { in cmd_display_popup_exec()
380 cmdq_error(item, "height %s", cause); in cmd_display_popup_exec()
381 free(cause); in cmd_display_popup_exec()
389 if (cause != NULL) { in cmd_display_popup_exec()
390 cmdq_error(item, "width %s", cause); in cmd_display_popup_exec()
391 free(cause); in cmd_display_popup_exec()
409 &cause); in cmd_display_popup_exec()
410 if (cause != NULL) { in cmd_display_popup_exec()
411 cmdq_error(item, "popup-border-lines %s", cause); in cmd_display_popup_exec()
[all …]
/netbsd/sys/arch/riscv/riscv/
H A Dtrap.c263 if (cause < __arraycount(causenames) && causenames[cause] != NULL) in cause_name()
264 name = causenames[cause]; in cause_name()
301 register_t cause) in trap_ksi_init() argument
307 ksi->ksi_trap = cause; in trap_ksi_init()
322 if (cause == CAUSE_LOAD_ACCESS || cause == CAUSE_LOAD_PAGE_FAULT) in get_faulttype()
324 if (cause == CAUSE_STORE_ACCESS || cause == CAUSE_STORE_PAGE_FAULT) in get_faulttype()
326 KASSERT(cause == CAUSE_FETCH_ACCESS || cause == CAUSE_FETCH_PAGE_FAULT); in get_faulttype()
360 switch (cause) { in trap_pagefault_fixup()
444 pfi->pfi_cause = cause; in trap_pagefault()
452 pfi->pfi_cause = cause; in trap_pagefault()
[all …]
/netbsd/sys/arch/powerpc/marvell/
H A Dpic_discovery.c135 uint32_t cause; in discovery_get_irq() local
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()
223 if (!cause) in discovery_gpp_get_irq()
[all …]
/netbsd/external/gpl3/gdb/dist/sim/testsuite/sim/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
/netbsd/external/gpl3/gdb.old/dist/sim/testsuite/sim/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
/netbsd/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/sys/dev/marvell/
H A Dgt.c524 u_int32_t cause; in gt_devbus_intr() local
546 return cause != 0; in gt_devbus_intr()
669 cause, addr); in gt_comm_intr()
672 if (cause == 0) in gt_comm_intr()
677 if (cause & mask) { in gt_comm_intr()
680 if (cause & 1) in gt_comm_intr()
682 if (cause & 2) in gt_comm_intr()
684 if (cause & 4) in gt_comm_intr()
688 cause >>= 4; in gt_comm_intr()
699 uint32_t cause; in gt_comm_intr_enb() local
[all …]
/netbsd/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()
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()
457 if (cause & DOVE_PMU_PMUI_DVSDONE) { in dove_pmu_intr()
[all …]
/netbsd/external/bsd/tmux/dist/compat/
H A Dsystemd.c27 systemd_create_socket(int flags, char **cause) in systemd_create_socket() argument
52 return (server_create_socket(flags, cause)); in systemd_create_socket()
55 if (cause != NULL) in systemd_create_socket()
56 xasprintf(cause, "systemd socket error (%s)", strerror(errno)); in systemd_create_socket()
/netbsd/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()

12345678910>>...64