Function report | 
Source Code:mm\percpu.c | 
Create Date:2022-07-28 14:25:38 | 
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:pcpu_addr_in_chunk - check if the address is served from this chunk*@chunk: chunk of interest*@addr: percpu address* RETURNS:* True if the address is served from this chunk.
Proto:static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr)
Type:bool
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct pcpu_chunk * | chunk | |
| void * | addr | 
| 210 | If Not chunk Then Return false | 
| 213 | start_addr = base address of this chunk + the overlap with the previous region to have a page aligned base_addr | 
| 214 | end_addr = base address of this chunk + # of pages served by this chunk * PAGE_SIZE - additional area required to have the region end page aligned | 
| 217 | Return addr >= start_addr && addr < end_addr | 
| Name | Describe | 
|---|---|
| pcpu_chunk_addr_search | pcpu_chunk_addr_search - determine chunk containing specified address*@addr: address for which the chunk needs to be determined.* This is an internal function that handles all but static allocations. | 
| 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  |