函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Given an address, look for it in the module exception tables.

函数原型:const struct exception_table_entry *search_module_extables(unsigned long addr)

返回类型:struct exception_table_entry

参数:

类型参数名称
unsigned longaddr
4418  const struct exception_table_entry * e = NULL
4421  禁止抢占()
4422  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.
4423  如果非mod则转到:out
4426  如果非 Exception table 则转到:out
4429  e等于Search one exception table for an entry corresponding to the* given instruction address, and return the address of the entry,* or NULL if none is found.* We use a binary search, and thus we assume that the table is* already sorted.
4432  out :
4433  禁用抢占和中断()
4439  返回:e
调用者
名称描述
search_exception_tablesGiven an address, look for it in the exception tables.