函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\dquot.c Create Date:2022-07-29 11:08:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Release dquot

函数原型:int dquot_release(struct dquot *dquot)

返回类型:int

参数:

类型参数名称
struct dquot *dquot
495  ret等于0, ret2等于0
496  dqopt等于sb_dqopt( superblock this applies to )
498  mutex_lock( & dquot IO lock )
500  如果dquot_is_busy(dquot)则转到:out_dqlock
502  如果release_dqblk
503  ret等于release_dqblk(dquot)
509  如果ret大于等于0则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  返回:ret