函数逻辑报告

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_inodes

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

返回类型:void

参数:

类型参数名称
struct dquot *dquot
qsize_tnumber
1119  如果 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 # allocated inodes 大于等于numbercurrent # allocated inodes 减等于number
1122  否则current # allocated inodes 等于0
1124  如果current # allocated inodes 小于等于preferred inode limit 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).
调用者
名称描述
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