Home
last modified time | relevance | path

Searched refs:trap (Results 1 – 25 of 109) sorted by relevance

12345

/titanic_41/usr/src/lib/libshell/common/sh/
H A Dfault.c65 register char *trap; in sh_fault() local
91 trap = shp->st.trapcom[sig]; in sh_fault()
94 if(trap && *trap) in sh_fault()
109 if(trap && *trap==0) in sh_fault()
112 if(!trap) in sh_fault()
162 if(trap) in sh_fault()
313 register char *trap; in sh_sigreset() local
317 if(trap=sh.st.trapcom[sig]) in sh_sigreset()
320 if(*trap) in sh_sigreset()
323 free(trap); in sh_sigreset()
[all …]
H A Dsubshell.c193 char *trap = shp->st.trapcom[0]; in sh_subfork() local
194 if(trap) in sh_subfork()
195 trap = strdup(trap); in sh_subfork()
206 if(trap) in sh_subfork()
207 free((void*)trap); in sh_subfork()
222 shp->st.trapcom[0] = trap; in sh_subfork()
578 char *trap=shp->st.trapcom[0]; in sh_subshell() local
581 sh_trap(trap,0); in sh_subshell()
582 free(trap); in sh_subshell()
H A Dxec.c395 int sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const a… in sh_debug() argument
445 shp->st.trap[SH_DEBUGTRAP] = 0; in sh_debug()
446 n = sh_trap(trap,0); in sh_debug()
705 char *trap; in sh_exec() local
868 if(trap=shp->st.trap[SH_DEBUGTRAP]) in sh_exec()
870 int n = sh_debug(shp,trap,(char*)0,(char*)0, com, ARG_RAW); in sh_exec()
999 … !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && shp->fn_depth==0 && !nv_isattr(np,BLT_ENV)) in sh_exec()
1176 !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && in sh_exec()
1455 …if(!shp->subshell && !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && (flags&sh_state(SH_NOFORK… in sh_exec()
1591 char *cp, *trap, *nullptr = 0; in sh_exec() local
[all …]
/titanic_41/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c52 static void trap(int signo);
126 func = signal(SIGINT, trap); in main()
129 (void) signal(SIGHUP, trap); in main()
130 (void) signal(SIGQUIT, trap); in main()
131 (void) signal(SIGTERM, trap); in main()
132 (void) signal(SIGPIPE, trap); in main()
133 (void) signal(SIGPWR, trap); in main()
217 trap(int signo) in trap() function
/titanic_41/usr/src/uts/sun4v/ml/
H A Dwbuf.s57 ! a pagefault at the trap pc and a misaligned stack by generating
58 ! a user alignment trap.
63 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or
83 set trap, %g1
89 ! but user_trap wants the trap %cwp
193 ! a pagefault at the trap pc and a misaligned stack by generating
194 ! a user alignment trap.
199 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or
219 set trap, %g1
225 ! but user_trap wants the trap %cwp
[all …]
H A Dmach_locore.s145 .word HTRAP_TSIZE ! default hv trap buffer size
155 .word TRAP_TSIZE ! default trap buffer size
286 ! copy obp's breakpoint trap entry to obp_bpt
435 ! user trap
1020 ! setup trap regs
1032 nop ! no trap, use restore directly
1565 nop ! trap to ptl1_panic
1617 ! freeze the trap trace to disable the assertions. Otherwise,
H A Dtrap_table.s122 .global trap
126 set trap, %g1 ;\
158 .global trap
162 set trap, %g1 ;\
232 set trap, %g1 ;\
737 set trap, %g1 ;\
1409 set trap, %g1
1472 set trap, %g1
1531 set trap, %g1 ! setup in case we go
1541 save %sp, -SA(MINFRAME32), %sp ! window for trap handler
[all …]
/titanic_41/usr/src/uts/sun4u/ml/
H A Dwbuf.s56 ! a pagefault at the trap pc and a misaligned stack by generating
57 ! a user alignment trap.
62 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or
82 set trap, %g1
88 ! but user_trap wants the trap %cwp
190 ! a pagefault at the trap pc and a misaligned stack by generating
191 ! a user alignment trap.
196 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or
216 set trap, %g1
222 ! but user_trap wants the trap %cwp
[all …]
H A Dmach_interrupt.s64 ! It could be a fast trap handler address (pc > KERNELBASE) at TL>0
113 ! Cross-trap request case
116 ! the arguments for the fast trap handler.
155 1: jmp %g5 ! call the fast trap handler
/titanic_41/usr/src/lib/libshell/common/bltins/
H A Dtrap.c113 if(arg=shp->st.trap[sig]) in b_trap()
117 if(shp->st.trap[sig]) in b_trap()
118 free(shp->st.trap[sig]); in b_trap()
119 shp->st.trap[sig] = 0; in b_trap()
121 shp->st.trap[sig] = strdup(action); in b_trap()
124 if(shp->st.trap[sig]) in b_trap()
391 register char *trap,**trapcom; in sig_list() local
397 if(!(trap=trapcom[sig])) in sig_list()
401 sfprintf(sfstdout,trapfmt,sh_fmtq(trap),sname); in sig_list()
405 if(!(trap=shp->st.trap[sig])) in sig_list()
[all …]
/titanic_41/usr/src/cmd/svr4pkg/pkgrm/
H A Dquit.c68 static void trap(int signo);
101 return (&trap); in quitGetTrapHandler()
302 trap(int signo) in trap() function
/titanic_41/usr/src/cmd/svr4pkg/pkgremove/
H A Dquit.c93 static void trap(int signo);
118 return (&trap); in quitGetTrapHandler()
307 trap(int signo) in trap() function
/titanic_41/usr/src/cmd/svr4pkg/pkgadd/
H A Dquit.c73 static void trap(int signo);
107 return (&trap); in quitGetTrapHandler()
371 trap(int signo) in trap() function
/titanic_41/usr/src/cmd/troff/
H A Dn7.c98 trap = 0; in tbreak()
214 for (k = ls - 1; k > 0 && !trap; k--) in tbreak()
302 if (trap) in text()
331 if (!trap) in text()
354 if (trap) in nofill()
483 trap++;
540 trap = 0;
543 trap = control(mlist[j], 0);
550 trap = control(mlist[j], 0);
648 if (trap)
[all …]
/titanic_41/usr/src/lib/libc/sparc/fp/
H A Dfpgetmask.s38 set 0x0f800000, %o4 ! mask of trap enable bits
42 srl %o0, 23, %o0 ! return trap enable value
H A Dfpsetmask.s47 set 0x0f800000, %o4 ! mask of trap enable bits
57 srl %o0, 23, %o0 ! return old trap enable value
/titanic_41/usr/src/lib/libc/sparcv9/fp/
H A Dfpgetmask.s38 set 0x0f800000, %o4 ! mask of trap enable bits
42 srl %o0, 23, %o0 ! return trap enable value
H A Dfpsetmask.s47 set 0x0f800000, %o4 ! mask of trap enable bits
57 srl %o0, 23, %o0 ! return old trap enable value
/titanic_41/usr/src/uts/i86pc/os/
H A Ddtrace_subr.c182 extern void trap(struct regs *, caddr_t, processorid_t); in dtrace_user_probe()
265 trap(rp, addr, cpuid); in dtrace_user_probe()
287 trap(rp, addr, cpuid); in dtrace_user_probe()
290 trap(rp, addr, cpuid); in dtrace_user_probe()
/titanic_41/usr/src/cmd/svr4pkg/pkginstall/
H A Dquit.c83 static void trap(int signo);
115 return (&trap); in quitGetTrapHandler()
475 trap(int signo) in trap() function
/titanic_41/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dsignal129 "Trace trap",
130 "IOT trap",
131 "EMT trap",
/titanic_41/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dsignal129 "Trace trap",
130 "IOT trap",
131 "EMT trap",
/titanic_41/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dsignal129 "Trace trap",
130 "IOT trap",
131 "EMT trap",
/titanic_41/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dsignal129 "Trace trap",
130 "IOT trap",
131 "EMT trap",
/titanic_41/usr/src/uts/i86xpv/ml/
H A Dhyperevent.s143 call trap /* trap(rp, addr, cpuid) handles all trap */
186 call trap /* trap(rp, addr, cpuid) handles all traps */

12345