Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:25:39 |
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__pcpu_size_to_slot
Proto:static int __pcpu_size_to_slot(int size)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int | size |
| 223 | Return max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(highbit - he slots are sorted by free bytes left, 1-31 bytes share the same slot + 2, 1) |
| Name | Describe |
|---|---|
| pcpu_size_to_slot | |
| pcpu_setup_first_chunk | pcpu_setup_first_chunk - initialize the first percpu chunk*@ai: pcpu_alloc_info describing how to percpu area is shaped*@base_addr: mapped address* Initialize the first percpu chunk which contains the kernel static* percpu area |
| 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 |