Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_prog_select_func

Proto:static void bpf_prog_select_func(struct bpf_prog *fp)

Type:void

Parameter:

TypeParameterName
struct bpf_prog *fp
1764  stack_depth = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u32, stack_depth, 1)
1766  bpf_func = interpreters[(und_up - round up to next specified power of 2*@x: the value to round*@y: multiple to round up to (must be a power of 2)* Rounds @x up to next multiple of @y (which must be a power of 2).* To perform arbitrary rounding up, use roundup() below.(stack_depth, 32) / 32) - 1]
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.