函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\statfs.c Create Date:2022-07-29 10:43:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:user_statfs

函数原型:int user_statfs(const char __user *pathname, struct kstatfs *st)

返回类型:int

参数:

类型参数名称
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  如果非error
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  转到:retry
110  返回:error
调用者
名称描述
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