Function report |
Source Code:kernel\livepatch\core.c |
Create Date:2022-07-28 10:30:26 |
| 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_func_nop
Proto:static struct klp_func *klp_alloc_func_nop(struct klp_func *old_func, struct klp_object *obj)
Type:struct klp_func
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct klp_func * | old_func | |
| struct klp_object * | obj |
| 459 | func = 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). |
| 460 | If Not func Then Return NULL |
| 463 | If xternal Then |
| 471 | klp_init_func_early(obj, func) |
| 477 | nop = true |
| 479 | Return func |
| 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 |