Function report |
Source Code:mm\percpu.c |
Create Date:2022-07-28 14:26:20 |
| Last Modify:2022-05-23 13:52:24 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pcpu_is_populated - determines if the region is populated*@chunk: chunk of interest*@bit_off: chunk offset*@bits: size of area*@next_off: return value for the next offset to start searching* For atomic allocations, check if the backing pages are populated
Proto:static bool pcpu_is_populated(struct pcpu_chunk *chunk, int bit_off, int bits, int *next_off)
Type:bool
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct pcpu_chunk * | chunk | |
| int | bit_off | |
| int | bits | |
| int * | next_off |
| 1046 | page_start = PFN_DOWN(bit_off * PCPU_MIN_ALLOC_SIZE) |
| 1047 | page_end = PFN_UP((bit_off + bits) * PCPU_MIN_ALLOC_SIZE) |
| 1049 | rs = page_start |
| 1050 | pcpu_next_unpop( populated bitmap , & rs, & re, page_end) |
| 1054 | next_off = re * PAGE_SIZE / PCPU_MIN_ALLOC_SIZE |
| 1055 | Return false |
| Name | Describe |
|---|---|
| pcpu_find_block_fit | pcpu_find_block_fit - finds the block index to start searching*@chunk: chunk of interest*@alloc_bits: size of request in allocation units*@align: alignment of area (max PAGE_SIZE bytes)*@pop_only: use populated regions only* Given a chunk and an |
| 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 |