sig 232 arch/i386/i386/bios.c if (sh->sig != SMBIOS_SIGNATURE) sig 76 arch/i386/i386/freebsd_machdep.c freebsd_sendsig(sig_t catcher, int sig, int mask, u_long code, int type, sig 88 arch/i386/i386/freebsd_machdep.c frame.sf_signum = sig; sig 97 arch/i386/i386/freebsd_machdep.c (psp->ps_sigonstack & sigmask(sig))) { sig 107 arch/i386/i386/linux_machdep.c linux_sendsig(sig_t catcher, int sig, int mask, u_long code, int type, sig 123 arch/i386/i386/linux_machdep.c (psp->ps_sigonstack & sigmask(sig))) { sig 132 arch/i386/i386/linux_machdep.c frame.sf_sig = bsd_to_linux_sig[sig]; sig 488 arch/i386/i386/linux_machdep.c int sig; sig 498 arch/i386/i386/linux_machdep.c if ((error = bsd_to_linux_signal(lvt.relsig, &sig))) sig 500 arch/i386/i386/linux_machdep.c lvt.relsig = sig; sig 502 arch/i386/i386/linux_machdep.c if ((error = bsd_to_linux_signal(lvt.acqsig, &sig))) sig 504 arch/i386/i386/linux_machdep.c lvt.acqsig = sig; sig 506 arch/i386/i386/linux_machdep.c if ((error = bsd_to_linux_signal(lvt.frsig, &sig))) sig 508 arch/i386/i386/linux_machdep.c lvt.frsig = sig; sig 514 arch/i386/i386/linux_machdep.c int sig; sig 520 arch/i386/i386/linux_machdep.c if ((error = linux_to_bsd_signal(lvt.relsig, &sig))) sig 522 arch/i386/i386/linux_machdep.c lvt.relsig = sig; sig 524 arch/i386/i386/linux_machdep.c if ((error = linux_to_bsd_signal(lvt.acqsig, &sig))) sig 526 arch/i386/i386/linux_machdep.c lvt.acqsig = sig; sig 528 arch/i386/i386/linux_machdep.c if ((error = linux_to_bsd_signal(lvt.frsig, &sig))) sig 530 arch/i386/i386/linux_machdep.c lvt.frsig = sig; sig 2117 arch/i386/i386/machdep.c ibcs2_sendsig(sig_t catcher, int sig, int mask, u_long code, int type, sig 2122 arch/i386/i386/machdep.c sendsig(catcher, bsd_to_ibcs2_sig[sig], mask, code, type, val); sig 2160 arch/i386/i386/machdep.c sendsig(sig_t catcher, int sig, int mask, u_long code, int type, sig 2176 arch/i386/i386/machdep.c frame.sf_signum = sig; sig 2182 arch/i386/i386/machdep.c (psp->ps_sigonstack & sigmask(sig))) { sig 2235 arch/i386/i386/machdep.c if (psp->ps_siginfo & sigmask(sig)) { sig 2237 arch/i386/i386/machdep.c initsiginfo(&frame.sf_si, sig, code, type, val); sig 2239 arch/i386/i386/machdep.c if (sig == SIGURG) /* VM86 userland trap */ sig 212 arch/i386/i386/svr4_machdep.c svr4_getsiginfo(union svr4_siginfo *si, int sig, u_long code, int type, sig 215 arch/i386/i386/svr4_machdep.c si->svr4_si_signo = bsd_to_svr4_sig[sig]; sig 222 arch/i386/i386/svr4_machdep.c switch (sig) { sig 309 arch/i386/i386/svr4_machdep.c svr4_sendsig(sig_t catcher, int sig, int mask, u_long code, int type, sig 325 arch/i386/i386/svr4_machdep.c (psp->ps_sigonstack & sigmask(sig))) { sig 344 arch/i386/i386/svr4_machdep.c svr4_getsiginfo(&frame.sf_si, sig, code, type, val.sival_ptr); sig 111 arch/i386/i386/trap.c int sig; sig 114 arch/i386/i386/trap.c while ((sig = CURSIG(p)) != 0) sig 115 arch/i386/i386/trap.c postsig(sig); sig 54 arch/i386/include/smbiosvar.h u_int32_t sig; /* "_SM_" */ sig 70 arch/i386/stand/libsa/memprobe.c int rc, off = 0, sig, gotcha = 0; sig 76 arch/i386/stand/libsa/memprobe.c : "=a" (sig), "=d" (rc), "=b" (off) sig 82 arch/i386/stand/libsa/memprobe.c if (rc & 0xff || sig != 0x534d4150) sig 41 arch/i386/stand/libsa/pciprobe.c u_int32_t hw_chars, rev, rc, sig; sig 47 arch/i386/stand/libsa/pciprobe.c "=d" (sig), "=D" (entry32) sig 53 arch/i386/stand/libsa/pciprobe.c if (sig != PCI_SIG) sig 99 compat/freebsd/freebsd_signal.c signum = SCARG(uap, sig); sig 258 compat/freebsd/freebsd_syscallargs.h syscallarg(int) sig; sig 185 compat/hpux/hpux_compat.c int sig; sig 214 compat/hpux/hpux_compat.c sig = status & 0xFF; sig 215 compat/hpux/hpux_compat.c if (sig == WSTOPPED) { sig 216 compat/hpux/hpux_compat.c sig = (status >> 8) & 0xFF; sig 217 compat/hpux/hpux_compat.c retval[1] = (bsdtohpuxsig(sig) << 8) | WSTOPPED; sig 218 compat/hpux/hpux_compat.c } else if (sig) sig 220 compat/hpux/hpux_compat.c bsdtohpuxsig(sig & 0x7F) | (sig & 0x80); sig 236 compat/hpux/hpux_compat.c int rv, sig, xstat, error; sig 260 compat/hpux/hpux_compat.c sig = WSTOPSIG(rv); sig 261 compat/hpux/hpux_compat.c rv = W_STOPCODE(bsdtohpuxsig(sig)); sig 263 compat/hpux/hpux_compat.c sig = WTERMSIG(rv); sig 265 compat/hpux/hpux_compat.c rv = W_EXITCODE(xstat, bsdtohpuxsig(sig)) | sig 93 compat/hpux/hpux_sig.c int sig; sig 96 compat/hpux/hpux_sig.c sig = hpuxtobsdsig(SCARG(uap, signo)); sig 97 compat/hpux/hpux_sig.c if (sig <= 0 || sig >= NSIG || sig == SIGKILL || sig == SIGSTOP) sig 101 compat/hpux/hpux_sig.c sv->sv_handler = ps->ps_sigact[sig]; sig 102 compat/hpux/hpux_sig.c sv->sv_mask = ps->ps_catchmask[sig]; sig 103 compat/hpux/hpux_sig.c bit = sigmask(sig); sig 122 compat/hpux/hpux_sig.c if (sig == SIGCONT && sv->sv_handler == SIG_IGN) sig 125 compat/hpux/hpux_sig.c setsigvec(p, sig, (struct sigaction *)sv); sig 298 compat/hpux/hpux_sig.c int sig; sig 301 compat/hpux/hpux_sig.c sig = hpuxtobsdsig(SCARG(uap, signo)); sig 302 compat/hpux/hpux_sig.c if (sig <= 0 || sig >= NSIG || sig == SIGKILL || sig == SIGSTOP) sig 307 compat/hpux/hpux_sig.c sa->sa__handler = ps->ps_sigact[sig]; sig 309 compat/hpux/hpux_sig.c sa->sa_mask.sigset[0] = bsdtohpuxmask(ps->ps_catchmask[sig]); sig 310 compat/hpux/hpux_sig.c bit = sigmask(sig); sig 330 compat/hpux/hpux_sig.c if (sig == SIGCONT && sa->sa__handler == SIG_IGN) sig 344 compat/hpux/hpux_sig.c setsigvec(p, sig, &act); sig 356 compat/hpux/hpux_sig.c hpuxtobsdsig(sig) sig 357 compat/hpux/hpux_sig.c int sig; sig 359 compat/hpux/hpux_sig.c if (--sig < 0 || sig >= NSIG) sig 361 compat/hpux/hpux_sig.c return((int)hpuxtobsdsigmap[sig]); sig 366 compat/hpux/hpux_sig.c bsdtohpuxsig(sig) sig 367 compat/hpux/hpux_sig.c int sig; sig 369 compat/hpux/hpux_sig.c if (--sig < 0 || sig >= NSIG) sig 371 compat/hpux/hpux_sig.c return((int)bsdtohpuxsigmap[sig]); sig 379 compat/hpux/hpux_sig.c int nmask, sig, nsig; sig 384 compat/hpux/hpux_sig.c for (sig = 1; sig < NSIG; sig++) sig 385 compat/hpux/hpux_sig.c if ((mask & sigmask(sig)) && (nsig = hpuxtobsdsig(sig))) sig 394 compat/hpux/hpux_sig.c int nmask, sig, nsig; sig 399 compat/hpux/hpux_sig.c for (sig = 1; sig < NSIG; sig++) sig 400 compat/hpux/hpux_sig.c if ((mask & sigmask(sig)) && (nsig = bsdtohpuxsig(sig))) sig 265 compat/ibcs2/ibcs2_signal.c signum = IBCS2_SIGNO(SCARG(uap, sig)); sig 267 compat/ibcs2/ibcs2_signal.c if (IBCS2_SIGCALL(SCARG(uap, sig)) == IBCS2_SIGNAL_MASK || sig 268 compat/ibcs2/ibcs2_signal.c IBCS2_SIGCALL(SCARG(uap, sig)) == IBCS2_SIGSET_MASK) sig 274 compat/ibcs2/ibcs2_signal.c switch (IBCS2_SIGCALL(SCARG(uap, sig))) { sig 171 compat/ibcs2/ibcs2_syscallargs.h syscallarg(int) sig; sig 69 compat/linux/linux_sched.c int flags = FORK_RFORK, sig; sig 88 compat/linux/linux_sched.c sig = SCARG(uap, flags) & LINUX_CLONE_CSIGNAL; sig 89 compat/linux/linux_sched.c if (sig < 0 || sig >= LINUX__NSIG) sig 91 compat/linux/linux_sched.c sig = linux_to_bsd_sig[sig]; sig 99 compat/linux/linux_sched.c return (fork1(p, sig, flags, SCARG(uap, stack), 0, NULL, NULL, retval, sig 63 compat/linux/linux_signal.c #define linux_sigismember(s, n) ((s)->sig[((n) - 1) / LINUX__NSIG_BPW] \ sig 65 compat/linux/linux_signal.c #define linux_sigaddset(s, n) ((s)->sig[((n) - 1) / LINUX__NSIG_BPW] \ sig 199 compat/linux/linux_signal.c lsnew.sig[0] = *lss; sig 201 compat/linux/linux_signal.c bcopy(extra, &lsnew.sig[1], sig 218 compat/linux/linux_signal.c *lss = lsnew.sig[0]; sig 220 compat/linux/linux_signal.c bcopy(&lsnew.sig[1], extra, sig 539 compat/linux/linux_signal.c if (SCARG(uap, sig) < 0 || SCARG(uap, sig) >= LINUX__NSIG) sig 552 compat/linux/linux_signal.c SCARG(&sa_args, signum) = linux_to_bsd_sig[SCARG(uap, sig)]; sig 82 compat/linux/linux_signal.h u_long sig[LINUX__NSIG_WORDS]; sig 148 compat/linux/linux_syscallargs.h syscallarg(int) sig; sig 601 compat/sunos/sunos_ioctl.c int error, sig; sig 603 compat/sunos/sunos_ioctl.c error = copyin (SCARG(uap, data), (caddr_t)&sig, sizeof (sig)); sig 606 compat/sunos/sunos_ioctl.c error = (*ctl)(fp, TIOCSIG, (caddr_t)&sig, p); sig 634 compat/ultrix/ultrix_ioctl.c int error, sig; sig 636 compat/ultrix/ultrix_ioctl.c error = copyin (SCARG(uap, data), (caddr_t)&sig, sizeof (sig)); sig 639 compat/ultrix/ultrix_ioctl.c error = (*ctl)(fp, TIOCSIG, (caddr_t)&sig, p); sig 2149 dev/pci/ahci.c u_int32_t sig; sig 2154 dev/pci/ahci.c sig = ahci_pread(ap, AHCI_PREG_SIG); sig 2155 dev/pci/ahci.c if ((sig & 0xffff0000) == (SATA_SIGNATURE_ATAPI & 0xffff0000)) sig 161 dev/pci/ami_pci.c pcireg_t sig; sig 177 dev/pci/ami_pci.c sig = pci_conf_read(pa->pa_pc, pa->pa_tag, sig 179 dev/pci/ami_pci.c if (sig == AMI_SIGNATURE_1 || sig 180 dev/pci/ami_pci.c sig == AMI_SIGNATURE_2) sig 442 dev/pci/bktr/bktr_card.c signCard( bktr_ptr_t bktr, int offset, int count, u_char *sig ) sig 447 dev/pci/bktr/bktr_card.c sig[ x ] = 0; sig 451 dev/pci/bktr/bktr_card.c sig[ x / 8 ] |= (1 << (x % 8) ); sig 88 dev/pci/bktr/bktr_card.h int signCard( bktr_ptr_t bktr, int offset, int count, u_char *sig ); sig 499 dev/pci/lofn.c int i, sig = plen * 8; sig 506 dev/pci/lofn.c sig--; sig 511 dev/pci/lofn.c sig -= 8; sig 513 dev/pci/lofn.c return (sig); sig 1652 dev/pci/noct.c int i, sig = plen * 8; sig 1659 dev/pci/noct.c sig--; sig 1664 dev/pci/noct.c sig -= 8; sig 1666 dev/pci/noct.c return (sig); sig 691 dev/pci/nofn.c int i, sig = plen * 8; sig 698 dev/pci/nofn.c sig--; sig 703 dev/pci/nofn.c sig -= 8; sig 705 dev/pci/nofn.c return (sig); sig 1943 dev/pci/safe.c int i, sig = plen * 8; sig 1950 dev/pci/safe.c sig--; sig 1955 dev/pci/safe.c sig -= 8; sig 1957 dev/pci/safe.c return (sig); sig 2442 dev/pci/ubsec.c int i, sig = plen * 8; sig 2449 dev/pci/ubsec.c sig--; sig 2454 dev/pci/ubsec.c sig -= 8; sig 2456 dev/pci/ubsec.c return (sig); sig 1930 dev/usb/umass.c int sig = UGETDW(csw->dCSWSignature); sig 1937 dev/usb/umass.c tag, sig, (sig == CSWSIGNATURE? "valid":"invalid"), sig 239 kern/kern_ktrace.c ktrpsig(struct proc *p, int sig, sig_t action, int mask, int code, sig 247 kern/kern_ktrace.c kp.signo = (char)sig; sig 1479 kern/kern_sig.c initsiginfo(siginfo_t *si, int sig, u_long code, int type, union sigval val) sig 1483 kern/kern_sig.c si->si_signo = sig; sig 1488 kern/kern_sig.c switch (sig) { sig 869 net/bpf.c u_int sig; sig 871 net/bpf.c sig = *(u_int *)addr; sig 873 net/bpf.c if (sig >= NSIG) sig 876 net/bpf.c d->bd_sig = sig; sig 2400 netinet/tcp_input.c char sig[16]; sig 2407 netinet/tcp_input.c if (tcp_signature(tdb, tp->pf, m, th, iphlen, 1, sig) < 0) sig 2410 netinet/tcp_input.c if (bcmp(sig, sigp, 16)) { sig 1119 netinet/tcp_subr.c int iphlen, int doswap, char *sig) sig 1187 netinet/tcp_subr.c MD5Final(sig, &ctx); sig 76 sys/signalvar.h #define SIGACTION(p, sig) (p->p_sigacts->ps_sigact[(sig)]) sig 92 sys/signalvar.h #define CLRSIG(p, sig) atomic_clearbits_int(&(p)->p_siglist, sigmask(sig)) sig 157 sys/signalvar.h void gsignal(int pgid, int sig); sig 160 sys/signalvar.h void pgsignal(struct pgrp *pgrp, int sig, int checkctty); sig 161 sys/signalvar.h void postsig(int sig); sig 162 sys/signalvar.h void psignal(struct proc *p, int sig); sig 164 sys/signalvar.h void trapsignal(struct proc *p, int sig, u_long code, int type, sig 180 sys/signalvar.h void sendsig(sig_t action, int sig, int returnmask, u_long code, sig 69 sys/wait.h #define W_EXITCODE(ret, sig) ((ret) << 8 | (sig)) sig 70 sys/wait.h #define W_STOPCODE(sig) ((sig) << 8 | _WSTOPPED)