Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:25:40 |
| 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_slot
Proto:static int pcpu_chunk_slot(const struct pcpu_chunk *chunk)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct pcpu_chunk * | chunk |
| 237 | If free bytes in the chunk < PCPU_MIN_ALLOC_SIZE || contig hint for block == 0 Then Return 0 |
| 241 | Return pcpu_size_to_slot(contig hint for block * PCPU_MIN_ALLOC_SIZE) |
| Name | Describe |
|---|---|
| pcpu_chunk_relocate | pcpu_chunk_relocate - put chunk in the appropriate chunk slot*@chunk: chunk of interest*@oslot: the previous slot it was on* This function is called after an allocation or free changed @chunk |
| pcpu_alloc_area | pcpu_alloc_area - allocates an area from a pcpu_chunk*@chunk: chunk of interest*@alloc_bits: size of request in allocation units*@align: alignment of area (max PAGE_SIZE)*@start: bit_off to start searching* This function takes in a @start offset to begin |
| pcpu_free_area | pcpu_free_area - frees the corresponding offset*@chunk: chunk of interest*@off: addr offset into chunk* This function determines the size of an allocation to free using* the boundary bitmap and clears the allocation map. |
| 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 |