函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:vfs_ustat

函数原型:static int vfs_ustat(dev_t dev, struct kstatfs *sbuf)

返回类型:int

参数:

类型参数名称
dev_tdev
struct kstatfs *sbuf
236  s等于user_get_super(dev)
238  如果非s则返回:负EINVAL
241  err等于statfs_by_dentry(s_root, sbuf)
242  drop_super(s)
243  返回:err
调用者
名称描述
SYSCALL_DEFINE2
COMPAT_SYSCALL_DEFINE2This is a copy of sys_ustat, just dealing with a structure layout.* Given how simple this syscall is that apporach is more maintainable* than the various conversion hacks.