Function report |
Source Code:lib\genalloc.c |
Create Date:2022-07-28 06:57:06 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:devm_gen_pool_create - managed gen_pool_create*@dev: device that provides the gen_pool*@min_alloc_order: log base 2 of number of bytes each bitmap bit represents*@nid: node selector for allocated gen_pool, %NUMA_NO_NODE for all nodes*@name: name of a
Proto:struct gen_pool *devm_gen_pool_create(struct device *dev, int min_alloc_order, int nid, const char *name)
Type:struct gen_pool
Parameter:
Type | Parameter | Name |
---|---|---|
struct device * | dev | |
int | min_alloc_order | |
int | nid | |
const char * | name |
826 | const char * pool_name = NULL |
832 | If name Then |
838 | ptr = devres_alloc(devm_gen_pool_release, size of ptr , GFP_KERNEL) |
839 | If Not ptr Then Go to free_pool_name |
843 | If Not pool Then Go to free_devres |
848 | devres_add(dev, ptr) |
850 | Return pool |
852 | free_devres : |
853 | devres_free(ptr) |
854 | free_pool_name : |
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 |