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:Release dquot

Proto:int dquot_release(struct dquot *dquot)

Type:int

Parameter:

TypeParameterName
struct dquot *dquot
495  ret = 0 , ret2 = 0
496  dqopt = sb_dqopt( superblock this applies to )
498  mutex_lock( & dquot IO lock )
500  If dquot_is_busy(dquot) Then Go to out_dqlock
502  If release_dqblk Then
503  ret = release_dqblk(dquot)
509  If ret >= 0 Then ret = ret2
512  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
513  out_dqlock :
514  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
515  Return ret