Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:The exception table needs to be sorted so that the binary* search that we use to find entries in it works properly.* This is used both for the kernel exception table and for* the exception tables of modules that get loaded.

Proto:static int cmp_ex_sort(const void *a, const void *b)

Type:int

Parameter:

TypeParameterName
const void *a
const void *b
54  x = a , y = b
57  If ex_to_insn(x) > ex_to_insn(y) Then Return 1
59  If ex_to_insn(x) < ex_to_insn(y) Then Return -1
61  Return 0