Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\filter.h Create Date:2022-07-28 06:07:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_prog_tag_scratch_size

Proto:static inline u32 bpf_prog_tag_scratch_size(const struct bpf_prog *prog)

Type:u32

Parameter:

TypeParameterName
const struct bpf_prog *prog
721  Return 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.(bpf_prog_insn_size(prog) + sizeof(__be64) + 1, s)
Caller
NameDescribe
bpf_prog_calc_tag