Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\verifier.c Create Date:2022-07-28 12:56:45
Last Modify:2022-05-19 20:02:10 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:find_subprog

Proto:static int find_subprog(struct bpf_verifier_env *env, int off)

Type:int

Parameter:

TypeParameterName
struct bpf_verifier_env *env
intoff
1158  p = search - binary search an array of elements*@key: pointer to item being searched for*@base: pointer to first element to search*@num: number of elements*@size: size of each element*@cmp: pointer to comparison function
1160  If Not p Then Return -ENOENT
1162  Return p - subprog_info
Caller
NameDescribe
add_subprog
check_max_stack_depthstarting from main bpf function walk all instructions of the function* and recursively walk all callees that given function can call
get_callee_stack_depth
check_func_call
jit_subprogs