Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:arch_jump_label_transform_static

Proto:__init_or_module void arch_jump_label_transform_static(struct jump_entry *entry, enum jump_label_type type)

Type:void

Parameter:

TypeParameterName
struct jump_entry *entry
enum jump_label_typetype
186  If jlstate == JL_STATE_START Then
187  const unsigned char default_nop[] = {STATIC_KEY_INIT_NOP}
188  ideal_nop = ideal_nops[Entry for the 5-byte atomic NOP ]
190  If memcmp(ideal_nop, default_nop, 5) != 0 Then jlstate = JL_STATE_UPDATE
192  Else jlstate = JL_STATE_NO_UPDATE
195  If jlstate == JL_STATE_UPDATE Then __jump_label_transform(entry, type, 1)