Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\quota.h Create Date:2022-07-28 05:42:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:dqstats_inc

Proto:static inline void dqstats_inc(unsigned int type)

Type:void

Parameter:

TypeParameterName
unsigned inttype
274  percpu_counter_inc( & counter[type])
Caller
NameDescribe
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