include/uapi/asm-generic/unistd.h
contains the system call numbers, based on the layout of the x86-64 architecture, which embeds the pointer to the syscall in the table: #define __NR_io_setup 0 #define __NR_io_destroy 1 #define __NR_io_submit 2 … #define __NR_cachestat 451
__NR_syscalls
keeps the number of syscalls: #define __NR_syscalls 452
include/linux/syscalls.h
.