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

Proto:SYSCALL_DEFINE2(ustat, unsigned, dev, struct ustat __user *, ubuf)

Type:

Parameter:Nothing

250  err = vfs_ustat(new_decode_dev(dev), & sbuf)
251  If err Then Return err
254  memset( & tmp, 0, sizeof(structustat))
255  f_tfree = f_bfree
256  f_tinode = f_ffree
258  Return If copy_to_user(ubuf, & tmp, sizeof(structustat)) Then -EFAULT Else 0