Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\module.c Create Date:2022-07-28 10:59:36
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__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.

Proto:struct module *__module_text_address(unsigned long addr)

Type:struct module

Parameter:

TypeParameterName
unsigned longaddr
4514  mod = __module_address - get the module which 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.
4515  If mod Then
4517  If Not within(addr, The actual code + data. , The size of the executable code. ) && Not within(addr, The actual code + data. , The size of the executable code. ) Then mod = NULL
4521  Return mod
Caller
NameDescribe
is_module_text_addresss_module_text_address - is this address inside module code?*@addr: the address to check.* See is_module_address() if you simply want to see if the address is* anywhere in a module. See kernel_text_address() for testing if an
check_kprobe_address_safe
__jump_label_mod_text_reserved