函数逻辑报告 |
Source Code:kernel\dma\contiguous.c |
Create Date:2022-07-27 11:33:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:dma_contiguous_reserve() - reserve area(s) for contiguous memory handling*@limit: End address of the reserved memory (optional, 0 for any)
函数原型:void __init dma_contiguous_reserve(phys_addr_t limit)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
phys_addr_t | limit |
110 | selected_size等于0 |
111 | selected_base等于0 |
112 | selected_limit等于limit |
113 | bool fixed = false |
117 | 如果size_cmdline不等于负1则 |
120 | selected_limit等于min_not_zero - return the minimum that is _not_ zero, unless both are zero*@x: value1*@y: value2(limit_cmdline, limit) |
121 | 如果base_cmdline加size_cmdline恒等于limit_cmdline则fixed = true |
123 | 否则如果selected_size且非dma_contiguous_default_area则 |
136 | pr_debug("%s: reserving %ld MiB for global area\n", __func__, (unsignedlong)selected_size / SZ_1M) |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |