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:do_statfs64

Proto:static int do_statfs64(struct kstatfs *st, struct statfs64 __user *p)

Type:int

Parameter:

TypeParameterName
struct kstatfs *st
struct statfs64 __user *p
169  If size of buf == size of st Then memcpy( & buf, st, size of st )
171  Else
172  f_type = f_type
173  f_bsize = f_bsize
174  f_blocks = f_blocks
175  f_bfree = f_bfree
176  f_bavail = f_bavail
177  f_files = f_files
178  f_ffree = f_ffree
179  f_fsid = f_fsid
180  f_namelen = f_namelen
181  f_frsize = f_frsize
182  f_flags = f_flags
183  memset(f_spare, 0, size of f_spare )
185  If copy_to_user(p, & buf, size of buf ) Then Return -EFAULT
187  Return 0
Caller
NameDescribe
SYSCALL_DEFINE3
SYSCALL_DEFINE3