函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static int cmp_ex_sort(const void *a, const void *b)

返回类型:int

参数:

类型参数名称
const void *a
const void *b
54  x等于a, y等于b
57  如果ex_to_insn(x)大于ex_to_insn(y)则返回:1
59  如果ex_to_insn(x)小于ex_to_insn(y)则返回:负1
61  返回:0