Function report |
Source Code:mm\percpu-vm.c |
Create Date:2022-07-28 14:27:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_create_chunk
Proto:static struct pcpu_chunk *pcpu_create_chunk(gfp_t gfp)
Type:struct pcpu_chunk
Parameter:
| Type | Parameter | Name |
|---|---|---|
| gfp_t | gfp |
| 336 | chunk = pcpu_alloc_chunk(gfp) |
| 337 | If Not chunk Then Return NULL |
| 340 | vms = pcpu_get_vm_areas(pcpu_group_offsets, pcpu_group_sizes, group information, used for vm allocation , pcpu_atom_size) |
| 342 | If Not vms Then |
| 343 | pcpu_free_chunk(chunk) |
| 344 | Return NULL |
| 347 | chunk data = vms |
| 348 | base address of this chunk = addr - pcpu_group_offsets[0] |
| 350 | pcpu_stats_chunk_alloc() |
| 353 | Return chunk |
| 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 |