Function report |
Source Code:lib\livepatch\test_klp_shadow_vars.c |
Create Date:2022-07-28 06:38:14 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:shadow_get_or_alloc
Proto:static void *shadow_get_or_alloc(void *obj, unsigned long id, size_t size, gfp_t gfp_flags, klp_shadow_ctor_t ctor, void *ctor_data)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
void * | obj | |
unsigned long | id | |
size_t | size | |
gfp_t | gfp_flags | |
klp_shadow_ctor_t | ctor | |
void * | ctor_data |
89 | pr_info("klp_%s(obj=PTR%d, id=0x%lx, size=%zx, gfp_flags=%pGg), ctor=PTR%d, ctor_data=PTR%d = PTR%d\n", __func__, ptr_id(obj), id, size, & gfp_flags, ptr_id(ctor), ptr_id(ctor_data), ptr_id(ret)) |
92 | Return ret |
Name | Describe |
---|---|
test_klp_shadow_vars_init |
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 |