Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:struct module *__module_address(unsigned long addr)

Type:struct module

Parameter:

TypeParameterName
unsigned longaddr
4471  If addr < module_addr_min || addr > module_addr_max Then Return NULL
4474  module_assert_mutex_or_preempt()
4476  mod = mod_find(addr)
4477  If mod Then
4478  BUG_ON(!within_module(addr, mod))
4479  If state == Still setting it up. Then mod = NULL
4482  Return mod
Caller
NameDescribe
search_module_extablesGiven an address, look for it in the module exception tables.
is_module_addresss_module_address - is this address inside a module?*@addr: the address to check.* See is_module_text_address() if you simply want to see if the address* is code (not data).
__module_text_address__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.
bpf_put_raw_tracepoint
jump_label_add_module
jump_label_update