Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:dquot_get_dqblk

Proto:int dquot_get_dqblk(struct super_block *sb, struct kqid qid, struct qc_dqblk *di)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
struct kqidqid
struct qc_dqblk *di
2614  dquot = Get 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
2615  If IS_ERR(dquot) Then Return PTR_ERR(dquot)
2617  Generic routine for getting common part of quota structure
2618  Put reference to dquot
2620  Return 0