函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\jump_label.c Create Date:2022-07-27 08:41:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:arch_jump_label_transform_queue

函数原型:bool arch_jump_label_transform_queue(struct jump_entry *entry, enum jump_label_type type)

返回类型:bool

参数:

类型参数名称
struct jump_entry *entry
enum jump_label_typetype
113  如果Values used for system_state. Ordering of the states must not be changed* as code checks for <, <=, >, >= STATE.恒等于SYSTEM_BOOTING
117  arch_jump_label_transform(entry, type)
118  返回:true
125  如果tp_vec_nr恒等于TP_VEC_MAX则返回:false
128  tp等于tp_vec[tp_vec_nr]
130  entry_code等于jump_entry_code(entry)
140  如果tp_vec_nr大于0则
141  prev等于tp_vec_nr减1
142  prev_tp等于tp_vec[prev]
144  如果WARN_ON_ONCE(addr > entry_code)则返回: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  返回:true