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_next_dqblk

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

Type:int

Parameter:

TypeParameterName
struct super_block *sb
struct kqid *qid
struct qc_dqblk *di
2630  If Not get_next_id Then Return -ENOSYS
2632  err = get_next_id(sb, qid)
2633  If err < 0 Then Return err
2635  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
2636  If IS_ERR(dquot) Then Return PTR_ERR(dquot)
2638  Generic routine for getting common part of quota structure
2639  Put reference to dquot
2641  Return 0