Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_opcode_in_insntable

Proto:bool bpf_opcode_in_insntable(u8 code)

Type:bool

Parameter:

TypeParameterName
u8code
1329  static const bool public_insntable[256] = {[0...255] = TSC's on different sockets may be reset asynchronously.* This may cause the TSC ADJUST value on socket 0 to be NOT 0., All UAPI available opcodes. (BPF_INSN_2_TBL, BPF_INSN_3_TBL), [BPF_LD | BPF_ABS | 8-bit ] = true, [BPF_LD | BPF_ABS | 16-bit ] = true, [BPF_LD | BPF_ABS | 32-bit ] = true, [BPF_LD | BPF_IND | 8-bit ] = true, [BPF_LD | BPF_IND | 16-bit ] = true, [BPF_LD | BPF_IND | 32-bit ] = true, }
1343  Return public_insntable[code]
Caller
NameDescribe
replace_map_fd_with_map_ptrlook for pseudo eBPF instructions that access map FDs and* replace them with actual map pointers