Function report |
Source Code:kernel\resource.c |
Create Date:2022-07-28 09:04:55 |
Last Modify:2022-05-22 11:14:39 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_resource
Proto:static struct resource *alloc_resource(gfp_t flags)
Type:struct resource
Parameter:
Type | Parameter | Name |
---|---|---|
gfp_t | flags |
169 | spin_lock( & bootmem_resource_lock) |
174 | spin_unlock( & bootmem_resource_lock) |
178 | Else res = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
181 | Return res |
Name | Describe |
---|---|
__reserve_region_with_split | |
__request_region | __request_region - create a new busy resource region*@parent: parent resource descriptor*@start: resource start address*@n: resource region size*@name: reserving caller's ID string*@flags: IO resource flags |
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 |