| /titanic_53/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
| H A D | fault.c | 67 register char *trap; in sh_fault() local 87 trap = shp->st.trapcom[sig]; in sh_fault() 97 if(trap && *trap) in sh_fault() 104 if(shp->subshell && trap && sig!=SIGINT && sig!=SIGQUIT && sig!=SIGWINCH && sig!=SIGCONT) in sh_fault() 112 if(trap && *trap==0) in sh_fault() 115 if(!trap) in sh_fault() 173 if(trap) in sh_fault() 324 register char *trap; in sh_sigreset() local 328 if(trap=sh.st.trapcom[sig]) in sh_sigreset() 331 if(*trap) in sh_sigreset() [all …]
|
| H A D | subshell.c | 187 char *trap = shp->st.trapcom[0]; in sh_subfork() local 188 if(trap) in sh_subfork() 189 trap = strdup(trap); in sh_subfork() 201 if(trap) in sh_subfork() 202 free((void*)trap); in sh_subfork() 218 shp->st.trapcom[0] = trap; in sh_subfork() 579 shp->st.otrap = savst.trap; in sh_subshell() 637 char *trap=shp->st.trapcom[0]; in sh_subshell() local 640 sh_trap(trap,0); in sh_subshell() 641 free(trap); in sh_subshell()
|
| H A D | xec.c | 501 int sh_debug(Shell_t *shp, const char *trap, const char *name, const char *subscript, char *const a… in sh_debug() argument 552 shp->st.trap[SH_DEBUGTRAP] = 0; in sh_debug() 553 n = sh_trap(trap,0); in sh_debug() 818 char *str,*trap,host[PATH_MAX]; in sh_coexec() local 829 if((trap=shp->st.trapcom[sig]) && *trap==0) in sh_coexec() 1030 char *trap; in sh_exec() local 1257 if(trap=shp->st.trap[SH_DEBUGTRAP]) in sh_exec() 1259 int n = sh_debug(shp,trap,(char*)0,(char*)0, com, ARG_RAW); in sh_exec() 1391 … !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && shp->fn_depth==0 && !nv_isattr(np,BLT_ENV)) in sh_exec() 1617 !shp->st.trapcom[0] && !shp->st.trap[SH_ERRTRAP] && in sh_exec() [all …]
|
| /titanic_53/usr/src/cmd/svr4pkg/pkgtrans/ |
| H A D | main.c | 52 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_53/usr/src/uts/sun4v/ml/ |
| H A D | wbuf.s | 57 ! 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 D | mach_locore.s | 145 .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 D | trap_table.s | 122 .global trap symbol 126 set trap, %g1 ;\ 158 .global trap symbol 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_53/usr/src/uts/sun4u/ml/ |
| H A D | wbuf.s | 56 ! 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 D | mach_interrupt.s | 64 ! 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_53/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
| H A D | trap.c | 105 char **trap = (shp->st.otrap?shp->st.otrap:shp->st.trap); in b_trap() local 114 if(arg=trap[sig]) in b_trap() 119 if(shp->st.trap[sig]) in b_trap() 120 free(shp->st.trap[sig]); in b_trap() 121 shp->st.trap[sig] = 0; in b_trap() 123 shp->st.trap[sig] = strdup(action); in b_trap() 126 if(shp->st.trap[sig]) in b_trap() 416 register char *trap,**trapcom; in sig_list() local 422 if(!(trap=trapcom[sig])) in sig_list() 426 sfprintf(sfstdout,trapfmt,sh_fmtq(trap),sname); in sig_list() [all …]
|
| /titanic_53/usr/src/cmd/svr4pkg/pkgrm/ |
| H A D | quit.c | 68 static void trap(int signo); 101 return (&trap); in quitGetTrapHandler() 302 trap(int signo) in trap() function
|
| /titanic_53/usr/src/cmd/svr4pkg/pkgremove/ |
| H A D | quit.c | 93 static void trap(int signo); 118 return (&trap); in quitGetTrapHandler() 307 trap(int signo) in trap() function
|
| /titanic_53/usr/src/cmd/svr4pkg/pkgadd/ |
| H A D | quit.c | 73 static void trap(int signo); 107 return (&trap); in quitGetTrapHandler() 371 trap(int signo) in trap() function
|
| /titanic_53/usr/src/cmd/troff/ |
| H A D | n7.c | 98 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_53/usr/src/lib/libc/sparc/fp/ |
| H A D | fpgetmask.s | 38 set 0x0f800000, %o4 ! mask of trap enable bits 42 srl %o0, 23, %o0 ! return trap enable value
|
| H A D | fpsetmask.s | 47 set 0x0f800000, %o4 ! mask of trap enable bits 57 srl %o0, 23, %o0 ! return old trap enable value
|
| /titanic_53/usr/src/lib/libc/sparcv9/fp/ |
| H A D | fpgetmask.s | 38 set 0x0f800000, %o4 ! mask of trap enable bits 42 srl %o0, 23, %o0 ! return trap enable value
|
| H A D | fpsetmask.s | 47 set 0x0f800000, %o4 ! mask of trap enable bits 57 srl %o0, 23, %o0 ! return old trap enable value
|
| /titanic_53/usr/src/uts/i86pc/os/ |
| H A D | dtrace_subr.c | 182 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_53/usr/src/cmd/svr4pkg/pkginstall/ |
| H A D | quit.c | 83 static void trap(int signo); 115 return (&trap); in quitGetTrapHandler() 475 trap(int signo) in trap() function
|
| /titanic_53/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
| H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
| /titanic_53/usr/src/cmd/ast/libast/sparc/FEATURE/ |
| H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
| /titanic_53/usr/src/cmd/ast/libast/amd64/FEATURE/ |
| H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
| /titanic_53/usr/src/cmd/ast/libast/i386/FEATURE/ |
| H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
| /titanic_53/usr/src/uts/i86xpv/ml/ |
| H A D | hyperevent.s | 143 call trap /* trap(rp, addr, cpuid) handles all trap */ 186 call trap /* trap(rp, addr, cpuid) handles all traps */
|