Searched refs:vfs_open (Results 1 – 6 of 6) sorted by relevance
| /linux/Documentation/trace/ |
| H A D | fprobetrace.rst | 246 For example, vfs_open() will link the file structure to the inode and update 250 # echo 'f vfs_open mode=file->f_mode:x32 inode=file->f_inode:x64' >> dynamic_events 251 # echo 'f vfs_open%%return mode=file->f_mode:x32 inode=file->f_inode:x64' >> dynamic_events 254 … sh-131 [006] ...1. 1945.714346: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x2 inode=0x0 255 …sh-131 [006] ...1. 1945.714358: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0x4d80… 256 … cat-143 [007] ...1. 1945.717949: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x1 inode=0x0 257 …cat-143 [007] ...1. 1945.717956: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0x4a8… 258 … cat-143 [007] ...1. 1945.720616: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x1 inode=0x0 259 …cat-143 [007] ...1. 1945.728263: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0xa80… 261 You can see the `file::f_mode` and `file::f_inode` are updated in `vfs_open()`.
|
| /linux/tools/testing/selftests/ftrace/test.d/dynevent/ |
| H A D | add_remove_multiple_fprobe.tc | 10 PLACE2=vfs_open
|
| /linux/fs/ |
| H A D | open.c | 1101 int vfs_open(const struct path *path, struct file *file) in vfs_open() function 1149 error = vfs_open(path, f); in dentry_open() 1167 error = vfs_open(path, f); in dentry_open_nonotify() 1198 error = vfs_open(path, f); in kernel_file_open()
|
| H A D | internal.h | 208 extern int vfs_open(const struct path *, struct file *);
|
| H A D | backing-file.c | 48 error = vfs_open(real_path, f); in backing_file_open()
|
| H A D | namei.c | 4690 error = vfs_open(&nd.path, file); in vfs_lookup_open() 4984 error = vfs_open(&path, file); in do_o_path() 5223 error = vfs_open(path, file); in dentry_create()
|