Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:25:42 |
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_chunk_addr
Proto:static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, unsigned int cpu, int page_idx)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pcpu_chunk * | chunk | |
| unsigned int | cpu | |
| int | page_idx |
| 269 | Return base address of this chunk + pcpu_unit_page_offset(cpu, page_idx) |
| Name | Describe |
|---|---|
| pcpu_alloc | pcpu_alloc - the percpu allocator*@size: size of area to allocate in bytes*@align: alignment of area (max PAGE_SIZE)*@reserved: allocate from the reserved chunk if available*@gfp: allocation flags* Allocate percpu area of @size bytes aligned at @align |
| 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 |