/illumos-gate/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 …]
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgtrans/ |
H A D | main.c | 55 static void trap(int signo); 97 func = signal(SIGINT, trap); in main() 100 (void) signal(SIGHUP, trap); in main() 101 (void) signal(SIGQUIT, trap); in main() 102 (void) signal(SIGTERM, trap); in main() 103 (void) signal(SIGPIPE, trap); in main() 104 (void) signal(SIGPWR, trap); in main() 129 trap(int signo) in trap() function
|
/illumos-gate/usr/src/uts/sun4v/ml/ |
H A D | wbuf.S | 54 ! a pagefault at the trap pc and a misaligned stack by generating 55 ! a user alignment trap. 60 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or 80 set trap, %g1 86 ! 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_locore.S | 131 .word HTRAP_TSIZE ! default hv trap buffer size 141 .word TRAP_TSIZE ! default trap buffer size 262 ! copy obp's breakpoint trap entry to obp_bpt 401 ! user trap 986 ! setup trap regs 998 nop ! no trap, use restore directly 1444 nop ! trap to ptl1_panic 1476 ! freeze the trap trace to disable the assertions. Otherwise,
|
H A D | trap_table.S | 119 .global trap 122 set trap, %g1 ;\ 153 .global trap 156 set trap, %g1 ;\ 226 set trap, %g1 ;\ 725 set trap, %g1 ;\ 1388 set trap, %g1 1451 set trap, %g1 1510 set trap, %g1 ! setup in case we go 1520 save %sp, -SA(MINFRAME32), %sp ! window for trap handler [all …]
|
/illumos-gate/usr/src/uts/sun4u/ml/ |
H A D | wbuf.S | 53 ! a pagefault at the trap pc and a misaligned stack by generating 54 ! a user alignment trap. 59 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or 79 set trap, %g1 85 ! but user_trap wants the trap %cwp 187 ! a pagefault at the trap pc and a misaligned stack by generating 188 ! a user alignment trap. 193 ! g5 = mmu trap type, g6 = tag access reg (g5 != T_ALIGNMENT) or 213 set trap, %g1 219 ! but user_trap wants the trap %cwp [all …]
|
H A D | mach_interrupt.S | 51 ! It could be a fast trap handler address (pc > KERNELBASE) at TL>0 100 ! Cross-trap request case 103 ! the arguments for the fast trap handler. 142 1: jmp %g5 ! call the fast trap handler
|
/illumos-gate/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 …]
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/ |
H A D | quit.c | 75 static void trap(int signo); 108 return (&trap); in quitGetTrapHandler() 336 trap(int signo) in trap() function
|
/illumos-gate/usr/src/cmd/troff/ |
H A D | n7.c | 96 trap = 0; in tbreak() 212 for (k = ls - 1; k > 0 && !trap; k--) in tbreak() 300 if (trap) in text() 329 if (!trap) in text() 352 if (trap) in nofill() 480 trap++; 537 trap = 0; 540 trap = control(mlist[j], 0); 547 trap = control(mlist[j], 0); 645 if (trap) [all …]
|
/illumos-gate/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
|
/illumos-gate/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
|
/illumos-gate/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
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | dtrace_subr.c | 168 extern void trap(struct regs *, caddr_t, processorid_t); in dtrace_user_probe() 251 trap(rp, addr, cpuid); in dtrace_user_probe() 273 trap(rp, addr, cpuid); in dtrace_user_probe() 276 trap(rp, addr, cpuid); in dtrace_user_probe()
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | signal | 154 "Trace trap", 155 "IOT trap", 156 "EMT trap",
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_cheetahplus_asm.S | 580 rdpr %tpc, %g2 ! VA that caused the IMMU trap 581 ldxa [MMU_TAG_ACCESS_EXT]%asi, %g3 ! read the trap VA page size 587 or %g4, %g3, %g3 ! 'or' in the trap context and 722 ldxa [MMU_SFAR]%asi, %g2 ! VA that caused the IMMU trap 723 ldxa [MMU_TAG_ACCESS_EXT]%asi, %g3 ! read the trap VA page sizes 727 set TAGREAD_CTX_MASK, %g5 ! 'or' in the trap context 773 rdpr %tl, %g6 ! read current trap level
|