Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Return true if quotactl command is manipulating quota on/off state

Proto:static bool quotactl_cmd_onoff(int cmd)

Type:bool

Parameter:

TypeParameterName
intcmd
776  Return cmd == urn quotas on || cmd == urn quotas off || cmd == able accounting/enforcement || cmd == disable accounting/enforcement
Caller
NameDescribe
quotactl_blocklook up a superblock on which quota ops will be performed* - use the name of a block device to find the superblock thereon
kernel_quotactlThis is the system call interface. This communicates with* the user-level programs. Currently this only supports diskquota* calls. Maybe we need to add the process quotas etc. in the future,* but we probably should use rlimits for that.