Function report |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-28 10:30:25 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:klp_alloc_object_dynamic
Proto:static struct klp_object *klp_alloc_object_dynamic(const char *name, struct klp_patch *patch)
Type:struct klp_object
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | name | |
| struct klp_patch * | patch |
| 430 | obj = 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). |
| 431 | If Not obj Then Return NULL |
| 434 | If name Then |
| 442 | klp_init_object_early(patch, obj) |
| 443 | dynamic = true |
| 445 | Return obj |
| Name | Describe |
|---|---|
| klp_add_object_nops |
| 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 |