Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\quota\quota_tree.c Create Date:2022-07-28 20:33:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:read_blk

Proto:static ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, char *buf)

Type:ssize_t

Parameter:

TypeParameterName
struct qtree_mem_dqinfo *info
uintblk
char *buf
61  sb = Sb quota is on
63  memset(buf, 0, Space usable in block for quota data )
64  Return quota_read(sb, Quota type , buf, Space usable in block for quota data , blk << Block size of quota file )
Caller
NameDescribe
get_free_dqblkRemove empty block from list and return it
remove_free_dqentryRemove given block from the list of blocks with free entries
insert_free_dqentryInsert given block to the beginning of list with free entries
find_free_dqentryFind space for dquot
do_insert_treeInsert reference to structure into the trie
free_dqentryFree dquot entry in data block
remove_treeRemove reference to dquot from tree
find_block_dqentryFind entry in block
find_tree_dqentryFind entry for given id in the tree
find_next_id