Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:clear_dquot_dirty

Proto:static inline int clear_dquot_dirty(struct dquot *dquot)

Type:int

Parameter:

TypeParameterName
struct dquot *dquot
401  If Flags for diskquotas on this device & Do not track dirty dquots in a list Then Return st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier).
404  spin_lock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
405  If Not st_and_clear_bit - Clear a bit and return its old value*@nr: Bit to clear*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then
406  spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
407  Return 0
409  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
410  spin_unlock( & There are five quota SMP locks:* * dq_list_lock protects all lists with quotas and quota formats)
411  Return 1
Caller
NameDescribe
dquot_commitWrite dquot to disk
dquot_writeback_dquotsWrite all dquot structures to quota files
dqputPut reference to dquot