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_space

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

Type:void

Parameter:

TypeParameterName
struct dquot *dquot
qsize_tnumber
1131  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 used space >= number Then current used space -= number
1134  Else current used space = 0
1136  If current used space + current reserved space for delalloc <= preferred limit on disk blks Then ime limit for excessive disk use = 0
1139  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_spaceThis operation can block, but only after everything is updated
__dquot_free_spaceThis operation can block, but only after everything is updated
__dquot_transferTransfer the number of inode and blocks from one diskquota to an other