Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_patch_call_args

Proto:void bpf_patch_call_args(struct bpf_insn *insn, u32 stack_depth)

Type:void

Parameter:

TypeParameterName
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
Caller
NameDescribe
fixup_call_args