Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\unwind_orc.c Create Date:2022-07-28 08:50:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__orc_find

Proto:static struct orc_entry *__orc_find(int *ip_table, struct orc_entry *u_table, unsigned int num_entries, unsigned long ip)

Type:struct orc_entry

Parameter:

TypeParameterName
int *ip_table
struct orc_entry *u_table
unsigned intnum_entries
unsigned longip
33  first = ip_table
34  last = ip_table + num_entries - 1
35  mid = first , found = first
37  If Not num_entries Then Return NULL
46  When first <= last cycle
47  mid = first + (last - first) / 2
49  If orc_ip(mid) <= ip Then
50  found = mid
51  first = mid + 1
52  Else last = mid - 1
56  Return u_table + found - ip_table
Caller
NameDescribe
orc_module_find
orc_find
unwind_init