函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dquot_get_dqblk

函数原型:int dquot_get_dqblk(struct super_block *sb, struct kqid qid, struct qc_dqblk *di)

返回类型:int

参数:

类型参数名称
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  如果是错误则返回:错误
2617  Generic routine for getting common part of quota structure
2618  Put reference to dquot
2620  返回:0