函数逻辑报告 |
Source Code:fs\quota\quota_tree.c |
Create Date:2022-07-29 11:09:47 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Find entry in block
函数原型:static loff_t find_block_dqentry(struct qtree_mem_dqinfo *info, struct dquot *dquot, uint blk)
返回类型:loff_t
参数:
类型 | 参数 | 名称 |
---|---|---|
struct qtree_mem_dqinfo * | info | |
struct dquot * | dquot | |
uint | blk |
537 | ret等于0 |
544 | 如果ret小于0则 |
545 | quota_error( superblock this applies to , "Can't read quota tree block %u", blk) |
547 | 转到:out_buf |
549 | ddquot等于buf加sizeof(structqt_disk_dqdbheader) |
555 | 如果i恒等于Number of entries in one blocks 则 |
556 | quota_error( superblock this applies to , "Quota for id %u referenced but not present", from_kqid( & userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ?, ID this applies to (uid, gid, projid) )) |
560 | 转到:out_buf |
561 | 否则 |
562 | ret等于blk左移Block size of quota file 位的值加sizeof(structqt_disk_dqdbheader)加i乘Size of quota entry in quota file |
565 | out_buf : |
566 | 释放内存 |
567 | 返回:ret |
名称 | 描述 |
---|---|
find_tree_dqentry | Find entry for given id in the tree |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |