函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\quotaops.h Create Date:2022-07-29 10:40:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sb_has_quota_active

函数原型:static inline bool sb_has_quota_active(struct super_block *sb, int type)

返回类型:bool

参数:

类型参数名称
struct super_block *sb
inttype
169  返回:Does kernel know about any quota information for given sb + type? 且非sb_has_quota_suspended(sb, type)
调用者
名称描述
dquot_writeback_dquotsWrite all dquot structures to quota files
dquot_quota_syncWrite all dquot structures to disk and make them visible from userspace
dqputPut reference to dquot
dqgetGet reference to dquot* Locking is slightly tricky here. We are guarded from parallel quotaoff()* destroying our dquot by:* a) checking for quota flags under dq_list_lock and* b) getting a reference to dquot before we release dq_list_lock
__dquot_initialize
dquot_initialize_needed
__dquot_transferTransfer the number of inode and blocks from one diskquota to an other
dquot_get_next_id
dquot_get_stateGeneric routine for getting common part of quota file information
dquot_set_dqinfoGeneric routine for setting common part of quota file information
quota_getfmt