函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\core.c Create Date:2022-07-27 14:02:03
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:bpf_prog_array_compatible

函数原型:bool bpf_prog_array_compatible(struct bpf_array *array, const struct bpf_prog *fp)

返回类型:bool

参数:

类型参数名称
struct bpf_array *array
const struct bpf_prog *fp
1725  如果 Do we override a kprobe? 则返回:false
1728  如果非type
1732  'Ownership' of prog array is claimed by the first program that * is going to use this map or by the first program which FD is * stored in the map to make sure that all callers and callees have * the same prog type and JITed flag.等于 Type of BPF program
1733  jited等于 Is our filter JIT'ed?
1734  返回:true
1737  返回: 'Ownership' of prog array is claimed by the first program that * is going to use this map or by the first program which FD is * stored in the map to make sure that all callers and callees have * the same prog type and JITed flag.恒等于 Type of BPF program jited恒等于 Is our filter JIT'ed?
调用者
名称描述
bpf_check_tail_call
prog_fd_array_get_ptr