Symbol: trap
bin/sh/trap.c
167
if (signo < NSIG && trap[signo] != NULL) {
bin/sh/trap.c
169
out1qstr(trap[signo]);
bin/sh/trap.c
199
if (trap[signo])
bin/sh/trap.c
200
ckfree(trap[signo]);
bin/sh/trap.c
201
trap[signo] = action;
bin/sh/trap.c
218
for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) {
bin/sh/trap.c
223
if (tp != &trap[0])
bin/sh/trap.c
224
setsignal(tp - trap);
bin/sh/trap.c
239
for (tp = trap ; tp <= &trap[NSIG - 1] ; tp++) {
bin/sh/trap.c
258
if ((t = trap[signo]) == NULL)
bin/sh/trap.c
363
return (trap[SIGCHLD] != NULL && *trap[SIGCHLD] != '\0');
bin/sh/trap.c
374
if (signo == SIGINT && trap[SIGINT] == NULL) {
bin/sh/trap.c
386
if (trap[signo] != NULL && trap[signo][0] != '\0' &&
bin/sh/trap.c
413
if (trap[i]) {
bin/sh/trap.c
437
evalstring(stsavestr(trap[i]), 0);
bin/sh/trap.c
515
if ((p = trap[0]) != NULL && *p != '\0') {
bin/sh/trap.c
521
trap[0] = NULL;
bin/sh/trap.c
75
static char *volatile trap[NSIG]; /* trap handler commands */
crypto/krb5/src/ccapi/common/win/OldCC/init.hxx
100
if (rc) return (trap) ? (error) : rc; \
crypto/krb5/src/ccapi/common/win/OldCC/init.hxx
94
#define INIT_INIT_EX(trap, error) \
crypto/krb5/src/ccapi/lib/win/OldCC/client.h
49
#define CLIENT_INIT_EX(trap, error) \
crypto/krb5/src/ccapi/lib/win/OldCC/client.h
52
INIT_INIT_EX(trap, error); \
crypto/krb5/src/ccapi/lib/win/OldCC/client.h
56
if (status) return (trap) ? (error) : status; \
sys/amd64/amd64/trap.c
102
void __noinline trap(struct trapframe *frame);
sys/amd64/amd64/trap.c
735
trap(frame);
sys/arm64/vmm/vmm_reset.c
193
#define HFGT_TRAP_FIELDS(read, write, read_pfx, write_pfx, name, trap) \
sys/arm64/vmm/vmm_reset.c
195
el2ctx->read |= read_pfx ## _EL2_ ## name ## _ ## trap; \
sys/arm64/vmm/vmm_reset.c
196
el2ctx->write |= write_pfx ## _EL2_ ## name ## _ ## trap; \
sys/i386/i386/trap.c
107
void trap(struct trapframe *frame);
sys/kern/subr_kdb.c
121
SYSCTL_PROC(_debug_kdb, OID_AUTO, trap,
sys/powerpc/aim/aim_machdep.c
239
vm_offset_t trap;
sys/powerpc/aim/aim_machdep.c
378
for (trap = EXC_RST; trap < EXC_LAST; trap += 0x20)
sys/powerpc/aim/aim_machdep.c
379
bcopy(&trapcode, (void *)trap, trapsize);
sys/powerpc/include/trap.h
156
void trap(struct trapframe *);
sys/powerpc/powerpc/interrupt.c
137
trap(framep);
sys/riscv/vmm/vmm_riscv.c
268
struct hyptrap *trap)
sys/riscv/vmm/vmm_riscv.c
279
htrap = trap;
sys/riscv/vmm/vmm_riscv.c
306
if (trap->scause == -1 && (val & 0x3) == 0x3) {
sys/riscv/vmm/vmm_riscv.c
328
struct hyptrap *trap)
sys/riscv/vmm/vmm_riscv.c
351
bzero(trap, sizeof(struct hyptrap));
sys/riscv/vmm/vmm_riscv.c
352
trap->scause = -1;
sys/riscv/vmm/vmm_riscv.c
353
riscv_unpriv_read(hypctx, guest_addr, &insn, trap);
sys/riscv/vmm/vmm_riscv.c
354
if (trap->scause != -1)
sys/riscv/vmm/vmm_riscv.c
451
struct hyptrap trap;
sys/riscv/vmm/vmm_riscv.c
480
ret = riscv_gen_inst_emul_data(hypctx, vme, &trap);
sys/riscv/vmm/vmm_riscv.c
483
vme->u.hyp.scause = trap.scause;
sys/sys/kdb.h
53
#define KDB_BACKEND(name, init, trace, trace_thread, trap) \
sys/sys/kdb.h
59
.dbbe_trap = trap \