函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dquot_active

函数原型:static int dquot_active(const struct inode *inode)

返回类型:int

参数:

类型参数名称
const struct inode *inode
1416  sb等于i_sb
1418  如果IS_NOQUOTA(inode)则返回:0
1420  返回:sb_any_quota_loaded(sb)按位与sb_any_quota_suspended(sb)的反
调用者
名称描述
__dquot_initialize
dquot_initialize_needed
__dquot_alloc_spaceThis operation can block, but only after everything is updated
dquot_alloc_inodeThis operation can block, but only after everything is updated
dquot_claim_space_nodirtyConvert in-memory reserved quotas to real consumed quotas
dquot_reclaim_space_nodirtyConvert allocated space back to in-memory reserved quotas
__dquot_free_spaceThis operation can block, but only after everything is updated
dquot_free_inodeThis operation can block, but only after everything is updated
dquot_transferWrapper for transferring ownership of an inode for uid/gid only* Called from FSXXX_setattr()