Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\dquot.c Create Date:2022-07-28 20:32:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:remove_free_dquot

Proto:static inline void remove_free_dquot(struct dquot *dquot)

Type:void

Parameter:

TypeParameterName
struct dquot *dquot
310  If list_empty - tests whether a list is empty*@head: the list to test. Then Return
312  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
313  dqstats_dec(DQST_FREE_DQUOTS)
Caller
NameDescribe
invalidate_dquotsInvalidate all dquots on the list
dqcache_shrink_scan
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