函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:dquot_set_dqblk

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

返回类型:int

参数:

类型参数名称
struct super_block *sb
struct kqidqid
struct qc_dqblk *di
2748  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
2749  如果是错误
2750  rc等于错误
2751  转到:out
2753  rc等于Generic routine for setting common part of quota structure
2754  Put reference to dquot
2755  out :
2756  返回:rc