函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_prog_select_func

函数原型:static void bpf_prog_select_func(struct bpf_prog *fp)

返回类型:void

参数:

类型参数名称
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]
调用者
名称描述
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.