函数逻辑报告 |
Source Code:kernel\dma\debug.c |
Create Date:2022-07-27 11:34:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_debug_init
函数原型:static int dma_debug_init(void)
返回类型:int
参数:无
| 938 | 初始化链表头 |
| 939 | spin_lock_init( & lock) |
| 942 | dma_debug_fs_init() |
| 944 | nr_pages等于DIV_ROUND_UP(umber of preallocated entries requested by kernel cmdline , If the pool runs out, add this many new entries at once ) |
| 948 | 打印信息("preallocated %d debug entries\n", nr_total_entries) |
| 949 | 否则如果num_free_entries大于0则 |
| 950 | 打印警告信息("%d debug entries requested but only %d allocated\n", umber of preallocated entries requested by kernel cmdline , nr_total_entries) |
| 952 | 否则 |
| 953 | 打印错误信息("debugging out of memory error - disabled\n") |
| 956 | 返回:0 |
| 962 | 打印信息("debugging enabled by kernel config\n") |
| 963 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |