函数逻辑报告

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_next_dqblk

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

返回类型:int

参数:

类型参数名称
struct super_block *sb
struct kqid *qid
struct qc_dqblk *di
2630  如果非get_next_id则返回:负ENOSYS
2632  err等于get_next_id(sb, qid)
2633  如果err小于0则返回: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  如果是错误则返回:错误
2638  Generic routine for getting common part of quota structure
2639  Put reference to dquot
2641  返回:0