Function report |
Source Code:kernel\dma\contiguous.c |
Create Date:2022-07-28 10:33:32 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_contiguous_reserve() - reserve area(s) for contiguous memory handling*@limit: End address of the reserved memory (optional, 0 for any)
Proto:void __init dma_contiguous_reserve(phys_addr_t limit)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
phys_addr_t | limit |
110 | selected_size = 0 |
111 | selected_base = 0 |
112 | selected_limit = limit |
113 | bool fixed = false |
117 | If size_cmdline != -1 Then |
118 | selected_size = size_cmdline |
119 | selected_base = base_cmdline |
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 | If base_cmdline + size_cmdline == limit_cmdline Then fixed = true |
123 | Else If selected_size && Not dma_contiguous_default_area Then |
136 | pr_debug("%s: reserving %ld MiB for global area\n", __func__, (unsignedlong)selected_size / SZ_1M) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |