Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\extable.c Create Date:2022-07-28 06:13:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

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

Proto:const struct exception_table_entry *search_extable(const struct exception_table_entry *base, const size_t num, unsigned long value)

Type:struct exception_table_entry

Parameter:

TypeParameterName
const struct exception_table_entry *base
const size_tnum
unsigned longvalue
120  Return bsearch( & value, base, num, sizeof(structexception_table_entry), cmp_ex_search)
Caller
NameDescribe
search_module_extablesGiven an address, look for it in the module exception tables.