函数逻辑报告 |
Source Code:fs\quota\dquot.c |
Create Date:2022-07-29 11:09:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dquot_init
函数原型:static int __init dquot_init(void)
返回类型:int
参数:无
2953 | 注册sysctl |
2961 | order等于0 |
2962 | dquot_hash等于Common helper functions. Never use with __GFP_HIGHMEM because the returned* address cannot represent highmem pages. Use alloc_pages and then kmap if* you need to access high mem. |
2963 | 如果非dquot_hash则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
2966 | 以i小于_DQST_DQSTAT_LAST循环 |
2967 | ret等于percpu_counter_init( & counter[i], 0, GFP_KERNEL) |
2973 | nr_hash等于1UL左移order位的值乘PAGE_SIZE除sizeof(structhlist_head) |
2976 | nr_hash等于1UL左移dq_hash_bits位 |
2977 | dq_hash_mask等于nr_hash减1 |
2978 | 以i小于nr_hash循环INIT_HLIST_HEAD(dquot_hash + i) |
2981 | 打印信息("VFS: Dquot-cache hash table entries: %ld (order %ld, %ld bytes)\n", nr_hash, order, (PAGE_SIZE << order)) |
2984 | 如果register_shrinker( & dqcache_shrinker)则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
2987 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |