函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dquot_decr_space

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

返回类型:void

参数:

类型参数名称
struct dquot *dquot
qsize_tnumber
1131  如果 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 flagscurrent used space 大于等于numbercurrent used space 减等于number
1134  否则current used space 等于0
1136  如果current used space current reserved space for delalloc小于等于preferred limit on disk blks 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).
调用者
名称描述
__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