Function report |
Source Code:mm\percpu-vm.c |
Create Date:2022-07-28 14:27:00 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_map_pages - map pages into a pcpu_chunk*@chunk: chunk of interest*@pages: pages array containing pages to be mapped*@page_start: page index of the first page to map*@page_end: page index of the last page to map + 1
Proto:static int pcpu_map_pages(struct pcpu_chunk *chunk, struct page **pages, int page_start, int page_end)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pcpu_chunk * | chunk | |
| struct page ** | pages | |
| int | page_start | |
| int | page_end |
| 219 | for_each_possible_cpu(cpu) |
| 220 | err = __pcpu_map_pages(pcpu_chunk_addr(chunk, cpu, page_start), & pages[pcpu_page_idx(cpu, page_start)], page_end - page_start) |
| 230 | Return 0 |
| 231 | err : |
| 239 | Return err |
| 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 |