函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:info_idq_free

函数原型:static int info_idq_free(struct dquot *dquot, qsize_t inodes)

返回类型:int

参数:

类型参数名称
struct dquot *dquot
qsize_tinodes
1382  如果st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting fromcurrent # allocated inodes 小于等于preferred inode limit 或非sb_has_quota_limits_enabled( superblock this applies to , USRQUOTA (uid) or GRPQUOTA (gid) or PRJQUOTA (projid) )则返回:Definitions for quota netlink interface
1387  newinodes等于current # allocated inodes inodes
1388  如果newinodes小于等于preferred inode limit 则返回:Usage got below inode softlimit
1390  如果current # allocated inodes 大于等于absolute limit on allocated inodes newinodes小于absolute limit on allocated inodes 则返回:Usage got below inode hardlimit
1393  返回:Definitions for quota netlink interface
调用者
名称描述
dquot_free_inodeThis operation can block, but only after everything is updated
__dquot_transferTransfer the number of inode and blocks from one diskquota to an other