函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Wrapper for inserting quota structure into tree

函数原型:static inline int dq_insert_tree(struct qtree_mem_dqinfo *info, struct dquot *dquot)

返回类型:int

参数:

类型参数名称
struct qtree_mem_dqinfo *info
struct dquot *dquot
358  tmp等于Offset of tree in file in blocks
361  如果# of blocks in quota file 小于等于Offset of tree in file in blocks
362  quota_error( superblock this applies to , "Quota tree root isn't allocated!")
363  返回:负EIO
366  返回:Insert reference to structure into the trie
调用者
名称描述
qtree_write_dquotWe don't have to be afraid of deadlocks as we never have quotas on quota* files...