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_free_reserved_space

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

Type:void

Parameter:

TypeParameterName
struct dquot *dquot
qsize_tnumber
1105  If dqb_rsvspace >= number Then current reserved space for delalloc -= number
1107  Else
1108  WARN_ON_ONCE(1)
1109  current reserved space for delalloc = 0
1111  If current used space + current reserved space for delalloc <= preferred limit on disk blks Then ime limit for excessive disk use = 0
1114  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