Function report |
Source Code:lib\genalloc.c |
Create Date:2022-07-28 06:56:59 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:gen_pool_has_addr - checks if an address falls within the range of a pool*@pool: the generic memory pool*@start: start address*@size: size of the region* Check if the range of addresses falls within the specified pool. Returns
Proto:bool gen_pool_has_addr(struct gen_pool *pool, unsigned long start, size_t size)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct gen_pool * | pool | |
unsigned long | start | |
size_t | size |
554 | bool found = false |
560 | If start >= start address of memory chunk && start <= d address of memory chunk (inclusive) Then |
561 | If end <= d address of memory chunk (inclusive) Then |
562 | found = true |
563 | Break |
568 | Return found |
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 |