Function report |
Source Code:kernel\bpf\verifier.c |
Create Date:2022-07-28 12:56:09 |
Last Modify:2022-05-19 20:02:10 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:alloc_reference_state()
Proto:static int realloc_reference_state(struct bpf_func_state *state, int size, bool copy_old)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_func_state * | state | |
int | size | |
bool | copy_old |
649 | If copy_old Then Return 0 |
649 | Return 0 |
649 | new_refs = kmalloc_array - allocate memory for an array.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
649 | If copy_old Then |
649 | If refs Then gcc 内建函数 需要声明 |
649 | Return 0 |
Name | Describe |
---|---|
realloc_func_state | do_check() starts with zero-sized stack in struct bpf_verifier_state to* make it consume minimal amount of memory |
acquire_reference_state | Acquire a pointer id from the env and update the state->refs to include* this new pointer reference.* On success, returns a valid pointer id to associate with the register* On failure, returns a negative errno. |
transfer_reference_state |
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 |