Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:26:25 |
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_find_zero_area - modified from bitmap_find_next_zero_area_off()*@map: the address to base the search on*@size: the bitmap size in bits*@start: the bitnumber to start searching at*@nr: the number of zeroed bits we're looking for*@align_mask: alignment
Proto:static unsigned long pcpu_find_zero_area(unsigned long *map, unsigned long size, unsigned long start, unsigned long nr, unsigned long align_mask, unsigned long *largest_off, unsigned long *largest_bits)
Type:unsigned long
Parameter:
| Type | Parameter | Name |
|---|---|---|
| unsigned long * | map | |
| unsigned long | size | |
| unsigned long | start | |
| unsigned long | nr | |
| unsigned long | align_mask | |
| unsigned long * | largest_off | |
| unsigned long * | largest_bits |
| 1140 | again : |
| 1144 | index = __ALIGN_MASK(index, align_mask) |
| 1157 | largest_off = area_off |
| 1158 | largest_bits = area_bits |
| 1162 | Go to again |
| 1164 | Return index |
| Name | Describe |
|---|---|
| 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 |
| 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 |