Function report |
Source Code:kernel\bpf\offload.c |
Create Date:2022-07-28 13:25:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_offload_dev_create
Proto:struct bpf_offload_dev *bpf_offload_dev_create(const struct bpf_prog_offload_ops *ops, void *priv)
Type:struct bpf_offload_dev
Parameter:
Type | Parameter | Name |
---|---|---|
const struct bpf_prog_offload_ops * | ops | |
void * | priv |
678 | lock for writing |
679 | If Not offdevs_inited Then |
681 | If err Then |
685 | offdevs_inited = true |
689 | offdev = 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). |
697 | Return offdev |
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 |