Function report |
Source Code:mm\mempool.c |
Create Date:2022-07-28 14:04:31 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:add_element
Proto:static __always_inline void add_element(mempool_t *pool, void *element)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
mempool_t * | pool | |
void * | element |
125 | poison_element(pool, element) |
126 | kasan_poison_element(pool, element) |
127 | elements[ Current nr of elements at *elements ++] = element |
Name | Describe |
---|---|
mempool_init_node | |
mempool_resize | mempool_resize - resize an existing memory pool*@pool: pointer to the memory pool which was allocated via* mempool_create().*@new_min_nr: the new minimum number of elements guaranteed to be* allocated for this pool.* This function shrinks/grows the pool |
mempool_free | mempool_free - return an element to the pool.*@element: pool element pointer.*@pool: pointer to the memory pool which was allocated via* mempool_create().* this function only sleeps if the free_fn() function sleeps. |
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 |