/titanic_51/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() 274 * Turn on trap handle 324 register char *trap; sh_sigreset() local 369 register char *trap; sh_sigclear() local 390 register char *trap; sh_chktrap() local 446 sh_trap(const char * trap,int mode) sh_trap() argument [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() 577 /* save trap table */ in sh_subshell() 579 shp->st.otrap = savst.trap; in sh_subshell() 584 /* this nonsense needed for $(trap) */ in sh_subshell() 637 char *trap=shp->st.trapcom[0]; sh_subshell() local [all...] |
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | fault.c | 65 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 D | subshell.c | 193 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 D | xec.c | 395 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_51/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_51/usr/src/uts/sun4v/ml/ |
H A D | wbuf.s | 33 #include <sys/trap.h> 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, [all...] |
H A D | mach_locore.s | 145 .word HTRAP_TSIZE ! default hv trap buffer size 155 .word TRAP_TSIZE ! default trap buffer size 231 * initialize trap base register 286 ! copy obp's breakpoint trap entry to obp_bpt 371 * Generic system trap handler. 373 * Some kernel trap handlers save themselves from buying a window by 383 * %g1 pc of trap handler 435 ! user trap 497 mov %g5, %l6 ! curthread if user trap, %pil if priv trap [all...] |
/titanic_51/usr/src/uts/sun4u/ml/ |
H A D | wbuf.s | 32 #include <sys/trap.h> 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, [all...] |
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/bltins/ |
H A D | trap.c | 22 * trap [-p] action sig... 39 static const char trapfmt[] = "trap -- %s %s\n"; 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[si in b_trap() 416 register char *trap,**trapcom; sig_list() local [all...] |
/titanic_51/usr/src/lib/libshell/common/bltins/ |
H A D | trap.c | 113 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_51/usr/src/cmd/svr4pkg/pkgrm/ |
H A D | quit.c | 68 static void trap(int signo); 91 * Description: return address of this modules "signal trap" handler 94 * The address of the trap handler that can be passed to 101 return (&trap); in quitGetTrapHandler() 289 * Name: trap 292 * Integer representing the signal that caused the trap 302 trap(int signo) in trap() function
|
/titanic_51/usr/src/cmd/svr4pkg/pkgremove/ |
H A D | quit.c | 93 static void trap(int signo); 108 * Description: return address of this modules "signal trap" handler 111 * The address of the trap handler that can be passed to 118 return (&trap); in quitGetTrapHandler() 294 * Name: trap 297 * Integer representing the signal that caused the trap 307 trap(int signo) in trap() function
|
/titanic_51/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | quit.c | 73 static void trap(int signo); 97 * Description: return address of this modules "signal trap" handler 100 * The address of the trap handler that can be passed to 107 return (&trap); in quitGetTrapHandler() 358 * Name: trap 361 * Integer representing the signal that caused the trap 371 trap(int signo) in trap() function
|
/titanic_51/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_51/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_51/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_51/usr/src/uts/i86pc/os/ |
H A D | dtrace_subr.c | 35 #include <sys/trap.h> 182 extern void trap(struct regs *, caddr_t, processorid_t); in dtrace_user_probe() 213 * If we weren't expecting to take a return probe trap, kill in dtrace_user_probe() 215 * trap instruction. in dtrace_user_probe() 223 * If we hit this trap unrelated to a return probe, we're in dtrace_user_probe() 250 * The DTrace fasttrap provider uses the breakpoint trap in dtrace_user_probe() 252 * this trap; if it's not a probe that DTrace knowns about, in dtrace_user_probe() 253 * we call into the trap() routine to handle it like a in dtrace_user_probe() 265 trap(rp, addr, cpuid); in dtrace_user_probe() 270 * If the instruction that caused the breakpoint trap does in dtrace_user_probe() [all...] |
/titanic_51/usr/src/cmd/svr4pkg/pkginstall/ |
H A D | quit.c | 83 static void trap(int signo); 105 * Description: return address of this modules "signal trap" handler 108 * The address of the trap handler that can be passed to 115 return (&trap); in quitGetTrapHandler() 462 * Name: trap 465 * Integer representing the signal that caused the trap 475 trap(int signo) in trap() function
|
/titanic_51/usr/src/lib/libast/i386/src/lib/libast/FEATURE/ |
H A D | signal | 129 "Trace trap", 130 "IOT trap", 131 "EMT trap",
|
/titanic_51/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/ |
H A D | signal | 129 "Trace trap", 130 "IOT trap", 131 "EMT trap",
|
/titanic_51/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/ |
H A D | signal | 129 "Trace trap", 130 "IOT trap", 131 "EMT trap",
|
/titanic_51/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/ |
H A D | signal | 129 "Trace trap", 130 "IOT trap", 131 "EMT trap",
|