NSYSCALL
if (rec->ttr_sysnum > NSYSCALL) {
brand_assert(code < NSYSCALL);
for (i = 0; i < NSYSCALL; i++) {
sn1_emulation_table = kmem_zalloc(NSYSCALL, KM_SLEEP);
kmem_free(sn1_emulation_table, NSYSCALL);
s10_emulation_table = kmem_zalloc(NSYSCALL, KM_SLEEP);
kmem_free(s10_emulation_table, NSYSCALL);
#if ((1 << SYSTRACE_SHIFT) <= NSYSCALL)
NSYSCALL, KM_SLEEP);
for (i = 0; i < NSYSCALL; i++) {
for (i = 0; i < NSYSCALL; i++) {
kmem_free(*emul_table, NSYSCALL);
if (sysnum > 0 && sysnum < NSYSCALL &&
init_syscallnames(NSYSCALL);
for (callnum = 0, callp = sysent; callnum < NSYSCALL;
for (callnum = 0, callp = sysent32; callnum < NSYSCALL;
struct sysent sysent[NSYSCALL] =
struct sysent sysent32[NSYSCALL] =
printf("#define\tNSYSCALL 0x%x\n", NSYSCALL);
cmp $NSYSCALL, call; /* is 0 <= syscall <= MAX? */ \
callp = code >= NSYSCALL ? &nosys_ent : se + code;
if (code >= NSYSCALL)
if (code >= NSYSCALL) {
int nargs = (code > 0 && code < NSYSCALL)?
if (code != 0 && code < NSYSCALL) {
if (code >= NSYSCALL) {
if (code <= 0 || code >= NSYSCALL)
if (code != 0 && code < NSYSCALL) {
if (code >= NSYSCALL) {
if (code >= NSYSCALL)
if (code >= NSYSCALL)
int nargs = (code > 0 && code < NSYSCALL)?
printf("#define\tNSYSCALL %d\n", NSYSCALL);