Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:quota_getfmt

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

Type:int

Parameter:

TypeParameterName
struct super_block *sb
inttype
void __user *addr
107  If Not sb_has_quota_active(sb, type) Then Return -ESRCH
109  fmt = Quota format id
110  If copy_to_user(addr, & fmt, size of fmt ) Then Return -EFAULT
112  Return 0
Caller
NameDescribe
do_quotactlCopy parameters and call proper function