Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\statfs.c Create Date:2022-07-28 20:12:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:user_statfs

Proto:int user_statfs(const char __user *pathname, struct kstatfs *st)

Type:int

Parameter:

TypeParameterName
const char __user *pathname
struct kstatfs *st
99  lookup_flags = llow links at the end | rce terminal automount
100  retry :
101  error = user_path_at(Special value used to indicateopenat should use the currentworking directory. , pathname, lookup_flags, & path)
102  If Not error Then
103  error = vfs_statfs( & path, st)
104  path_put - put a reference to a path*@path: path to put the reference to* Given a path decrement the reference count to the dentry and the vfsmount.
107  Go to retry
110  Return error
Caller
NameDescribe
SYSCALL_DEFINE2
SYSCALL_DEFINE3
COMPAT_SYSCALL_DEFINE2The following statfs calls are copies of code from fs/statfs.c and* should be checked against those from time to time
kcompat_sys_statfs64