函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota.c Create Date:2022-07-29 11:10:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Return true if quotactl command is manipulating quota on/off state

函数原型:static bool quotactl_cmd_onoff(int cmd)

返回类型:bool

参数:

类型参数名称
intcmd
776  返回:cmd恒等于urn quotas on cmd恒等于urn quotas off cmd恒等于able accounting/enforcement cmd恒等于disable accounting/enforcement
调用者
名称描述
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.