函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dquot_drop

函数原型:void dquot_drop(struct inode *inode)

返回类型:void

参数:

类型参数名称
struct inode *inode
1584  如果IS_NOQUOTA(inode)则返回
1594  dquots等于i_dquot(inode)
1595 cnt小于MAXQUOTAS循环
1596  如果dquots[cnt]则退出
1600  如果cnt小于MAXQUOTASRelease all quotas referenced by inode.* This function only be called on inode free or converting* a file to quota file, no other users for the i_dquot in* both cases, so we needn't call synchronize_srcu() after* clearing i_dquot.