Home
last modified time | relevance | path

Searched refs:SYSTRACE_SHIFT (Results 1 – 1 of 1) sorted by relevance

/freebsd/sys/cddl/dev/systrace/
H A Dsystrace.c125 #define SYSTRACE_SHIFT 16 macro
126 #define SYSTRACE_ISENTRY(x) ((int)(x) >> SYSTRACE_SHIFT)
127 #define SYSTRACE_SYSNUM(x) ((int)(x) & ((1 << SYSTRACE_SHIFT) - 1))
128 #define SYSTRACE_ENTRY(id) ((1 << SYSTRACE_SHIFT) | (id))
131 #if ((1 << SYSTRACE_SHIFT) <= MAXSYSCALL)
132 #error 1 << SYSTRACE_SHIFT must exceed number of system calls