函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_patch_call_args

函数原型:void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth)

返回类型:void

参数:

类型参数名称
struct bpf_insn *insn
u32stack_depth
1703  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)
1704  signed offset 等于 signed immediate constant
1705  signed immediate constant 等于interpreters_args[(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_call_base_args
1707  opcode 等于BPF_JMP按位或unused opcode to mark call to interpreter with arguments
调用者
名称描述
fixup_call_args