Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dquot_decr_inodes

Proto:static void dquot_decr_inodes(struct dquot *dquot, qsize_t number)

Type:void

Parameter:

TypeParameterName
struct dquot *dquot
qsize_tnumber
1119  If Flags for diskquotas on this device & Quota file is a special* system file and user cannot* touch it. Filesystem is* responsible for setting* S_NOQUOTA, S_NOATIME flags || current # allocated inodes >= number Then current # allocated inodes -= number
1122  Else current # allocated inodes = 0
1124  If current # allocated inodes <= preferred inode limit Then ime limit for excessive inode use = 0
1126  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
Caller
NameDescribe
dquot_alloc_inodeThis operation can block, but only after everything is updated
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