Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:05:02 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Finds the lowest iomem resource that covers part of [@start..@end]. The* caller must specify @start, @end, @flags, and @desc (which may be* IORES_DESC_NONE).* If a resource is found, returns 0 and @*res is overwritten with the part
Proto:static int find_next_iomem_res(resource_size_t start, resource_size_t end, unsigned long flags, unsigned long desc, bool first_lvl, struct resource *res)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
resource_size_t | start | |
resource_size_t | end | |
unsigned long | flags | |
unsigned long | desc | |
bool | first_lvl | |
struct resource * | res |
345 | bool siblings_only = true |
354 | read_lock( & resource_lock) |
359 | p = NULL |
360 | Break |
372 | siblings_only = first_lvl |
376 | If desc != IORES_DESC_NONE && desc != desc Then Continue |
380 | Break |
383 | If p Then |
385 | start = max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(start, start) |
391 | read_unlock( & resource_lock) |
Name | Describe |
---|---|
__walk_iomem_res_desc | |
walk_system_ram_range | This function calls the @func callback against all memory ranges of type* System RAM which are marked as IORESOURCE_SYSTEM_RAM and IORESOUCE_BUSY |
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 |