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:s_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).

Proto:bool is_module_address(unsigned long addr)

Type:bool

Parameter:

TypeParameterName
unsigned longaddr
4453  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
4454  ret = __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. != NULL
4455  preempt_enable()
4457  Return ret