函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Insert empty block to the list

函数原型:static int put_free_dqblk(struct qtree_mem_dqinfo *info, char *buf, uint blk)

返回类型:int

参数:

类型参数名称
struct qtree_mem_dqinfo *info
char *buf
uintblk
117  dh等于buf
120  Number of next block with free entry 等于cpu_to_le32(First block in list of free blocks )
121  Number of previous block with free entry 等于cpu_to_le32(0)
122  Number of valid entries in block 等于cpu_to_le16(0)
123  err等于write_blk(info, blk, buf)
124  如果err小于0则返回:err
126  First block in list of free blocks 等于blk
127  mark_info_dirty(Sb quota is on , Quota type )
128  返回:0
调用者
名称描述
do_insert_treeInsert reference to structure into the trie
free_dqentryFree dquot entry in data block
remove_treeRemove reference to dquot from tree