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:23
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_queue

Proto:bool arch_jump_label_transform_queue(struct jump_entry *entry, enum jump_label_type type)

Type:bool

Parameter:

TypeParameterName
struct jump_entry *entry
enum jump_label_typetype
113  If Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE. == SYSTEM_BOOTING Then
117  arch_jump_label_transform(entry, type)
118  Return true
125  If tp_vec_nr == TP_VEC_MAX Then Return false
128  tp = tp_vec[tp_vec_nr]
130  entry_code = jump_entry_code(entry)
140  If tp_vec_nr > 0 Then
141  prev = tp_vec_nr - 1
142  prev_tp = tp_vec[prev]
144  If WARN_ON_ONCE(addr > entry_code) Then Return false
148  __jump_label_set_jump_code(entry, type, (unionjump_code_union * ) & text, 0)
151  text_poke_loc_init(tp, entry_code, NULL, JUMP_LABEL_NOP_SIZE, NULL)
153  tp_vec_nr++
155  Return true