Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:put_compat_statfs64

Proto:static int put_compat_statfs64(struct compat_statfs64 __user *ubuf, struct kstatfs *kbuf)

Type:int

Parameter:

TypeParameterName
struct compat_statfs64 __user *ubuf
struct kstatfs *kbuf
322  If (f_bsize | f_frsize) & 0xffffffff00000000ULL Then Return -EOVERFLOW
325  memset( & buf, 0, sizeof(structcompat_statfs64))
326  f_type = f_type
327  f_bsize = f_bsize
328  f_blocks = f_blocks
329  f_bfree = f_bfree
330  f_bavail = f_bavail
331  f_files = f_files
332  f_ffree = f_ffree
333  f_namelen = f_namelen
334  val[0] = val[0]
335  val[1] = val[1]
336  f_frsize = f_frsize
337  f_flags = f_flags
338  If copy_to_user(ubuf, & buf, sizeof(structcompat_statfs64)) Then Return -EFAULT
340  Return 0
Caller
NameDescribe
kcompat_sys_statfs64
kcompat_sys_fstatfs64