函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dquot_free_reserved_space

函数原型:static inline void dquot_free_reserved_space(struct dquot *dquot, qsize_t number)

返回类型:void

参数:

类型参数名称
struct dquot *dquot
qsize_tnumber
1105  如果dqb_rsvspace大于等于numbercurrent reserved space for delalloc减等于number
1107  否则
1108  WARN_ON_ONCE(1)
1109  current reserved space for delalloc等于0
1111  如果current used space current reserved space for delalloc小于等于preferred limit on disk blks 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).
调用者
名称描述
__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