Function report |
Source Code:kernel\bpf\syscall.c |
Create Date:2022-07-28 12:53:25 |
Last Modify:2022-05-19 18:06:12 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bpf_prog_get_ok
Proto:bool bpf_prog_get_ok(struct bpf_prog *prog, enum bpf_prog_type *attach_type, bool attach_drv)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct bpf_prog * | prog | |
enum bpf_prog_type * | attach_type | |
bool | attach_drv |
1569 | If Not attach_type Then Return true |
1572 | If Type of BPF program != attach_type Then Return false |
1574 | If bpf_prog_is_dev_bound( Auxiliary fields ) && Not attach_drv Then Return false |
1577 | Return true |
Name | Describe |
---|---|
__bpf_prog_get | |
__get_prog_inode |
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 |