函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\jump_label.c Create Date:2022-07-27 15:10:38
Last Modify:2020-03-17 20:59:06 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__jump_label_mod_text_reserved

函数原型:static int __jump_label_mod_text_reserved(void *start, void *end)

返回类型:int

参数:

类型参数名称
void *start
void *end
543  禁止抢占()
544  mod等于__module_text_address - get the module whose code contains an address.*@addr: the address.* Must be called with preempt disabled or module mutex held so that* module doesn't get freed during this.
545  WARN_ON_ONCE(__module_text_address - get the module whose code contains an address.*@addr: the address.* Must be called with preempt disabled or module mutex held so that* module doesn't get freed during this. != mod)
546  禁用抢占和中断()
548  如果非mod则返回:0
552  返回:__jump_label_text_reserved(jump_entries, jump_entries + num_jump_entries, start, end)
调用者
名称描述
jump_label_text_reservedjump_label_text_reserved - check if addr range is reserved*@start: start text addr*@end: end text addr* checks if the text addr located between @start and @end* overlaps with any of the jump label patch addresses