Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Returns true if @a == tnum_const(@b)

Proto:static inline bool tnum_equals_const(struct tnum a, u64 b)

Type:bool

Parameter:

TypeParameterName
struct tnuma
u64b
62  Return Returns true if @a is a known constant && value == b
Caller
NameDescribe
reg_is_init_pkt_pointerUnmodified PTR_TO_PACKET[_META,_END] register from ctx access.
register_is_nullDoes this register contain a constant zero?
is_branch_takenmpute branch direction of the expression "if (reg opcode val) goto target;"* and return:* 1 - branch will be taken and "goto target" will be executed* 0 - branch will not be taken and fall-through to next insn* -1 - unknown
mark_ptr_or_null_reg