Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\core.c Create Date:2022-07-28 12:49:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_check_tail_call

Proto:static int bpf_check_tail_call(const struct bpf_prog *fp)

Type:int

Parameter:

TypeParameterName
const struct bpf_prog *fp
1743  aux = Auxiliary fields
1746  When i < used_map_cnt cycle
1747  map = used_maps[i]
1750  If map_type != BPF_MAP_TYPE_PROG_ARRAY Then Continue
1753  array = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(map, structbpf_array, map)
1754  If Not bpf_prog_array_compatible(array, fp) Then Return -EINVAL
1758  Return 0
Caller
NameDescribe
bpf_prog_select_runtimepf_prog_select_runtime - select exec runtime for BPF program*@fp: bpf_prog populated with internal BPF program*@err: pointer to error variable* Try to JIT eBPF program, if JIT is not available, use interpreter.