Home
last modified time | relevance | path

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

/linux-6.12.1/Documentation/trace/
Dfprobetrace.rst236 For example, vfs_open() will link the file structure to the inode and update
240 # echo 'f vfs_open mode=file->f_mode:x32 inode=file->f_inode:x64' >> dynamic_events
241 # echo 'f vfs_open%%return mode=file->f_mode:x32 inode=file->f_inode:x64' >> dynamic_events
244 … sh-131 [006] ...1. 1945.714346: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x2 inode=0x0
245 …sh-131 [006] ...1. 1945.714358: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0x4d80…
246 … cat-143 [007] ...1. 1945.717949: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x1 inode=0x0
247 …cat-143 [007] ...1. 1945.717956: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0x4a8…
248 … cat-143 [007] ...1. 1945.720616: vfs_open__entry: (vfs_open+0x4/0x40) mode=0x1 inode=0x0
249 …cat-143 [007] ...1. 1945.728263: vfs_open__exit: (do_open+0x274/0x3d0 <- vfs_open) mode=0xa80…
251 You can see the `file::f_mode` and `file::f_inode` are updated in `vfs_open()`.
/linux-6.12.1/fs/
Dinternal.h196 extern int vfs_open(const struct path *, struct file *);
Dbacking-file.c45 error = vfs_open(real_path, f); in backing_file_open()
Dopen.c1083 int vfs_open(const struct path *path, struct file *file) in vfs_open() function
1111 error = vfs_open(path, f); in dentry_open()
1152 error = vfs_open(path, f); in dentry_create()
Dnamei.c3774 error = vfs_open(&nd->path, file); in do_open()
3907 error = vfs_open(&path, file); in do_o_path()
/linux-6.12.1/Documentation/filesystems/
Dpath-lookup.rst1200 it. If the file was found in the dcache, then ``vfs_open()`` is used for
1205 created file will be performed by vfs_open(), just as if the name
1208 2. vfs_open() can fail with ``-EOPENSTALE`` if the cached information