Where are linux system calls defined?

If you are crafting your own shellcode, you often need to find the syscall numbers. Syscalls are usually defined in:

/usr/include/asm/unistd_32.h
/usr/include/asm/unistd_64.h