函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:getdqbuf

函数原型:static char *getdqbuf(size_t size)

返回类型:char

参数:

类型参数名称
size_tsize
52  buf等于开辟内存
53  如果非bufprintk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
56  返回:buf
调用者
名称描述
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
qtree_write_dquotWe don't have to be afraid of deadlocks as we never have quotas on quota* files...
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
qtree_read_dquot
find_next_id