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_size

Proto:static inline unsigned int bpf_prog_size(unsigned int proglen)

Type:unsigned int

Parameter:

TypeParameterName
unsigned intproglen
727  Return max - return maximum of two values of the same or compatible types*@x: first value*@y: second value(sizeof(structbpf_prog), offsetof(structbpf_prog, insns[proglen]))
Caller
NameDescribe
generate_filter
bpf_patch_insn_single
bpf_prog_load
jit_subprogs