函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dqstats_inc

函数原型:static inline void dqstats_inc(unsigned int type)

返回类型:void

参数:

类型参数名称
unsigned inttype
274  percpu_counter_inc( & counter[type])
调用者
名称描述
put_dquot_lastAdd a dquot to the tail of the free list
put_inuse
dquot_writeback_dquotsWrite all dquot structures to quota files
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
v1_read_dqblk
v1_commit_dqblk
qtree_write_dquotWe don't have to be afraid of deadlocks as we never have quotas on quota* files...
qtree_read_dquot