Search notes:

fs/open.c

This file defines the entry point for the following syscalls: truncate, ftruncate, truncate64, ftruncate64, fallocate, faccessat, access, chdir, fchdir, chroot, fchmod, fchmodat, chmod, fchownat, chown, lchown, fchown, open, openat, creat, close, vhangup.
File system related calls (open, stat, read, write, chmod and so on) are defined by the Virtual File System (see the functions vfs_open() etc.)

Links

https://github.com/torvalds/linux/blob/master/fs/open.c

Index