Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:quota_getxstatev

Proto:static int quota_getxstatev(struct super_block *sb, int type, void __user *addr)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
inttype
void __user *addr
447  If Not get_state Then Return -ENOSYS
450  memset( & fqs, 0, size of fqs )
451  If copy_from_user( & fqs, addr, 1) Then Return -EFAULT
456  Case version for future changes == s_quota_statv.qs_version
457  Break
458  Default
459  Return -EINVAL
461  ret = quota_getstatev(sb, type, & fqs)
462  If Not ret && copy_to_user(addr, & fqs, size of fqs ) Then Return -EFAULT
464  Return ret
Caller
NameDescribe
do_quotactlCopy parameters and call proper function